1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

scripts fine-tuning

This commit is contained in:
Antonin Portelli 2020-01-10 11:59:07 +00:00
parent 29863a348b
commit c0dac8063e
5 changed files with 19 additions and 10 deletions

View File

@ -9,7 +9,10 @@ fi
PREFIX=$1 PREFIX=$1
set -ex set -ex
INITDIR=`pwd` INITDIR=$(pwd -P)
cd ${PREFIX}
PREFIX=$(pwd -P)
cd ${INITDIR}
cd local/build cd local/build
wget http://ftpmirror.gnu.org/gsl/${NAME}.tar.gz wget http://ftpmirror.gnu.org/gsl/${NAME}.tar.gz
tar -xzvf ${NAME}.tar.gz tar -xzvf ${NAME}.tar.gz

View File

@ -9,8 +9,10 @@ fi
PREFIX=$1 PREFIX=$1
set -ex set -ex
INITDIR=`pwd` INITDIR=$(pwd -P)
cd local/build cd ${PREFIX}
PREFIX=$(pwd -P)
cd ${INITDIR}/local/build
wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/${NAME}/src/${NAME}.tar.gz wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/${NAME}/src/${NAME}.tar.gz
tar -xzvf ${NAME}.tar.gz tar -xzvf ${NAME}.tar.gz
mkdir ${NAME}/build mkdir ${NAME}/build

View File

@ -9,8 +9,10 @@ fi
PREFIX=$1 PREFIX=$1
set -ex set -ex
INITDIR=`pwd` INITDIR=$(pwd -P)
cd local/build cd ${PREFIX}
PREFIX=$(pwd -P)
cd ${INITDIR}/local/build
wget http://www.cern.ch/mathlibs/sw/5_34_14/Minuit2/${NAME}.tar.gz wget http://www.cern.ch/mathlibs/sw/5_34_14/Minuit2/${NAME}.tar.gz
tar -xzvf ${NAME}.tar.gz tar -xzvf ${NAME}.tar.gz
mkdir -p ${NAME}/build mkdir -p ${NAME}/build

View File

@ -9,17 +9,19 @@ fi
PREFIX=$1 PREFIX=$1
set -ex set -ex
INITDIR=`pwd` INITDIR=$(pwd -P)
cd local/build cd ${PREFIX}
PREFIX=$(pwd -P)
cd ${INITDIR}/local/build
wget https://github.com/stevengj/nlopt/archive/v${NAME}.tar.gz wget https://github.com/stevengj/nlopt/archive/v${NAME}.tar.gz
tar -xzvf v${NAME}.tar.gz tar -xzvf v${NAME}.tar.gz
NAME=nlopt-${NAME} NAME=nlopt-${NAME}
mkdir -p ${NAME}/build mkdir -p ${NAME}/build
cd ${NAME}/build cd ${NAME}/build
cmake -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX} -DCMAKE_INSTALL_PREFIX=${PREFIX} .. cmake -DCMAKE_C_COMPILER="${CC}" -DCMAKE_CXX_COMPILER="${CXX}" -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
make -j4 make -j4
make install make install
cmake -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX} -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=${PREFIX} .. cmake -DCMAKE_C_COMPILER="${CC}" -DCMAKE_CXX_COMPILER="${CXX}" -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
make -j4 make -j4
make install make install
cd ${INITDIR}/local cd ${INITDIR}/local

View File

@ -6,7 +6,7 @@ if (( $# != 1 )); then
fi fi
ARC=$1 ARC=$1
INITDIR=`pwd` INITDIR=$(pwd -P)
rm -rf lib/Eigen rm -rf lib/Eigen
ARCDIR=`tar -tf ${ARC} | head -n1 | sed -e 's@/.*@@'` ARCDIR=`tar -tf ${ARC} | head -n1 | sed -e 's@/.*@@'`
tar -xf ${ARC} tar -xf ${ARC}