SETUP script fix and execute enabling

main
lib 2 years ago
parent b097ac90fb
commit 40b140ca91
  1. 6
      SETUP

@ -2,14 +2,14 @@
if [ -z "$1" ]
then
printf "Usage: setup.sh install_directory [dependencies].\n"
exit
printf "Usage: setup.sh install_directory [dependencies].\n" 1>&2
exit 1
fi
# $2 zlib, $3 hdf5
cd $(dirname $0)
libname=$(basename $(pwd))
CPPFLAGS="-I$3/include -I$2/include" LDFLAGS="-L$3/lib -L$2/lib" ./configure --prefix="$1"
CPPFLAGS="-I$3/include -I$2/include" LDFLAGS="-L$3/lib -L$2/lib" ./configure --prefix="$1" --disable-libxml2 --disable-dap --disable-byterange
make all -j8
make check
make install

Loading…
Cancel
Save