about summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorGuillaume Bouchard <guillaum.bouchard@gmail.com>2018-01-16 11:31:35 +0100
committerPeter Hoeg <peter@hoeg.com>2018-01-16 18:31:35 +0800
commit2995066e9bf24f9f929589c3019d2cc4d2150ef0 (patch)
treeecf7f97f89cc44c76d6ccfd1b94df0bca8fa734a /pkgs/top-level
parent2bb5e5e7484365e0c4799b5f81ffc804e7526cb2 (diff)
alembic: use threadsafe hdf5 (#30682)
* hdf5: introduce hdf5-threadsafe variant

Compiled with thread safe support and without the High Level library
which is incompatible with thread safety.

* alembic: clean buildInputs to nativeBuildInputs

* alembic: use hdf5-threadsafe
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/all-packages.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index b4063591476c5..06a6eaec0a288 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -2688,6 +2688,13 @@ with pkgs;
     inherit gfortran;
   });
 
+  hdf5-threadsafe = appendToName "threadsafe" (hdf5.overrideAttrs (oldAttrs: {
+      # Threadsafe hdf5
+      # However, hdf5 hl (High Level) library is not considered stable
+      # with thread safety and should be disabled.
+      configureFlags = oldAttrs.configureFlags ++ ["--enable-threadsafe" "--disable-hl" ];
+  }));
+
   hdfview = callPackage ../tools/misc/hdfview {
     javac = jdk;
   };