[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: hdf5: Build a thread-safe library.
From: |
guix-commits |
Subject: |
01/08: gnu: hdf5: Build a thread-safe library. |
Date: |
Tue, 14 May 2019 06:15:57 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 549d15712fdc1f58ce0dd11117eb79535ec19f2c
Author: Ludovic Courtès <address@hidden>
Date: Fri May 10 11:19:44 2019 +0200
gnu: hdf5: Build a thread-safe library.
* gnu/packages/maths.scm (hdf5)[arguments]: Pass "--enable-threadsafe
--with-pthread --enable-unsupported".
---
gnu/packages/maths.scm | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 59bf101..e682746 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -781,7 +781,17 @@ incompatible with HDF5.")
`(;; Some of the users, notably Flann, need the C++ interface.
#:configure-flags '("--enable-cxx"
"--enable-fortran"
- "--enable-fortran2003")
+ "--enable-fortran2003"
+
+ ;; Build a thread-safe library. Unfortunately,
+ ;; 'configure' invites you to either turn off C++,
+ ;; Fortran, and the high-level interface (HL), or
+ ;; to pass '--enable-unsupported'. Debian
+ ;; packagers chose to pass '--enable-unsupported'
+ ;; and we follow their lead here.
+ "--enable-threadsafe"
+ "--with-pthread"
+ "--enable-unsupported")
;; Use -fPIC to allow the R bindings to link with the static libraries
#:make-flags (list "CFLAGS=-fPIC"
"CXXFLAGS=-fPIC")
@@ -1093,7 +1103,9 @@ Swath).")
(arguments
(substitute-keyword-arguments (package-arguments hdf5)
((#:configure-flags flags)
- ``("--enable-parallel" ,@(delete "--enable-cxx" ,flags)))
+ ``("--enable-parallel"
+ ,@(delete "--enable-cxx"
+ (delete "--enable-threadsafe" ,flags))))
((#:phases phases)
`(modify-phases ,phases
(add-after 'build 'mpi-setup
- branch master updated (ae5de93 -> 45d41c0), guix-commits, 2019/05/14
- 01/08: gnu: hdf5: Build a thread-safe library.,
guix-commits <=
- 04/08: gnu: munge: Pass '--localstatedir=/var'., guix-commits, 2019/05/14
- 03/08: services: Add 'network-manager-applet' to %DESKTOP-SERVICES., guix-commits, 2019/05/14
- 08/08: guix build: Gracefully handle invalid '--with-git-url' specs., guix-commits, 2019/05/14
- 06/08: installer: Allow for arbitrary long passphrases and passwords., guix-commits, 2019/05/14
- 07/08: gnu: Add emacs-evil-cleverparens, guix-commits, 2019/05/14
- 02/08: gnu: hdf5: Add dependency on Perl., guix-commits, 2019/05/14
- 05/08: gnu: Add font-hermit, guix-commits, 2019/05/14