Skip to content

Commit

Permalink
Work around for cmake version in travis with new arma version
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlees committed Mar 23, 2017
1 parent b7325f7 commit ca03e4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ install:
- wget http://www.cs.unc.edu/Research/compgeom/gzstream/gzstream.tgz
- tar xzf gzstream.tgz
- pushd gzstream && make && popd
- wget http://sourceforge.net/projects/arma/files/armadillo-7.800.1.tar.xz
- tar xf armadillo-7.800.1.tar.xz
- pushd armadillo-7.800.1 && CXX=/usr/bin/g++-4.9 cmake . && make && sudo make install && popd
- wget https://www.dropbox.com/s/n0zxh86y5nk65km/armadillo-6.100.1.tar.gz?dl=0
- tar xf armadillo-6.100.1.tar.gz
- pushd armadillo-6.100.1 && CXX=/usr/bin/g++-4.9 cmake . && make && sudo make install && popd

script: CXX=/usr/bin/g++-4.9 make CPPFLAGS="-I../gzstream -I../dlib -D DLIB_NO_GUI_SUPPORT=1 -D DLIB_USE_BLAS=1 -D DLIB_USE_LAPACK=1 -D NO_HDF5=1" SEER_LDLIBS="-L../gzstream -lgzstream -lz -larmadillo -lboost_program_options -llapack -lblas -lpthread" && make test

0 comments on commit ca03e4d

Please sign in to comment.