From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2CC3LMyODWSWdAEASxT56A (envelope-from ) for ; Sun, 12 Mar 2023 09:35:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gHRmLMyODWQITwAAauVa8A (envelope-from ) for ; Sun, 12 Mar 2023 09:35:24 +0100 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 91607A2C8 for ; Sun, 12 Mar 2023 09:35:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbHAX-00062H-Hm; Sun, 12 Mar 2023 04:35:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbHAV-000624-8m for guix-patches@gnu.org; Sun, 12 Mar 2023 04:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbHAU-0006B1-Ms for guix-patches@gnu.org; Sun, 12 Mar 2023 04:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbHAU-0003EB-Gm for guix-patches@gnu.org; Sun, 12 Mar 2023 04:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62105] [PATCH v2] gnu: zig: Build against a baseline CPU. References: In-Reply-To: Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Mar 2023 08:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62105 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62105@debbugs.gnu.org Cc: Ekaitz Zarraga Received: via spool by 62105-submit@debbugs.gnu.org id=B62105.167861007612371 (code B ref 62105); Sun, 12 Mar 2023 08:35:02 +0000 Received: (at 62105) by debbugs.gnu.org; 12 Mar 2023 08:34:36 +0000 Received: from localhost ([127.0.0.1]:59110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbHA4-0003DS-0T for submit@debbugs.gnu.org; Sun, 12 Mar 2023 04:34:36 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:35768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbHA3-0003DG-0h for 62105@debbugs.gnu.org; Sun, 12 Mar 2023 04:34:35 -0400 Received: by mail-ed1-f66.google.com with SMTP id y4so7673927edo.2 for <62105@debbugs.gnu.org>; Sun, 12 Mar 2023 00:34:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678610069; h=message-id:cc:to:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=agDpHcSD/bVHbV2owQ9geviPh1Tf1lRrhVcILJ4izAY=; b=N2zajFR7afTrLBbZXe6oFW6B4T/XblTqUzdEOQhNVaTBkDU2TT1cH8m+pwrgt02h1s AI9KDmWBjtNA3zQ+XsR/YsdCmO5rkGTrbL1R242b/HyGxFFVRh6ihsPZymzmKk8+QwOF qRba4EGtu1eWKNPYXknDNuQFmXDjFZcxtsx18YQWSJw1sVCJpbn8GTUFkHrlkc28iG/z +XBso6ssBiFk3C1V3dErBNYI2sw6At2jmrRiYxiAilesuBmRuGfn1Z2zl9/mKQGXb/tW ZdriCDt9zu+DZw/8rS7nPEijSm7u/OvuOEGH86y5Dmpry/kCqx+z/cpFaK63SBWQO+Mg lu8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678610069; h=message-id:cc:to:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=agDpHcSD/bVHbV2owQ9geviPh1Tf1lRrhVcILJ4izAY=; b=uWS7jPzpF0nY6xx7+SM0E79N5DtgJFsh7Ezi/rpOZmlgAMZTR3H5mdWNfrcd7vp2lt Rb3TsgttMakPf9PcTtQPLMYdKgSH3bKtg6km8+nmP0XRV6B0ba0SHmVY44lBBC4BFmU+ HN125xFuBT1pZhIREdtBFgeD9FN/VPe//vvpw6pQQXI0XUVrRSidGEhaE18N6e/ZJpfu zzNAYqC+caqV1wL7WJT1oXMbQhOFmi3dbpAMb2gN0psiwzAYtL2lXNeYp8onEopLBdrf TqzvZwdFFp3wWrYbTt9kaHfGy26NSgVjAN8+AY3jLZxeVJUVQ8RKQMbmHhlDky3bBT7I E4VQ== X-Gm-Message-State: AO0yUKXBZnGjRgIzPO9/zxpbVPZhilnhYu8qL6TQEN/dOUDm6Ihxtk4K 9vqhYx0qwdP9AEOTlYGcZOthRHz6kFDJ9w== X-Google-Smtp-Source: AK7set/w+3KA54ZOoAHh0WG189+lfnS/PLzL6mP8N2jayOR3iLhVm5+H0YH6QJQBT2EJL/KEO4K/UA== X-Received: by 2002:a17:907:6e87:b0:8b0:f59e:ab1b with SMTP id sh7-20020a1709076e8700b008b0f59eab1bmr34004829ejc.75.1678610068790; Sun, 12 Mar 2023 00:34:28 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id rn23-20020a170906d93700b008c801141d58sm1995708ejb.109.2023.03.12.00.34.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Mar 2023 00:34:28 -0800 (PST) From: Ekaitz Zarraga X-Google-Original-From: Ekaitz Zarraga Date: Fri, 10 Mar 2023 22:52:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=N2zajFR7; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678610124; a=rsa-sha256; cv=none; b=AOiraWYUT3FqCb1S5q2uanl/PAAR1HvoKRiCB1Jf2RRbSSlftlWWf70EjoqXM/npYg1+Ro qsN8GmTsHPeQ/z7nb7oQ0KGJUt43XRpNCAl9HqJBF/Zo6YvU59h6Z1d3UdbZeGYRyYX6Wp Z4XCA6sGBm9qAqlovNaawp5aRW1+OxBrRNDDgCVZxwjhcSBcyPBSSyldQLQQBWcD9NgvlA CsC1VSWQ2lWjVXyisxt08hYLrHS72wCsxyfDpEjTatPBxEYwQlpoZzuHhZccSUtxvVAIV0 M65TSC5H+yGXsNMd7yboWVgfIbijoeJ1I1z84lZ96TQmNg4Zgo4MTqQc9AAQ9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678610124; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=agDpHcSD/bVHbV2owQ9geviPh1Tf1lRrhVcILJ4izAY=; b=QgCIDh26LQDPJ8auZxN/iNMErt/Xz8C3IvsWzjKMhjmh1dv9koJZ6HbaVrboAKMR8tNZ0w 1H2NYqwIp3u20qeZ5CH3x1J29lHxqph9t0FNDGkh5cQt76wD0CJr2dlAcznkYwn5G7S5PV kVzduBgF6hDsDgPxFh5EWue03MtXWo8bFi2JKAiqkVkWTC+KOgu7hBs0P0khJg/HlmiCXB h3RtEeRwHcJdxPkZtZNxcTX9HZlH4nc+6TebH++b7mVbV7RU1fg8af2zUo8cOBSdGnqHD8 MKx+LHrCmP2GI886j+HZBLawhU7SVKOVMSUU0WnCnLTSj/P2W94fBwQIrLygYg== X-Migadu-Spam-Score: -1.11 X-Spam-Score: -1.11 X-Migadu-Queue-Id: 91607A2C8 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=N2zajFR7; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-TUID: YU8KdpikREoG * gnu/packages/zig.scm (zig-0.10)[#:configure-flags]: Add “-DZIG_TARGET_MCPU=baseline”. Signed-off-by: Liliana Marie Prikler --- Hi Ekaitz, Since this patch didn't cleanly apply with ‘git am’, I ran it through format-patch once again and also edited the commit message. If CI succeeds, I'll push it as-is on the 19th. Cheers, Liliana gnu/packages/zig.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm index 5414b5ba6e..2c89343cb1 100644 --- a/gnu/packages/zig.scm +++ b/gnu/packages/zig.scm @@ -56,6 +56,7 @@ (define-public zig-0.10 '(string-append "-DZIG_TARGET_TRIPLE=" (%current-target-system)) '()) + (string-append "-DZIG_TARGET_MCPU=baseline") (string-append "-DZIG_LIB_DIR=" (assoc-ref %outputs "out") "/lib/zig")) #:validate-runpath? #f ; TODO: zig binary can't find ld-linux. -- 2.39.1