From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sJ3TFdS2WmeRtAAAqHPOHw:P1 (envelope-from ) for ; Thu, 12 Dec 2024 10:11:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sJ3TFdS2WmeRtAAAqHPOHw (envelope-from ) for ; Thu, 12 Dec 2024 11:11:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=IVaqw3s7; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b="O/evk9c/"; 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), DKIM not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733998292; 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-to: 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=Lxx5f11k2ec7e4/DW/xF2Di4nie0b8mXdkD75neSd+s=; b=CDh2oBIh/lttWL/CEpUR/QSrTiC6BpoEqv9nV8KGVDBjUi3ihF3pU0820C2Nw8hsEUgO9m G3KGFSQT93zXZV6oXLUjwC8XXc1p/RXPILOg9CkBZ7rFIK4E3iniqdg66e7bcPy7kihD8S ETvugvxntA8AadJmZ1wKjT8on3248ByjAow1qoRo1CUy5RfWRKXQdtk3Ag6pmVOMzNumEY SBBpP/6CP3tXlIDOWVUQK3EmxVt37fi/9k/fyA8AUx33u1FwvhzOaMlJ49dZ/P57IBk2td t5pvm0D/W3sPr7ksUfICq1Pb8RJHIMW02pHrK0I+5OQPsSx33UCHKsNbCSuHhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=IVaqw3s7; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b="O/evk9c/"; 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), DKIM not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733998292; a=rsa-sha256; cv=none; b=YMM7cJfJ/zLsTZpmjdqoPvtt7t4jzonxVEsPaFwbyMmb8ce/7sPJY1KVindiEOQwkxOq3r tW7Z11hhT9P1wOJDCBp66n4aQFsdyOJ2YuNL7b+fhxYLWDD6awPkhr045fy+FAXulPjB6A 9pDxeptCIJHgGPf8jpH9Td1hWEOpXbUs93hNqaWc3t4ax3/MP/kQC41n3ydB/mOEfs2hAs ybXREpvGLVbHcoDMCAbGIQz6LWgjGB1tIZMiAzig67DOnxCguBfGquHwO1FeQk3UwtkxTd QRqKZdcdGZSPtUeiMahJemthXRP4RzXqSPqk85jD4/HQINUmlsj6SkBOCYVMpA== 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 C47217982B for ; Thu, 12 Dec 2024 11:11:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLg9x-0002B8-JH; Thu, 12 Dec 2024 05:11:05 -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 1tLg9v-0002AW-Lb for guix-patches@gnu.org; Thu, 12 Dec 2024 05:11:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLg9v-0001dm-Cx for guix-patches@gnu.org; Thu, 12 Dec 2024 05:11:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Lxx5f11k2ec7e4/DW/xF2Di4nie0b8mXdkD75neSd+s=; b=IVaqw3s7duhl7yvMNEzyA9Tb5T0GRW6LWMSe7xIrxnf0oDuE7fm4zys6mtsJq7W2IkXfbWwGxZh5MkyAqpO/okXFH8e6RmPEFmjDKiwd6UFwcriEa62qvgfrEo9piZTEpQzdGqdATnOfzFULNrgqMKdzNlC7tICHJ3H6r1NkFp0g6OfAJsvKTk+D0CHV8/fMzRh24kDXwjC6CZ3Ec1g+1vyalqkiTJe5N4xG+PRQm7fyL9ZAEjNh/kaKk+Jly6W1BjtyI6NrS+DevYZrp7XbEgsu6+D4X7uUUxY7W7JnXqPWvUCkGwSkqJlZ0RLlRmtPjlYwy+uAFyxjXb7UbYYcxA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLg9u-00065V-4r for guix-patches@gnu.org; Thu, 12 Dec 2024 05:11:02 -0500 Subject: bug#74791: [PATCH] transformations: Add tuning wrapper for gfortran. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 12 Dec 2024 10:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74791 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Romain GARBAGE Cc: 74791-done@debbugs.gnu.org Mail-Followup-To: 74791@debbugs.gnu.org, ludovic.courtes@inria.fr, romain.garbage@inria.fr Received: via spool by 74791-done@debbugs.gnu.org id=D74791.173399821123239 (code D ref 74791); Thu, 12 Dec 2024 10:11:01 +0000 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=; 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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=A9volution, ?= 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-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 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 2.51 X-Spam-Score: 2.51 X-Migadu-Queue-Id: C47217982B X-TUID: bzIVolVLLACG 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.