Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/copyme/DGtal into ParDirC…
…ollapse
- Loading branch information
Showing
61 changed files
with
2,256 additions
and
728 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,22 @@ | ||
#!/bin/bash | ||
|
||
export BUILD_DOC="false" | ||
export UPLOAD_DOC="false" | ||
export NEEDCORE="true" | ||
|
||
export NEEDEXAMPLESANDTESTS="true"; | ||
export SRC_DIR="`pwd`" | ||
|
||
export CCOMPILER=$CC | ||
export CXXCOMPILER=$CXX | ||
|
||
##Forcing gcc-4.8 | ||
if [ $CC = "gcc" ]; | ||
then | ||
export CCOMPILER="gcc-4.8" | ||
export CXXCOMPILER="g++-4.8" | ||
fi | ||
|
||
##Preparing folders | ||
mkdir deps/ | ||
mkdir deps/local |
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,13 @@ | ||
#!/bin/bash | ||
|
||
|
||
## Temporary HDF5 build issue | ||
export BTYPE="$BTYPE -DWITH_HDF5=false" && echo "Disabling HDF5 on MacOS"; | ||
|
||
# | ||
# Note: gmp and boost already installed | ||
# | ||
|
||
brew update | ||
brew install doxygen homebrew/science/hdf5 graphviz graphicsmagick fftw eigen homebrew/boneyard/libqglviewer | ||
|
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# | ||
##Download and install 1.8.1 | ||
# | ||
|
||
mkdir ~/doxygen && cd ~/doxygen | ||
wget http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.10.linux.bin.tar.gz | ||
tar xzf doxygen-1.8.10.linux.bin.tar.gz | ||
wget http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.10.linux.bin.tar.gz && tar xzf doxygen-1.8.10.linux.bin.tar.gz |
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 |
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,32 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
mkdir build | ||
cd build | ||
|
||
### Cmake | ||
echo "Using C++ = $CXXCOMPILER" | ||
cmake .. $BTYPE -DCMAKE_CXX_COMPILER=$CXXCOMPILER -DCMAKE_C_COMPILER=$CCOMPILER | ||
|
||
|
||
### DGtal Core build | ||
if [ $NEEDCORE = "true" ]; | ||
then | ||
make -j 3 DGtal && make -j 3 DGtalIO | ||
fi | ||
|
||
echo "NeedExample $NEEDEXAMPLESANDTESTS" | ||
### DGtal Examples and Examples | ||
if [ $NEEDEXAMPLESANDTESTS = "true" ]; | ||
then | ||
cd examples ; make -j 3 ; echo "PWD"; pwd ; ls -l .. | ||
cd ../tests ; make -j 3 | ||
make test ARGS=--output-on-failure | ||
fi | ||
|
||
### DGtal doc | ||
if [ $BUILD_DOC = "true" ]; | ||
then | ||
make doc | ||
fi |
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,21 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
rsync -azv --delete --delete-after -e 'ssh -oStrictHostKeyChecking=no -i .travis/dgtal_rsa' html/ dgtal@liris.cnrs.fr:/home/dgtal/public_html/doc/nightly/ | ||
|
||
|
||
##DOCSET build | ||
cd html | ||
make | ||
wget http://dgtal.org/doc/docset/template.tgz | ||
tar zxvf template.tgz ; mv template/* org.dgtal.docset | ||
tar zcvf DGtal-devel.tgz org.dgtal.docset | ||
|
||
cd .. | ||
|
||
rsync -azv --delete --delete-after -e 'ssh -oStrictHostKeyChecking=no -i .travis/dgtal_rsa' html/DGtal-devel.tgz dgtal@liris.cnrs.fr:/home/dgtal/public_html/doc/docset | ||
|
||
|
||
###TAGS for DGtalTools | ||
scp -i .travis/dgtal_rsa DGtal-tagfile dgtal@liris.cnrs.fr:/home/dgtal/public_html/doc/tags/;scp -i .travis/dgtal_rsa Board-tagfile dgtal@liris.cnrs.fr:/home/dgtal/public_html/doc/tags/ |
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
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
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
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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
SET(DGTAL_EXAMPLES_SRC | ||
toricdomainvolumetric | ||
distancetransform2D | ||
exampleFMM2D | ||
voronoimap2D | ||
|
Oops, something went wrong.