-
Notifications
You must be signed in to change notification settings - Fork 65
Build on Mac OS X
Aashish Chaudhary edited this page Feb 8, 2015
·
21 revisions
Visit System Requirements for more information
- From the command line using bash shell or if using C shell, then use setup_runtime.csh in the instructions below.
- Change the YY-MM-DD format to current date.
- Follow the instructions below:
1 Change directory where you want to checkout UV-CDAT
cd ~/
2 Clone UV-CDAT
git clone https://github.com/UV-CDAT/uvcdat.git
3 Create build directory
mkdir build-uvcdat
cd build-uvcdat
4 Run CMake
cmake ../uvcdat -DCMAKE_INSTALL_PREFIX=~/uvcdat-latest/YY-MM-DD
5 Run Make
make -j4
6 Source runtime script
source ~/uvcdat-latest/YY-MM-DD/bin/setup_runtime.sh
export GIT_SSL_NO_VERIFY=1
cd ~/
git clone https://github.com/UV-CDAT/uvcdat.git
mkdir build-uvcdat
cd build-uvcdat
cmake ../uvcdat -DCMAKE_INSTALL_PREFIX=~/uvcdat-latest/YY-MM-DD
#repeat this line
cmake ../uvcdat -DCMAKE_INSTALL_PREFIX=~/uvcdat-latest/YY-MM-DD
make -j4
source /usr/local/uvcdat/YY-MM-DD/bin/setup_runtime.sh
There are more command options
Visit Build Issues for more information
Running the test suite (Don't forget to source setup_runtime.sh)
cd ~/uvcdat-build
ctest -j4
To post the results to the UV-CDAT Dashboard
ctest -D Experimental