[PATCH] gnu: petsc: Build optimized libraries

  • Open
  • quality assurance status badge
Details
One participant
  • Lars Bilke
Owner
unassigned
Submitted by
Lars Bilke
Severity
normal
L
L
Lars Bilke wrote on 29 Feb 13:45 +0100
(address . guix-patches@gnu.org)(name . Lars Bilke)(address . lars.bilke@ufz.de)
990230998525438b3ef836f23ce88c3d6f2da6cd.1709210758.git.lars.bilke@ufz.de
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(-)

Toggle diff (18 lines)
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
?