From patchwork Mon Mar 31 10:44:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Cirrottola X-Patchwork-Id: 41082 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C00B627BBE9; Mon, 31 Mar 2025 11:45:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 34B4E27BBE2 for ; Mon, 31 Mar 2025 11:45:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzCdf-0008No-3Y; Mon, 31 Mar 2025 06:45:07 -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 1tzCda-0008NF-P9 for guix-patches@gnu.org; Mon, 31 Mar 2025 06:45:03 -0400 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 1tzCda-0000jY-CI for guix-patches@gnu.org; Mon, 31 Mar 2025 06:45:02 -0400 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:From:To:In-Reply-To:References:Subject; bh=/LuCZILV295kOR5U592kNIn25p05kJ+Kd9FQ8UN7mHI=; b=spAGUh+uHHDbDV5CJBNksN6vzFZrJg8Z7pQMneve2EXNWgB4vlzqJhSTHdAu+lQS/Kts3AHx56SBbvzgv8lJzdV0Ca2XbRWjDjy6hE/LMy0ZHNqvPKuF/dgO/3DzHF+5ZiRXPAr1eULmY8rAscKJ+Y5Bzdw0KHb5tVhSBv3nvheDJ/gD9mHgyWBDoy8moH4ICPrkbhnnclBpiwN6WOP4q2Io5p3RdN8dwhiBQ+A5+rQywjCNqEELJhDDV5dpb70kseBjdlYaG1u9Pr2Kq1oVHXJONn+jwFa6D1UVSYHiSA/lAWjdXkkCCyNjqMDEm6jainMHTsl2Q0eR1YqUxm8+Nw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzCda-0002J6-8a for guix-patches@gnu.org; Mon, 31 Mar 2025 06:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77404] [PATCH 1/1] Activate higher compiler optimization for PETSc. References: <20250331104217.825384-1-luca.cirrottola@inria.fr> In-Reply-To: <20250331104217.825384-1-luca.cirrottola@inria.fr> Resent-From: Luca Cirrottola Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 10:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77404 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77404@debbugs.gnu.org Cc: Luca Cirrottola Received: via spool by 77404-submit@debbugs.gnu.org id=B77404.17434178968823 (code B ref 77404); Mon, 31 Mar 2025 10:45:02 +0000 Received: (at 77404) by debbugs.gnu.org; 31 Mar 2025 10:44:56 +0000 Received: from localhost ([127.0.0.1]:40012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzCdT-0002IA-Oq for submit@debbugs.gnu.org; Mon, 31 Mar 2025 06:44:56 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:5754) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tzCdR-0002HT-4q for 77404@debbugs.gnu.org; Mon, 31 Mar 2025 06:44:53 -0400 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=/LuCZILV295kOR5U592kNIn25p05kJ+Kd9FQ8UN7mHI=; b=TxLmuBev+zM2gEqzUD2eCPckyG86cK9z/CsByy5LOTMg7EbE6fd5KXQP HHZXNPMl2Rpn/siq+CVHpFl01+n08m29ijCuYKXnF9VkYuBKRo3RPEcPy OpIbf9ZELuZHkkBOMlNyDwtFaxidjNJObwWL2IfzhRhvB0hZ0MaInjCI9 0=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=luca.cirrottola@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.14,290,1736809200"; d="scan'208";a="113027891" Received: from 14.114.133.77.rev.sfr.net (HELO canard..) ([77.133.114.14]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2025 12:44:45 +0200 From: Luca Cirrottola Date: Mon, 31 Mar 2025 12:44:35 +0200 Message-Id: <20250331104435.866960-1-luca.cirrottola@inria.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/maths.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 74c486b38a..fd0c940507 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -3658,7 +3658,10 @@ (define-public petsc #:test-target "test" #:parallel-build? #f ; build is parallel by default #:configure-flags - #~(list "--with-mpi=0" + #~(list "COPTFLAGS=-g -O3" + "CXXOPTFLAGS=-g -O3" + "FOPTFLAGS=-g -O3" + "--with-mpi=0" "--with-openmp=1" "--with-openblas=1" (string-append "--with-openblas-dir="