Skip to content

Build on Mac OS X

Aashish Chaudhary edited this page Jan 29, 2015 · 21 revisions

WikiBuildBuild on Mac OS X

System Requirements (Must Be Root)

Download and install these files

  1. [Xcode] - download link
  • once Xcode is installed --> start Xcode --> click Xcode in the Menu Bar --> choose Preferences --> click Downloads --> Under Components download Command Line Tools alt text
  1. [CMAKE]
  1. [Qt4] - download link
  2. Fortran - choose binaries for your OS X version

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.
  • There are more command options
  • Follow the instructions below:
    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

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