mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
build system update
This commit is contained in:
parent
8cfbaeb9ce
commit
ec5e6c6920
@ -42,7 +42,7 @@ before_install:
|
|||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="${LATDIR}/ci-scripts/clang/bin:${PATH}"; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="${LATDIR}/ci-scripts/clang/bin:${PATH}"; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export LD_LIBRARY_PATH="${LATDIR}/ci-scripts/clang/lib:${LD_LIBRARY_PATH}"; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export LD_LIBRARY_PATH="${LATDIR}/ci-scripts/clang/lib:${LD_LIBRARY_PATH}"; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bison flex; export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bison flex cmake; export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc@${VERSION#-}; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc@${VERSION#-}; fi
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
NAME='gsl-2.5'
|
NAME='gsl-2.6'
|
||||||
|
|
||||||
if (( $# != 1 )); then
|
if (( $# != 1 )); then
|
||||||
echo "usage: `basename $0` <prefix>" 1>&2
|
echo "usage: `basename $0` <prefix>" 1>&2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
NAME='hdf5-1.10.1'
|
NAME='hdf5-1.10.5'
|
||||||
|
|
||||||
if (( $# != 1 )); then
|
if (( $# != 1 )); then
|
||||||
echo "usage: `basename $0` <prefix>" 1>&2
|
echo "usage: `basename $0` <prefix>" 1>&2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
NAME='nlopt-2.4.2'
|
NAME='2.6.1'
|
||||||
|
|
||||||
if (( $# != 1 )); then
|
if (( $# != 1 )); then
|
||||||
echo "usage: `basename $0` <prefix>" 1>&2
|
echo "usage: `basename $0` <prefix>" 1>&2
|
||||||
@ -11,11 +11,12 @@ PREFIX=$1
|
|||||||
set -ex
|
set -ex
|
||||||
INITDIR=`pwd`
|
INITDIR=`pwd`
|
||||||
cd local/build
|
cd local/build
|
||||||
wget http://ab-initio.mit.edu/nlopt/${NAME}.tar.gz
|
wget https://github.com/stevengj/nlopt/archive/v${NAME}.tar.gz
|
||||||
tar -xzvf ${NAME}.tar.gz
|
tar -xzvf v${NAME}.tar.gz
|
||||||
|
NAME=nlopt-${NAME}
|
||||||
mkdir -p ${NAME}/build
|
mkdir -p ${NAME}/build
|
||||||
cd ${NAME}/build
|
cd ${NAME}/build
|
||||||
../configure --prefix=${PREFIX} --with-cxx --without-guile --without-python --without-octave --without-matlab --with-pic
|
cmake -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