Last active
July 12, 2016 00:30
-
-
Save johntfoster/4d5eda89fc9b0f00ea3b 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=/Users/john/miniconda3/envs/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 \ | |
-D CMAKE_MACOSX_RPATH:BOOL=ON \ | |
-D CMAKE_INSTALL_RPATH:PATH=/Users/john/miniconda3/envs/trilinos/lib \ | |
.. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment