From 6bdab184dc3870ede357daf89abe9ebd645e5d1d Mon Sep 17 00:00:00 2001 From: Toni <toni.giorgino@gmail.com> Date: Tue, 7 May 2019 16:55:52 +0200 Subject: [PATCH] disable xdrfile --- conda/recipe/build.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/conda/recipe/build.sh b/conda/recipe/build.sh index a50f73b16..bd610a290 100644 --- a/conda/recipe/build.sh +++ b/conda/recipe/build.sh @@ -3,13 +3,16 @@ env | sort # GB: install xdrfile library -wget http://ftp.gromacs.org/pub/contrib/xdrfile-1.1.4.tar.gz -tar xzf xdrfile-1.1.4.tar.gz -cd xdrfile-1.1.4 -./configure --prefix=$PREFIX --enable-shared -make -make install -cd ../ +if false; then + # TG - disabling because it fails to link for no rational cause + wget http://ftp.gromacs.org/pub/contrib/xdrfile-1.1.4.tar.gz + tar xzf xdrfile-1.1.4.tar.gz + cd xdrfile-1.1.4 + ./configure --prefix=$PREFIX --enable-shared + make + make install + cd ../ +fi # TG: The "disabled" features are workaround for possible # conda+configure bugs in library search: building is ok but @@ -18,7 +21,7 @@ cd ../ # TODO: re-enable them and see. Also to do: install docs? -./configure --prefix=$PREFIX --enable-shared --disable-python --disable-zlib --disable-external-lapack --disable-external-blas LDFLAGS=-L$PREFIX/lib +./configure --prefix=$PREFIX --enable-shared --disable-python --disable-zlib --disable-external-lapack --disable-external-blas make -j4 make install -- GitLab