diff options
author | Luca Cirrottola <luca.cirrottola@inria.fr> | 2025-03-31 12:44:35 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-03-31 12:59:04 +0200 |
commit | 3489c0995c983a3ccb6e2aca1637be9a9d641be4 (patch) | |
tree | fd3954a6e0080253dafae31225b6657976824812 | |
parent | 72b706f84ee6e6986a9c446d4cd494dc356926f3 (diff) |
gnu: petsc: Activate higher compiler optimization.
* gnu/packages/maths.scm (petsc)[arguments]<#:configure-flags>: Add
compiler optimization flags.
Change-Id: Iaadb462e002615448014db44248b0c116b246150
Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r-- | gnu/packages/maths.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 74c486b38a..db05379749 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -67,6 +67,7 @@ ;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz> ;;; Copyright © 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2025 Luca Cirrottola <luca.cirrottola@inria.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -3658,7 +3659,10 @@ September 2004}") #: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=" |