Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
0abd720e
Commit
0abd720e
authored
Nov 08, 2014
by
John Chodera (MSKCC)
Browse files
Added miniconda/bin to path for automated build scripts.
parent
db343579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
devtools/packaging/scripts/linux/build.sh
devtools/packaging/scripts/linux/build.sh
+4
-5
No files found.
devtools/packaging/scripts/linux/build.sh
View file @
0abd720e
...
...
@@ -3,8 +3,8 @@
# Build script for Linux distribution, for use in automated packaging.
# Note that this must be run from outside the checked-out openmm/ directory.
echo
$PATH
which cmake
# Add conda binaries to path.
PATH
=
${
HOME
}
/miniconda/bin:
${
PATH
}
INSTALL
=
`
pwd
`
/install
CMAKE_FLAGS
=
"-DCMAKE_INSTALL_PREFIX=
$INSTALL
"
...
...
@@ -33,15 +33,14 @@ fi
mkdir
build
cd
build
cmake ../openmm
$CMAKE_FLAGS
make
-j
4
make
-j
16
make
install
# Install Python wrappers.
OPENMM_INCLUDE_PATH
=
$INSTALL
/include
OPENMM_LIB_PATH
=
$INSTALL
/lib
PYTHON
=
${
HOME
}
/miniconda/bin/python
cd
python
$PYTHON
setup.py
install
--prefix
=
$INSTALL
python
setup.py
install
--prefix
=
$INSTALL
cd
..
# Copy all tests to bin directory so they will be distributed with install package.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment