Commit 8e778c6f authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

More updates to OS X Jenkins build script.

parent 4d33ed56
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
# Build script for Mac OS X distribution, for use in automated packaging. # Build script for Mac OS X distribution, for use in automated packaging.
# Note that this must be run from outside the checked-out openmm/ directory. # Note that this must be run from outside the checked-out openmm/ directory.
PATH=$HOME/miniconda/bin:$PATH # Add conda binaries to path.
PATH=${HOME}/miniconda/bin:${PATH}
INSTALL=`pwd`/install INSTALL=`pwd`/install
CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$INSTALL" CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$INSTALL"
...@@ -26,10 +27,14 @@ CMAKE_FLAGS+=" -DFFTW_INCLUDES=$PREFIX/include" ...@@ -26,10 +27,14 @@ CMAKE_FLAGS+=" -DFFTW_INCLUDES=$PREFIX/include"
CMAKE_FLAGS+=" -DFFTW_LIBRARY=$PREFIX/lib/libfftw3f.so" CMAKE_FLAGS+=" -DFFTW_LIBRARY=$PREFIX/lib/libfftw3f.so"
CMAKE_FLAGS+=" -DFFTW_THREADS_LIBRARY=$PREFIX/lib/libfftw3f_threads.so" CMAKE_FLAGS+=" -DFFTW_THREADS_LIBRARY=$PREFIX/lib/libfftw3f_threads.so"
# Build in subdirectory.
if [ -e build ]; then
rm -rf build
fi
mkdir build mkdir build
cd build cd build
cmake ../openmm $CMAKE_FLAGS cmake ../openmm $CMAKE_FLAGS
make -j4 make -j16
make install make install
# Install Python wrappers. # Install Python wrappers.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment