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
cace5edf
Commit
cace5edf
authored
Jun 30, 2016
by
Saurabh Belsare
Browse files
added build.sh
parent
2af7f1b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
devtools/packaging/scripts/osx/build.sh
devtools/packaging/scripts/osx/build.sh
+4
-4
No files found.
devtools/packaging/scripts/osx/build.sh
View file @
cace5edf
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
export
WORKSPACE
=
`
pwd
`
export
WORKSPACE
=
`
pwd
`
# Add conda binaries to path.
# Add conda binaries to path.
PATH
=
$WORKSPACE
/mini
conda/bin:
$PATH
PATH
=
/Users/saurabhbelsare/software/ana
conda/bin:
$PATH
# Set install directory.
# Set install directory.
INSTALL
=
`
pwd
`
/install
INSTALL
=
`
pwd
`
/install
...
@@ -20,12 +20,12 @@ CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$INSTALL"
...
@@ -20,12 +20,12 @@ 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
#CMAKE_FLAGS+=" -DCMAKE_INSTALL_RPATH=.."
#CMAKE_FLAGS+=" -DCMAKE_INSTALL_RPATH=.."
CMAKE_FLAGS+
=
" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
CMAKE_FLAGS+
=
" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
CMAKE_FLAGS+
=
" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.
9
"
CMAKE_FLAGS+
=
" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.
10
"
CMAKE_FLAGS+
=
" -DCMAKE_OSX_SYSROOT=/
Applications
/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.
9
.sdk"
CMAKE_FLAGS+
=
" -DCMAKE_OSX_SYSROOT=/
Users/saurabhbelsare/software
/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.
10
.sdk"
# Build in subdirectory.
# Build in subdirectory.
# Set location for FFTW3
# Set location for FFTW3
PREFIX
=
"
$WORKSPACE
/mini
conda"
PREFIX
=
"
/Users/saurabhbelsare/software/ana
conda"
CMAKE_FLAGS+
=
" -DFFTW_INCLUDES=
$PREFIX
/include"
CMAKE_FLAGS+
=
" -DFFTW_INCLUDES=
$PREFIX
/include"
CMAKE_FLAGS+
=
" -DFFTW_LIBRARY=
$PREFIX
/lib/libfftw3f.dylib"
CMAKE_FLAGS+
=
" -DFFTW_LIBRARY=
$PREFIX
/lib/libfftw3f.dylib"
CMAKE_FLAGS+
=
" -DFFTW_THREADS_LIBRARY=
$PREFIX
/lib/libfftw3f_threads.dylib"
CMAKE_FLAGS+
=
" -DFFTW_THREADS_LIBRARY=
$PREFIX
/lib/libfftw3f_threads.dylib"
...
...
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