mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
72b706f84e
commit
3489c0995c
1 changed files with 5 additions and 1 deletions
|
@ -67,6 +67,7 @@
|
||||||
;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
|
;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
|
||||||
;;; Copyright © 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
;;; Copyright © 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||||
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
||||||
|
;;; Copyright © 2025 Luca Cirrottola <luca.cirrottola@inria.fr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -3658,7 +3659,10 @@ September 2004}")
|
||||||
#:test-target "test"
|
#:test-target "test"
|
||||||
#:parallel-build? #f ; build is parallel by default
|
#:parallel-build? #f ; build is parallel by default
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list "--with-mpi=0"
|
#~(list "COPTFLAGS=-g -O3"
|
||||||
|
"CXXOPTFLAGS=-g -O3"
|
||||||
|
"FOPTFLAGS=-g -O3"
|
||||||
|
"--with-mpi=0"
|
||||||
"--with-openmp=1"
|
"--with-openmp=1"
|
||||||
"--with-openblas=1"
|
"--with-openblas=1"
|
||||||
(string-append "--with-openblas-dir="
|
(string-append "--with-openblas-dir="
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue