[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/27: gnu: elemental: Update package style.
From: |
guix-commits |
Subject: |
05/27: gnu: elemental: Update package style. |
Date: |
Sat, 18 Nov 2023 20:57:46 -0500 (EST) |
bavier pushed a commit to branch master
in repository guix.
commit d335e24920bfb90e38854c590647cf8e4b525292
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 5 14:56:22 2023 +0000
gnu: elemental: Update package style.
* gnu/packages/maths.scm (elemental): Update package style, shift order
of package fields.
[arguments]: Use G-expressions. {phases}: Remove trailing #f from each
lambda.
Change-Id: Ib961eb99159e1206963041bd7014dca032a21441
Signed-off-by: Eric Bavier <bavier@posteo.net>
---
gnu/packages/maths.scm | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0ed25834f6..34710fc65c 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -7611,7 +7611,29 @@ symmetric matrices.")
(base32
"06xcs4ic60ndcf2hq19gr8yjwdsnphpcyhapab41rkw726z4lm7p"))))
(build-system cmake-build-system)
- (home-page "https://github.com/elemental/Elemental")
+ (arguments
+ (list
+ #:build-type "Release" ;default RelWithDebInfo not supported
+ #:configure-flags
+ #~(list "-DEL_DISABLE_PARMETIS:BOOL=YES"
+ "-DEL_AVOID_COMPLEX_MPI:BOOL=NO"
+ "-DEL_CACHE_WARNINGS:BOOL=YES"
+ "-DEL_TESTS:BOOL=YES"
+ "-DCMAKE_INSTALL_LIBDIR=lib"
+ "-DGFORTRAN_LIB=gfortran")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'mpi-setup
+ #$%openmpi-setup)
+ (add-before 'check 'setup-tests
+ (lambda _ ;; Parallelism is done at the MPI layer.
+ (setenv "OMP_NUM_THREADS" "1")))
+ (add-after 'install 'remove-tests
+ (lambda _
+ ;; Tests are installed, with no easy configuration
+ ;; switch to prevent this, so delete them.
+ (delete-file-recursively
+ (string-append #$output "/bin/test")))))))
(native-inputs
(list gfortran))
(inputs
@@ -7624,29 +7646,7 @@ symmetric matrices.")
openmpi
qd
openblas))
- (arguments
- `(#:build-type "Release" ;default RelWithDebInfo not supported
- #:configure-flags `("-DEL_DISABLE_PARMETIS:BOOL=YES"
- "-DEL_AVOID_COMPLEX_MPI:BOOL=NO"
- "-DEL_CACHE_WARNINGS:BOOL=YES"
- "-DEL_TESTS:BOOL=YES"
- "-DCMAKE_INSTALL_LIBDIR=lib"
- "-DGFORTRAN_LIB=gfortran")
- #:phases (modify-phases %standard-phases
- (add-before 'check 'mpi-setup
- ,%openmpi-setup)
- (add-before 'check 'setup-tests
- (lambda _
- ;; Parallelism is done at the MPI layer.
- (setenv "OMP_NUM_THREADS" "1")
- #t))
- (add-after 'install 'remove-tests
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Tests are installed, with no easy configuration
- ;; switch to prevent this, so delete them.
- (delete-file-recursively
- (string-append (assoc-ref outputs "out") "/bin"))
- #t)))))
+ (home-page "https://github.com/elemental/Elemental")
(synopsis "Dense and sparse-direct linear algebra and optimization")
(description "Elemental is a modern C++ library for distributed-memory
dense and sparse-direct linear algebra, conic optimization, and lattice
- branch master updated (2ab5e44924 -> b7abea0fd6), guix-commits, 2023/11/18
- 06/27: gnu: celestia: Update to 1.6.4., guix-commits, 2023/11/18
- 07/27: gnu: gpredict: Improve package style., guix-commits, 2023/11/18
- 08/27: gnu: libpasastro: Update to 1.4.1., guix-commits, 2023/11/18
- 09/27: gnu: python-asdf-3.0: Update to 3.0.1., guix-commits, 2023/11/18
- 01/27: gnu: qd: Use G-expressions., guix-commits, 2023/11/18
- 04/27: gnu: elemental: Remove input labels., guix-commits, 2023/11/18
- 03/27: gnu: elemental: Update to 0.87.7-0.6eb15a0., guix-commits, 2023/11/18
- 05/27: gnu: elemental: Update package style.,
guix-commits <=
- 13/27: gnu: python-fitsio: Update to 1.2.1., guix-commits, 2023/11/18
- 14/27: gnu: python-jplephem: Update to 2.20., guix-commits, 2023/11/18
- 15/27: gnu: python-pynbody: Update to 1.4.2., guix-commits, 2023/11/18
- 11/27: gnu: python-casa-formats-io: Update to 0.2.2., guix-commits, 2023/11/18
- 16/27: gnu: python-pynbody: Prepare for cross compilation., guix-commits, 2023/11/18
- 17/27: gnu: python-rad: Update to 0.18.0., guix-commits, 2023/11/18
- 18/27: gnu: python-roman-datamodels: Update to 0.18.0., guix-commits, 2023/11/18
- 19/27: gnu: python-sgp4: Update to 2.23., guix-commits, 2023/11/18
- 20/27: gnu: python-wiimatch: Update to 0.3.2., guix-commits, 2023/11/18
- 21/27: gnu: splash: Update to 3.9.0., guix-commits, 2023/11/18