From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6FArDyKjDWQAwgAASxT56A (envelope-from ) for ; Sun, 12 Mar 2023 11:02:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IKDCDiKjDWR9SgEAauVa8A (envelope-from ) for ; Sun, 12 Mar 2023 11:02:10 +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 A2709DCA2 for ; Sun, 12 Mar 2023 11:02:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbIWj-00012D-KK; Sun, 12 Mar 2023 06:02: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 1pbIWg-00011y-Ti for guix-patches@gnu.org; Sun, 12 Mar 2023 06:02:02 -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 1pbIWg-0002F8-LI for guix-patches@gnu.org; Sun, 12 Mar 2023 06:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbIWg-00067I-B3 for guix-patches@gnu.org; Sun, 12 Mar 2023 06:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62105] [PATCH v2] gnu: zig: Build against a baseline CPU. Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Mar 2023 10:02: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: Ekaitz Zarraga Cc: 62105@debbugs.gnu.org Received: via spool by 62105-submit@debbugs.gnu.org id=B62105.167861530523476 (code B ref 62105); Sun, 12 Mar 2023 10:02:02 +0000 Received: (at 62105) by debbugs.gnu.org; 12 Mar 2023 10:01:45 +0000 Received: from localhost ([127.0.0.1]:59250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbIWO-00066Z-QP for submit@debbugs.gnu.org; Sun, 12 Mar 2023 06:01:45 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:15007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbIWK-000669-7x for 62105@debbugs.gnu.org; Sun, 12 Mar 2023 06:01:42 -0400 Date: Sun, 12 Mar 2023 10:01:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1678615293; x=1678874493; bh=HhMUWxnXiD9LbSZjTEO9R0pYIpyQFcQsnRFRS/18NAw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=BpWTmulK7ecGjKGmtlojUFqH+Q9Mc1Ovhw0F1h4QXF56Iwibr7odVtmzVFe1zFIfr naSCxmWdgs/SCW7wQvlhHVJHHyjyy9pIgiJ3Ngf5JanYCPRRqAMFWMQG7iSrxJtsgr AncAv5JwsYJAHdZAaB0x5wBUSJhWoEMZLCrP+1QxwkiQvwDBLdiywNUhrzpTfILJNH WPBQZn2mIcU1U3SGMu3ul2+DBUvZOl0r2XO2E0HloKKHIqqiEMYRqdTQSFzZGgJnOi qHSnf3nbTZspVAY5Kozkgt5hQf9vCohOkkm59Z45pQe0ybVKyIk+OcWHAfDq+UG75z /rDWhuHQfnvOA== From: Ekaitz Zarraga Message-ID: In-Reply-To: References: Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=elenq.tech header.s=protonmail header.b=BpWTmulK; 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=elenq.tech (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678615330; a=rsa-sha256; cv=none; b=p8Pb/RzuXhJU95am6qmVJRVvi4bZJ1xBZvqKlidbDYwRmWHMuRQn3d2YRtrgE79TOOsTlS i+UPrYfSpLHXZF2slN9RfbMvubl0FFwOclObUaMUhS6Hlb2/ynwuczVsjwhi4cDabCUOS1 Rv04SfkdrmBes6rkw4pjKySRI6WGlJjjBvHyzo1s2DL01NtDXsm4zj9nnJ57SCKZOw7sgL LBVGif2GNz9EPTwO4WJt1s4e5B9vHm7sS4mWeTf2BOwU+4QMv0L5z0IMIeyJ4tfIqNkjOZ 1TFR1HRT06wsS2xKKS8GSyu2Oex942exqUMHoMifSwtMe+LzX2Yn01c9IKJ8Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678615330; 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=HhMUWxnXiD9LbSZjTEO9R0pYIpyQFcQsnRFRS/18NAw=; b=kld/8yC9MFWMCwUNQJORuRi7kr7AuVcJQpZtwgeddQispfVR51zl/IvKaS8UY3DRPKhaaK jYGZGmJ2+ZbboTDVf4pfGuj9/sg8JbDFeHKh2ZifGzgFnRBQLnOnM8+uHYh44C1xb+cbja r1i2DtXKjxLZ+02ZtgwLoS+kZCojxFMFb2CA//16EE4pAriElN0B9j6x0jRCn0zDsqp0ow ACuybS2P6/lsLukxhBIZVXACwcplJiATN2ak9Ofr7BvvS+GGNE7OdKzxuccdJTa4GKI9VT rH0St9uGNKrubLEFHcfaQI8XishHwGMPV3uKfoimX6Ou3WLC6RXgKHauomPKaw== X-Migadu-Spam-Score: -2.11 X-Spam-Score: -2.11 X-Migadu-Queue-Id: A2709DCA2 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail header.b=BpWTmulK; 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=elenq.tech (policy=none) X-TUID: TZr9uYslaMth Thank you Liliana, and sorry for the inconvenience. ------- Original Message ------- On Friday, March 10th, 2023 at 9:52 PM, Ekaitz Zarraga wrote: > * gnu/packages/zig.scm (zig-0.10)[#:configure-flags]: Add > =E2=80=9C-DZIG_TARGET_MCPU=3Dbaseline=E2=80=9D. >=20 > Signed-off-by: Liliana Marie Prikler liliana.prikler@gmail.com >=20 > --- > Hi Ekaitz, >=20 > Since this patch didn't cleanly apply with =E2=80=98git am=E2=80=99, I ra= n it through > format-patch once again and also edited the commit message. > If CI succeeds, I'll push it as-is on the 19th. >=20 > Cheers, > Liliana >=20 > gnu/packages/zig.scm | 1 + > 1 file changed, 1 insertion(+) >=20 > 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=3D" > (%current-target-system)) > '()) > + (string-append "-DZIG_TARGET_MCPU=3Dbaseline") > (string-append "-DZIG_LIB_DIR=3D" (assoc-ref %outputs "out") > "/lib/zig")) > #:validate-runpath? #f ; TODO: zig binary can't find ld-linux. > -- > 2.39.1