mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-06-18 23:37:05 +01:00
Travis update
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user