-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #332 from kerautret/AddDec
add travis conf with EIGEN and OSX compilation
- Loading branch information
Showing
3 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# Note: gmp and boost already installed | ||
# | ||
brew update | ||
#brew install qt5 doxygen homebrew/science/hdf5 graphviz graphicsmagick fftw eigen | ||
brew install qt5 graphicsmagick fftw eigen | ||
# Explicit install of libqglviewer | ||
brew install http://liris.cnrs.fr/david.coeurjolly/misc/libqglviewer.rb | ||
|
||
## Temporary HDF5 build issue | ||
export BTYPE="$BTYPE -DWITH_HDF5=false" && echo "Disabling HDF5 on MacOS"; | ||
export BTYPE="$BTYPE -DWITH_QT5=true -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)" && echo "Forcing Qt5 on MacOS"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
|
||
# | ||
# Local install of Eigen on linux system | ||
# | ||
|
||
export EIGEN_ROOT="/usr/local/" | ||
|
||
if [ $TRAVIS_OS_NAME == linux ]; | ||
then | ||
cd deps | ||
wget http://bitbucket.org/eigen/eigen/get/3.2.10.tar.bz2 | ||
|
||
bunzip2 3.2.10.tar.bz2 | ||
tar xvf 3.2.10.tar | ||
|
||
cd eigen-eigen-b9cd8366d4e8 | ||
mkdir build ; cd build | ||
|
||
cmake .. -DCMAKE_INSTALL_PREFIX="${SRC_DIR}/deps/local" | ||
make && make install && cd ${SRC_DIR} && export EIGEN_ROOT="$SRC_DIR/deps/local" | ||
|
||
fi |