From unknown Sat Aug 16 15:57:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#74791 <74791@debbugs.gnu.org> To: bug#74791 <74791@debbugs.gnu.org> Subject: Status: [PATCH] transformations: Add tuning wrapper for gfortran. Reply-To: bug#74791 <74791@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:57:01 +0000 retitle 74791 [PATCH] transformations: Add tuning wrapper for gfortran. reassign 74791 guix-patches submitter 74791 Romain GARBAGE severity 74791 normal tag 74791 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 11 11:09:03 2024 Received: (at submit) by debbugs.gnu.org; 11 Dec 2024 16:09:04 +0000 Received: from localhost ([127.0.0.1]:35835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLPGp-0001VW-Jk for submit@debbugs.gnu.org; Wed, 11 Dec 2024 11:09:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:47102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLPGo-0001Ug-BE for submit@debbugs.gnu.org; Wed, 11 Dec 2024 11:09:03 -0500 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 1tLPGc-0003fk-Qu for guix-patches@gnu.org; Wed, 11 Dec 2024 11:08:50 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLPGZ-0005dS-Ql for guix-patches@gnu.org; Wed, 11 Dec 2024 11:08:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=y7ebKQv1NAncBacXvG4sqTencl2JStjA80DnIucMflc=; b=ScKvYQ/eQDaY1hKa1NUEM0H3JdE0Ok14HmeiXaOitYlp08LyRoBrNpqb drmlefIYP5H4EygsXH9d+bU1e+0WPJ9UPIVJWR9gVIlWEolSNPBEv9PEH 3Or+XRWd1zukyscNREJSe/2B06Kx9DSLtkHyTE7xt8RTLcnOkS6LAuf+V k=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.12,226,1728943200"; d="scan'208";a="198657797" Received: from 91-160-179-8.subs.proxad.net (HELO localhost.localdomain) ([91.160.179.8]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2024 17:08:42 +0100 From: Romain GARBAGE To: guix-patches@gnu.org Subject: [PATCH] transformations: Add tuning wrapper for gfortran. Date: Wed, 11 Dec 2024 17:06:17 +0100 Message-ID: <20241211160833.16079-1-romain.garbage@inria.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=192.134.164.83; envelope-from=romain.garbage@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: ludovic.courtes@inria.fr, Romain GARBAGE X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) guix/transformations.scm (tuning-compiler): Add gfortran to the list of wrapped compilers. Change-Id: Ic7eaa07acbb5ea013af0d515686e961106a6bbbb --- guix/transformations.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/transformations.scm b/guix/transformations.scm index 3f7d20beaa..131b8564f8 100644 --- a/guix/transformations.scm +++ b/guix/transformations.scm @@ -531,7 +531,7 @@ (define bin (string-append #$output "/bin")) (symlink #$program (string-append bin "/" program))) '("cc" "gcc" "clang" "g++" "c++" "clang++" - "go" "rustc" "zig"))))))) + "gfortran" "go" "rustc" "zig"))))))) (define (build-system-with-tuning-compiler bs micro-architecture) "Return a variant of BS, a build system, that ensures that the compiler that base-commit: c2e2b0376b82a503e064fa826d1b153d94bf0b06 -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 12 05:10:11 2024 Received: (at 74791-done) by debbugs.gnu.org; 12 Dec 2024 10:10:11 +0000 Received: from localhost ([127.0.0.1]:37730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLg94-00062g-Vd for submit@debbugs.gnu.org; Thu, 12 Dec 2024 05:10:11 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:25827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLg91-0005wK-BY for 74791-done@debbugs.gnu.org; Thu, 12 Dec 2024 05:10:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=Lxx5f11k2ec7e4/DW/xF2Di4nie0b8mXdkD75neSd+s=; b=O/evk9c/U8MgniHAjkro+1mzOqYx1y9yDidQDO/ygFkF7KeMq0b7gs/D pO6BCnvwiyWImwyIfRnmZoEiDO326rFXENHmk5sIk/jQgR0/vsZs70Sn6 F4WZgtTP6yjA9hipH0rm/PywiV2tPZTW7HB/lxt3S2ZIGHhqTM5jcSyJT 4=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.12,228,1728943200"; d="scan'208";a="198782478" Received: from unknown (HELO ribbon) ([193.50.110.52]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2024 11:10:00 +0100 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Romain GARBAGE Subject: Re: [PATCH] transformations: Add tuning wrapper for gfortran. In-Reply-To: <20241211160833.16079-1-romain.garbage@inria.fr> (Romain GARBAGE's message of "Wed, 11 Dec 2024 17:06:17 +0100") References: <20241211160833.16079-1-romain.garbage@inria.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 22 Frimaire an 233 de la =?utf-8?Q?R=C3=A9volu?= =?utf-8?Q?tion=2C?= jour de la =?utf-8?Q?Bruy=C3=A8re?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 12 Dec 2024 11:09:59 +0100 Message-ID: <87cyhxfc08.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74791-done Cc: 74791-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello comrade, Romain GARBAGE skribis: > guix/transformations.scm (tuning-compiler): Add gfortran to the list > of wrapped compilers. > > Change-Id: Ic7eaa07acbb5ea013af0d515686e961106a6bbbb I added the =E2=80=98tunable?=E2=80=99 property to =E2=80=98lapack=E2=80=99= and confirmed that this works in a crude but reliable way: --8<---------------cut here---------------start------------->8--- $ pgrep -fa fortran |grep -e -march 26008 /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/bin/gfort= ran -Dblas_EXPORTS -O2 -g -DNDEBUG -fPIC -c /tmp/guix-build-lapack-3.9.0.dr= v-0/lapack-3.9.0/BLAS/SRC/zher2.f -o CMakeFiles/blas.dir/zher2.f.o -march= =3Dskylake 26016 /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/bin/gfort= ran -Dblas_EXPORTS -O2 -g -DNDEBUG -fPIC -c /tmp/guix-build-lapack-3.9.0.dr= v-0/lapack-3.9.0/BLAS/SRC/zhpr2.f -o CMakeFiles/blas.dir/zhpr2.f.o -march= =3Dskylake 26019 /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/bin/gfort= ran -Dblas_EXPORTS -O2 -g -DNDEBUG -fPIC -c /tmp/guix-build-lapack-3.9.0.dr= v-0/lapack-3.9.0/BLAS/SRC/zgemm.f -o CMakeFiles/blas.dir/zgemm.f.o -march= =3Dskylake --8<---------------cut here---------------end--------------->8--- Thanks! Ludo=E2=80=99. From unknown Sat Aug 16 15:57:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 09 Jan 2025 12:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator