diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2022-03-08 12:10:02 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-03-08 17:18:19 +0100 |
commit | dd98dc42fe8d898bbdf8b3f988120a81bb145f77 (patch) | |
tree | 78a3c740f4d877d6d4b128da6158144943983c80 | |
parent | 3cd42883c4ad693ed1f79c6be35e1aa3e010e10a (diff) | |
download | guix-dd98dc42fe8d898bbdf8b3f988120a81bb145f77.tar.gz |
gnu: slurm <= 20.02: Build with '-fcommon'.
* gnu/packages/parallel.scm (slurm-20.02)[arguments]: New field. (slurm-19.05, slumr-18.08): Inherit from it.
-rw-r--r-- | gnu/packages/parallel.scm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 757c55d14d..1e4ca2f03c 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com> ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org> -;;; Copyright © 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2019-2022 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2020 Roel Janssen <roel@gnu.org> ;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at> ;;; @@ -271,11 +271,16 @@ by managing a queue of pending work.") version ".tar.bz2")) (sha256 (base32 - "0qj4blfymrd2ry2qmb58l3jbr4jwygc3adcfw7my27rippcijlyc")))))) + "0qj4blfymrd2ry2qmb58l3jbr4jwygc3adcfw7my27rippcijlyc")))) + (arguments + (substitute-keyword-arguments (package-arguments slurm) + ((#:configure-flags flags ''()) + `(append '("CFLAGS=-O2 -g -fcommon" "LDFLAGS=-fcommon") + ,flags)))))) (define-public slurm-19.05 (package - (inherit slurm) + (inherit slurm-20.02) (version "19.05.8") (source (origin (inherit (package-source slurm)) @@ -290,7 +295,7 @@ by managing a queue of pending work.") ;; Same as Debian 10 (define-public slurm-18.08 (package - (inherit slurm) + (inherit slurm-20.02) (version "18.08.9") (source (origin |