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
741d186d
Commit
741d186d
authored
Dec 02, 2014
by
John Chodera (MSKCC)
Browse files
Build scripts now first remove old install directory.
parent
74d66869
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
devtools/packaging/scripts/linux/build.sh
devtools/packaging/scripts/linux/build.sh
+6
-0
devtools/packaging/scripts/osx/build.sh
devtools/packaging/scripts/osx/build.sh
+7
-0
No files found.
devtools/packaging/scripts/linux/build.sh
View file @
741d186d
...
@@ -10,6 +10,10 @@ export WORKSPACE=`pwd`
...
@@ -10,6 +10,10 @@ export WORKSPACE=`pwd`
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
INSTALL
=
`
pwd
`
/install
INSTALL
=
`
pwd
`
/install
if
[
-e
$INSTALL
]
;
then
rm
-rf
$INSTALL
fi
CMAKE_FLAGS
=
"-DCMAKE_INSTALL_PREFIX=
$INSTALL
"
CMAKE_FLAGS
=
"-DCMAKE_INSTALL_PREFIX=
$INSTALL
"
# setting the rpath so that libOpenMMPME.so finds the right libfftw3
# setting the rpath so that libOpenMMPME.so finds the right libfftw3
...
@@ -37,4 +41,6 @@ mkdir build
...
@@ -37,4 +41,6 @@ mkdir build
cd
build
cd
build
cmake ../openmm
$CMAKE_FLAGS
cmake ../openmm
$CMAKE_FLAGS
make
-j4
all DoxygenApiDocs sphinxpdf
make
-j4
all DoxygenApiDocs sphinxpdf
# Install.
make
install
make
install
devtools/packaging/scripts/osx/build.sh
View file @
741d186d
...
@@ -9,7 +9,12 @@ export WORKSPACE=`pwd`
...
@@ -9,7 +9,12 @@ export WORKSPACE=`pwd`
# Add conda binaries to path.
# Add conda binaries to path.
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
# Set install directory.
INSTALL
=
`
pwd
`
/install
INSTALL
=
`
pwd
`
/install
if
[
-e
$INSTALL
]
;
then
rm
-rf
$INSTALL
fi
CMAKE_FLAGS
=
"-DCMAKE_INSTALL_PREFIX=
$INSTALL
"
CMAKE_FLAGS
=
"-DCMAKE_INSTALL_PREFIX=
$INSTALL
"
# setting the rpath so that libOpenMMPME.so finds the right libfftw3
# setting the rpath so that libOpenMMPME.so finds the right libfftw3
...
@@ -38,4 +43,6 @@ mkdir build
...
@@ -38,4 +43,6 @@ mkdir build
cd
build
cd
build
cmake ../openmm
$CMAKE_FLAGS
cmake ../openmm
$CMAKE_FLAGS
make
-j4
all DoxygenApiDocs sphinxpdf
make
-j4
all DoxygenApiDocs sphinxpdf
# Install.
make
install
make
install
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