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
fade85c4
Commit
fade85c4
authored
Dec 23, 2016
by
jchodera
Browse files
Update `osx` packaging scripts.
parent
40cad32b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
devtools/packaging/scripts/osx/build.sh
devtools/packaging/scripts/osx/build.sh
+1
-1
devtools/packaging/scripts/osx/prepare.sh
devtools/packaging/scripts/osx/prepare.sh
+6
-6
No files found.
devtools/packaging/scripts/osx/build.sh
View file @
fade85c4
...
@@ -21,7 +21,7 @@ CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$INSTALL"
...
@@ -21,7 +21,7 @@ CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$INSTALL"
#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.9"
CMAKE_FLAGS+
=
" -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.
9
.sdk"
CMAKE_FLAGS+
=
" -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.
11
.sdk"
CMAKE_FLAGS+
=
" -DOPENMM_GENERATE_API_DOCS=ON"
CMAKE_FLAGS+
=
" -DOPENMM_GENERATE_API_DOCS=ON"
# Build in subdirectory.
# Build in subdirectory.
...
...
devtools/packaging/scripts/osx/prepare.sh
View file @
fade85c4
...
@@ -6,18 +6,18 @@
...
@@ -6,18 +6,18 @@
export
WORKSPACE
=
`
pwd
`
export
WORKSPACE
=
`
pwd
`
# Install miniconda
# Install miniconda
export
VERSION
=
"
L
atest"
export
VERSION
=
"
l
atest"
export
PLATFORM
=
"MacOSX"
export
PLATFORM
=
"MacOSX"
export
ARCH
=
"x86_64"
export
ARCH
=
"x86_64"
export
MINICONDA
=
"Miniconda-
$VERSION
-
$PLATFORM
-
$ARCH
.sh"
export
MINICONDA
=
"Miniconda
3
-
$VERSION
-
$PLATFORM
-
$ARCH
.sh"
if
[
-f
miniconda
]
;
if
[
-f
$WORKSPACE
/
miniconda
]
;
then
then
echo
"miniconda already exists"
echo
"miniconda already exists"
else
else
echo
"Downloading miniconda..."
echo
"Downloading miniconda..."
rm
-rf
Miniconda-
*
rm
-rf
$WORKSPACE
/
Miniconda
3
-
*
wget
--quiet
http://repo.continuum.io/miniconda/
${
MINICONDA
}
wget http
s
://repo.continuum.io/miniconda/
${
MINICONDA
}
bash
${
MINICONDA
}
-b
-p
miniconda
bash
${
MINICONDA
}
-b
-p
$WORKSPACE
/
miniconda
PIP_ARGS
=
"-U"
PIP_ARGS
=
"-U"
fi
fi
...
...
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