forked from freesurfer/freesurfer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of github.com:freesurfer/freesurfer into rf-ident
- Loading branch information
Showing
47 changed files
with
4,143 additions
and
930 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,34 @@ | ||
#! /bin/bash -ef | ||
set -eu | ||
|
||
export CC="`which cc`" | ||
export CXX="`which c++`" | ||
export AR="`which ar`" | ||
export RANLIB="`which ranlib`" | ||
|
||
rm -Rf CMakeCache.txt CMakeFiles/ CMakeTmp/ | ||
|
||
cmake . -G "Unix Makefiles" \ | ||
-DBUILD_CUDA=OFF \ | ||
-DBUILD_EXECUTABLES=OFF \ | ||
-DBUILD_GUI=OFF \ | ||
-DBUILD_MATLAB=OFF \ | ||
-DBUILD_SHARED_LIBS=OFF \ | ||
-DBUILD_TESTING=OFF \ | ||
-DITK_DIR=../itk-5.0/build \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_CXX_COMPILER=$CXX \ | ||
-DCMAKE_CXX_COMPILER_AR=$AR \ | ||
-DCMAKE_CXX_COMPILER_RANLIB=$RANLIB \ | ||
-DCMAKE_CXX_FLAGS="-msse2 -mfpmath=sse -fPIC -fpermissive" \ | ||
-DCMAKE_C_COMPILER=$CC \ | ||
-DCMAKE_C_COMPILER_AR=$AR \ | ||
-DCMAKE_C_COMPILER_RANLIB=$RANLIB \ | ||
-DCMAKE_C_FLAGS="-msse2 -mfpmath=sse -fPIC -fpermissive" \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DCMAKE_INSTALL_PREFIX=. | ||
|
||
make clean | ||
make -j 8 | ||
#make test | ||
#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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.