Skip to content

Build on Mac OS X

Aashish Chaudhary edited this page Feb 8, 2015 · 21 revisions

WikiBuildBuild on Mac OS X

System Requirements

Visit System Requirements for more information

Building from Source using GIT

  • 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:

Instructions - Step-by-Step:

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

Instructions - All of the Above Combined:

    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

Build options

There are more command options

Build issues

Visit Build Issues for more information

Testing

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

Tools used

Clone this wiki locally