-
Notifications
You must be signed in to change notification settings - Fork 4
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 #342 from ICB-DCM/develop
Release 0.4.6
- Loading branch information
Showing
191 changed files
with
5,888 additions
and
2,831 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
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 |
---|---|---|
|
@@ -15,5 +15,3 @@ cd "$script_dir" | |
./installCeres.sh | ||
|
||
./installIpopt.sh | ||
|
||
./installGoogleTest.sh |
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,24 +1,32 @@ | ||
#!/usr/bin/env bash | ||
# build DLIB | ||
# Download and build DLIB | ||
|
||
set -euo pipefail | ||
script_dir=$(dirname "$0") | ||
script_dir=$(cd "${script_dir}" && pwd) | ||
cd "${script_dir}" | ||
|
||
make_opts=${MAKEOPTS-} | ||
|
||
dlib_archive="dlib-19.7.tar.bz2" | ||
if [ ! -d "dlib-19.7" ]; then | ||
dlib_dir=${script_dir}/dlib-19.7 | ||
|
||
if [ ! -d "${dlib_dir}" ]; then | ||
if [ ! -f "${dlib_archive}" ]; then | ||
wget "http://dlib.net/files/${dlib_archive}" -o "${dlib_archive}" | ||
wget "http://dlib.net/files/${dlib_archive}" -O "${dlib_archive}" | ||
fi | ||
tar -xjf "${dlib_archive}" | ||
fi | ||
|
||
cd "dlib-19.7/" | ||
cd "${dlib_dir}" | ||
mkdir -p build && cd build/ | ||
cmake -DCMAKE_INSTALL_PREFIX="$(pwd)/install" \ | ||
-DDLIB_NO_GUI_SUPPORT=ON \ | ||
-DDLIB_GIF_SUPPORT=OFF \ | ||
-DDLIB_JPEG_SUPPORT=OFF \ | ||
-DDLIB_PNG_SUPPORT=OFF \ | ||
-DDLIB_LINK_WITH_SQLITE3=OFF \ | ||
.. | ||
cmake -S .. \ | ||
-DCMAKE_INSTALL_PREFIX="$(pwd)/install" \ | ||
-DDLIB_NO_GUI_SUPPORT=ON \ | ||
-DDLIB_GIF_SUPPORT=OFF \ | ||
-DDLIB_JPEG_SUPPORT=OFF \ | ||
-DDLIB_PNG_SUPPORT=OFF \ | ||
-DDLIB_LINK_WITH_SQLITE3=OFF \ | ||
.. | ||
|
||
make -j12 && make install | ||
make ${make_opts} && make install |
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,44 @@ | ||
#!/usr/bin/env bash | ||
# Download and build fides-cpp | ||
|
||
build_blaze() { | ||
cd "${script_dir}" | ||
|
||
if [[ ! -d "${blaze_dir}" ]]; then | ||
if [[ ! -f "blaze-3.8.tar.gz" ]]; then | ||
wget https://bitbucket.org/blaze-lib/blaze/downloads/blaze-3.8.tar.gz | ||
fi | ||
tar -xzf blaze-3.8.tar.gz | ||
cd blaze-3.8 | ||
cmake -S . -B build/ -DCMAKE_INSTALL_PREFIX="$(pwd)/build/install" | ||
cd build | ||
make -j2 install | ||
fi | ||
} | ||
|
||
build_fides() { | ||
if [ ! -d "${fides_dir}" ]; then | ||
cd "${script_dir}" | ||
git clone https://github.com/dweindl/fides-cpp.git | ||
cd "${fides_dir}" | ||
git checkout 9906bdac6a1966ddd4b37b96f98ad8f89770c128 | ||
fi | ||
|
||
cd "${fides_dir}" | ||
cmake -S . -B build -DBUILD_TESTING=OFF | ||
cd build | ||
make ${make_opts} | ||
} | ||
|
||
set -euo pipefail | ||
script_dir=$(dirname "$0") | ||
script_dir=$(cd "${script_dir}" && pwd) | ||
cd "${script_dir}" | ||
|
||
make_opts=${MAKEOPTS-} | ||
|
||
fides_dir=${script_dir}/fides-cpp | ||
blaze_dir=${script_dir}/blaze-3.8 | ||
|
||
build_blaze | ||
build_fides |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.