Commit 0abd720e authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Added miniconda/bin to path for automated build scripts.

parent db343579
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# Build script for Linux distribution, for use in automated packaging. # Build script for Linux 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.
echo $PATH # Add conda binaries to path.
which cmake PATH=${HOME}/miniconda/bin:${PATH}
INSTALL=`pwd`/install INSTALL=`pwd`/install
CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$INSTALL" CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$INSTALL"
...@@ -33,15 +33,14 @@ fi ...@@ -33,15 +33,14 @@ 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.
OPENMM_INCLUDE_PATH=$INSTALL/include OPENMM_INCLUDE_PATH=$INSTALL/include
OPENMM_LIB_PATH=$INSTALL/lib OPENMM_LIB_PATH=$INSTALL/lib
PYTHON=${HOME}/miniconda/bin/python
cd python cd python
$PYTHON setup.py install --prefix=$INSTALL python setup.py install --prefix=$INSTALL
cd .. cd ..
# Copy all tests to bin directory so they will be distributed with install package. # Copy all tests to bin directory so they will be distributed with install package.
......
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