From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eI3PGygnoGEPfAEAgWs5BA (envelope-from ) for ; Fri, 26 Nov 2021 01:15:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QLOBFygnoGEfdQAA1q6Kng (envelope-from ) for ; Fri, 26 Nov 2021 00:15:36 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 072322CC55 for ; Fri, 26 Nov 2021 01:15:36 +0100 (CET) Received: from localhost ([::1]:51742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqOtq-0006uy-Kc for larch@yhetil.org; Thu, 25 Nov 2021 19:15:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqOtd-0006um-3j for guix-devel@gnu.org; Thu, 25 Nov 2021 19:15:21 -0500 Received: from [2a00:1450:4864:20::436] (port=45881 helo=mail-wr1-x436.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqOtR-00044U-91 for guix-devel@gnu.org; Thu, 25 Nov 2021 19:15:13 -0500 Received: by mail-wr1-x436.google.com with SMTP id o13so14857205wrs.12 for ; Thu, 25 Nov 2021 16:15:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=EiEVlr6P5KP5IHBwleq3QVmxHkb4YKuzIkKyJ1tFU2g=; b=EtleNkfjbKzt+Ja0zLDqPh/R9IbRNOHhwgGm303SnVK8LfqLNBT6gea735lX/eK/NG 2aAewlfb1QN5hG+jtKoOH7D9gHwmu74LkKNUO/wUKh2Q6OGz6TcHQUgQxfGPJIdiwzCR OjQqyNPiLrjLFTt9jAW2ajKrzV27t+5lBw3ZhOgKotywJ69T4Ww+Yfj5MBo2VVPwJF5J eZQkgEkCqyBFOOjgZvZQR82Q2aXztIOKUnAoDMZgggNyvmusgKRt6jFytedisUsMeB9B 7YvD6Pwl4AbBvBhN9cpNL4i9XzHjkPn/+S6HsXtDuYJ18q8wRseflmknICoz2/jTwFnu d1uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=EiEVlr6P5KP5IHBwleq3QVmxHkb4YKuzIkKyJ1tFU2g=; b=EV/B5KfwAFqC6LofkBuVCbNN0jCAARvFAqr5JgI9bnnGrHF1aGR7nw3C/z1/ds7juC XxAouCbkRxFXUCxLcKeF5FtcBAYRDhmmQAROh/q9ebiCfufInZwMFICL4SO8ylJ5hSUu QyVp9uxOH7ZmrrUB4qezskL42Rc4f8wFsZd935lCy3/WCujmakbE887VXy57dif7rQ+y O15QVEFt7Epzfh/mi596rUBPG9MMFWJdwg89uIpIr9/2X6Hxl9T+bmXCMK2hwzR+7k5x WzgMffqQpPdx/AW1l9HpYz+Ak8teQKewVsLdPO6Bn1zeEz5SA9Tlve1nn4o1exGqpM/y 5uaA== X-Gm-Message-State: AOAM531HMvTFfSrL70gn4MBRKf/MN+L5Al7lpVhNCfyUHkVwZmkm8pc/ rK9zvK3TFkUWa7tBggXJNtuuL2ZvFG4= X-Google-Smtp-Source: ABdhPJwCVaec1jOxrrIGF1kbnGDZKR2V/H3euVkBCCwekEIYJGe1/00iCqnSMo3iALOIAZlNMkkbWA== X-Received: by 2002:adf:e3c3:: with SMTP id k3mr10398144wrm.599.1637885707742; Thu, 25 Nov 2021 16:15:07 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id j40sm10718316wms.19.2021.11.25.16.15.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 16:15:07 -0800 (PST) From: zimoun To: Ricardo Wurmus , guix-devel@gnu.org Subject: Re: build system option to allow CPU optimizations? In-Reply-To: <87ilwhu4zi.fsf@elephly.net> References: <87ilwhu4zi.fsf@elephly.net> Date: Fri, 26 Nov 2021 01:07:02 +0100 Message-ID: <86o867u6e1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::436 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637885736; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EiEVlr6P5KP5IHBwleq3QVmxHkb4YKuzIkKyJ1tFU2g=; b=dOfRyWa8S8AX8n8YA3VdG8a+edpxakMfL+ROOVCY5/FaVQpumu/utivKSIu+wwiPqMP61U hIPL+WIcMNl6HjcR//yuAFbRlc1ccbYoFdrIh16cKWPm+u84/nK7Y+tlbyq17VBzrSJg95 dFiVzkVnmQdEvVwzIqwAqkSXO/YImUh2WUEhPaE/r/gNTgg/pvYVoWkJt3fkOKBG8THz6x lEbiM+8sZg+Z86otqon/7FLWFoAKg00gtJb+8KCSNBycozf0SJGUuEKkMhHXcNoO2VBtk2 Jp6XIf+kQos/a/8elD2PeUejC3od1lJDx9bLWjMv2nT0UEShRg4LsZJbWrhYNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637885736; a=rsa-sha256; cv=none; b=uR0Ua7m17eDXYQ3k7WrOlaKMBaX4vI9dNiENNLita2iK7yd5llVrMrvGXEhTXjxRUaauZf u2yppKF4PwCWtm1aFLt2eX3s/sQWpr0h6zRKvElLnrHgeUlxgz8Cl1yovY3wvP2lgU+XI4 k6kBaugY9h98g/FqsGaVEQYusw/oPiT9KW9qVnlRlDv4lnNzTJh9D7Lta+sjmftL3QLFyY dZIu1tUWRiH+wkEbXbjhzKfTfN+vIC/75W683Fl3/AK0CFHfoKJJtIykWuJ1m073l2hHm4 WbsWD/ENLlxQ1lZhCVxEZasykcGQLb79TBwwYHOf65v9WUY/ue+3ofypP4B0ag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=EtleNkfj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=EtleNkfj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 072322CC55 X-Spam-Score: -3.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: VXIicSGCyv4m Hi Ricardo, On Wed, 24 Nov 2021 at 13:10, Ricardo Wurmus wrote: > The build phases that patch out these features would have to check > for that build system option, much like they check the TESTS? > option before attempting to run tests. Then it could be a transformation. The idea sounds good to me. Cheers, simon