-
Notifications
You must be signed in to change notification settings - Fork 65
Build on Mac OS X
Aashish Chaudhary edited this page Jan 29, 2015
·
21 revisions
Wiki ▸ Documentation ▸ Build on Mac OS X
Download and install these files
- once Xcode is installed --> start Xcode --> click Xcode in the Menu Bar --> choose Preferences --> click Downloads --> Under Components download Command Line Tools
- Qt4 - download link
- Fortran - choose binaries for your OS X version
From the command line using bash shell
Change YY-MM-DD to todays date
There are more command options
export GIT_SSL_NO_VERIFY=1
cd ~/
git clone --branch uvcdat-2.0.0 https://github.com/UV-CDAT/uvcdat.git
mkdir build-uvcdat
cd build-uvcdat
cmake ../uvcdat -DCMAKE_INSTALL_PREFIX=~/uvcdat-2.0.0/YY-MM-DD
#repeat this line
cmake ../uvcdat -DCMAKE_INSTALL_PREFIX=~/uvcdat-2.0.0/YY-MM-DD
make -j4
source /usr/local/uvcdat/YY-MM-DD/bin/setup_runtime.sh
- Bash users add
source ~/uvcdat-2.0.0/YY-MM-DD/bin/setup_runtime.shto your~/.bashrcfile - Csh users add
source ~/uvcdat-2.0.0/YY-MM-DD/bin/setup_runtime.cshto your~/.cshrcfile
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