Created
February 6, 2019 18:52
-
-
Save gchavez2/b6c582949f90748a452e0e35e66c0a8a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| if [[ $1 == "r" ]]; | |
| then | |
| rm -rf build | |
| mkdir build | |
| fi | |
| cd build | |
| # -DCMAKE_BUILD_TYPE=Release \ | |
| cmake .. \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DCMAKE_INSTALL_PREFIX=. \ | |
| -DCMAKE_C_COMPILER=gcc \ | |
| -DCMAKE_CXX_COMPILER=g++ \ | |
| -DCMAKE_Fortran_COMPILER=gfortran \ | |
| -DBUILD_SHARED_LIBS=ON \ | |
| -DSTRUMPACK_USE_MPI=OFF \ | |
| -DTPL_BLAS_LIBRARIES="/usr/local/Cellar/openblas/0.2.20_1/lib/libblas.dylib" \ | |
| -DTPL_LAPACK_LIBRARIES="/usr/local/Cellar/openblas/0.2.20_1/lib/liblapack.dylib" \ | |
| -DTPL_METIS_INCLUDE_DIRS="/usr/local/Cellar/metis/5.1.0/include" \ | |
| -DTPL_METIS_LIBRARIES="/usr/local/Cellar/metis/5.1.0/lib/libmetis.dylib" | |
| make install VERBOSE=1 | |
| cd examples | |
| make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment