mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
more CI script tuning
This commit is contained in:
parent
c0dac8063e
commit
2e2e676196
@ -12,8 +12,7 @@ set -ex
|
|||||||
INITDIR=$(pwd -P)
|
INITDIR=$(pwd -P)
|
||||||
cd ${PREFIX}
|
cd ${PREFIX}
|
||||||
PREFIX=$(pwd -P)
|
PREFIX=$(pwd -P)
|
||||||
cd ${INITDIR}
|
cd ${INITDIR}/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
|
||||||
mkdir -p ${NAME}/build
|
mkdir -p ${NAME}/build
|
||||||
|
@ -18,10 +18,10 @@ 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_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 -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
|
||||||
make -j4
|
make -j4
|
||||||
make install
|
make install
|
||||||
cd ${INITDIR}/local
|
cd ${INITDIR}/local
|
||||||
|
Loading…
Reference in New Issue
Block a user