-
-
Save masoudbehzadinasab/ff37fc27ea861f05a83bc1e6d45172df to your computer and use it in GitHub Desktop.
CMake build script for NetCDF on Mac OSX 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 | |
cmake \ | |
-DCMAKE_BUILD_TYPE:STRING=Release \ | |
-DCMAKE_C_COMPILER:FILEPATH=/usr/local/bin/mpicc \ | |
-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/netcdf \ | |
-DCMAKE_INSTALL_NAME_DIR:PATH=/usr/local/netcdf/lib \ | |
-DCMAKE_MACOSX_RPATH:BOOL=OFF \ | |
-DENABLE_PARALLEL:BOOL=ON \ | |
.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment