guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#69468] [PATCH] gnu: petsc: Build optimized libraries


From: Lars Bilke
Subject: [bug#69468] [PATCH] gnu: petsc: Build optimized libraries
Date: Thu, 29 Feb 2024 13:45:58 +0100

PETSc defaults to --with-debugging=1. Build optimized libs instead.

Change-Id: Iec92a5bf50a004880aeb1ec49d2a2beb154ef222
---
 gnu/packages/maths.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1f61ee0583..62ce390392 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3432,7 +3432,8 @@ (define-public petsc
               "--with-openblas=1"
               (string-append "--with-openblas-dir="
                              #$(this-package-input "openblas"))
-              "--with-superlu=1")
+              "--with-superlu=1"
+              "--with-debugging=0")
       #:make-flags
       ;; Honor (parallel-job-count) for build.  Do not use --with-make-np,
       ;; whose value is dumped to $out/lib/petsc/conf/petscvariables.

base-commit: 75bad75367fcf2c289fae3b40dbcc850f92177be
-- 
2.43.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]