Merge pull request #125556 from ivan-tkatchev/rhdf5

rhdf5: fix build (#125101)
This commit is contained in:
Artturi 2021-08-07 02:29:52 +03:00 committed by GitHub
commit 1f8e01479b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -309,7 +309,7 @@ let
Rglpk = [ pkgs.glpk ];
RGtk2 = [ pkgs.gtk2.dev ];
rhdf5 = [ pkgs.zlib ];
Rhdf5lib = [ pkgs.zlib ];
Rhdf5lib = [ pkgs.zlib.dev ];
Rhpc = [ pkgs.zlib pkgs.bzip2.dev pkgs.icu pkgs.xz.dev pkgs.mpi pkgs.pcre.dev ];
Rhtslib = [ pkgs.zlib.dev pkgs.automake pkgs.autoconf pkgs.bzip2.dev pkgs.xz.dev pkgs.curl.dev ];
rjags = [ pkgs.jags ];

View file

@ -2,11 +2,11 @@ diff --git a/configure b/configure
index e2d292e..b13c0db 100755
--- a/configure
+++ b/configure
@@ -2880,6 +2880,7 @@ $MAKE
@@ -3874,6 +3874,7 @@
echo "building the hdf5 library...";
cd ../;
## we add the '-w' flag to suppress all the warnings hdf5 prints
+sed -i 's#/bin/mv#mv#' configure
./configure --with-pic --enable-shared=no --enable-cxx \
--with-szlib \
CXX="${CXX}" CXFLAGS="${CXXFLAGS} -w" \
./configure --with-pic --enable-shared=no --enable-cxx --enable-hl \
--with-szlib=${SZIP_HOME} --with-zlib=${ZLIB_HOME} \
${WITH_S3_VFD} \