1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-06-18 23:37:05 +01:00

Travis update

This commit is contained in:
2016-04-11 19:16:38 +01:00
parent cdf516b5ac
commit 1400f6e257
7 changed files with 40 additions and 11 deletions

View File

@ -2,6 +2,12 @@
NAME='nlopt-2.4.2'
if (( $# != 1 )); then
echo "usage: `basename $0` <prefix> {osx|linux}" 1>&2
exit 1
fi
PREFIX=$1
set -ex
INITDIR=`pwd`
cd local/build
@ -9,7 +15,7 @@ wget http://ab-initio.mit.edu/nlopt/${NAME}.tar.gz
tar -xzvf ${NAME}.tar.gz
mkdir -p ${NAME}/build
cd ${NAME}/build
../configure --prefix=${INITDIR}/local --with-cxx --without-guile --without-python --without-octave --without-matlab --with-pic
../configure --prefix=${PREFIX} --with-cxx --without-guile --without-python --without-octave --without-matlab --with-pic
make -j4
make install
cd ${INITDIR}/local