Forked from johntfoster/peridigm-macosx-clang-cmake.sh
Last active
January 25, 2017 23:17
-
-
Save masoudbehzadinasab/342709876b84c4e069b2bcc8c25ee0c0 to your computer and use it in GitHub Desktop.
CMake build file for Peridigm on Mac OS X with Clang compiler
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
#!/usr/bin/env bash | |
PERIDIGM_ROOT=/usr/local/Peridigm | |
MPI_HOME=/usr/local/ | |
rm -f CMakeCache.txt | |
# invoke cmake | |
cmake \ | |
-D CMAKE_BUILD_TYPE:STRING=Debug \ | |
-D CMAKE_INSTALL_PREFIX:PATH=$PERIDIGM_ROOT \ | |
-D TRILINOS_DIR:PATH=/usr/local/trilinos/include \ | |
-D CMAKE_CXX_COMPILER:STRING=$MPI_HOME/bin/mpicxx \ | |
-D CMAKE_CXX_FLAGS:STRING="-g -O0 -std=c++11" \ | |
-D Blas_LIBRARY:FILE=/usr/lib/libblas.dylib \ | |
-D Lapack_LIBRARY:FILE=/usr/lib/liblapack.dylib \ | |
.. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment