unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69468] [PATCH] gnu: petsc: Build optimized libraries
@ 2024-02-29 12:45 Lars Bilke
  0 siblings, 0 replies; only message in thread
From: Lars Bilke @ 2024-02-29 12:45 UTC (permalink / raw)
  To: 69468; +Cc: Lars Bilke, Andreas Enge, Eric Bavier, Sharlatan Hellseher

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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-29 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-29 12:45 [bug#69468] [PATCH] gnu: petsc: Build optimized libraries Lars Bilke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).