Skip to content
Snippets Groups Projects
Commit 5aa8e6bf authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Set MacOSX min version to 10.7 to follow defaults

parent 97a561f0
No related branches found
No related tags found
1 merge request!42Staging
......@@ -3,8 +3,8 @@
# Build utilities
# Determines the architecture we're using
arch() {
# Determines the os name we're using
osname() {
[[ "$(uname -s)" == "Darwin" ]] && echo "macosx" || echo "linux"
}
......@@ -226,7 +226,7 @@ check_pass DOCUSER
check_pass DOCPASS
# Sets up variables
ARCH=`arch`
OSNAME=`osname`
if [ -z "${CONDA_FOLDER}" ]; then
CONDA_FOLDER=/opt/conda
......@@ -255,7 +255,7 @@ if [ -z "{PREFIX}" ]; then
fi
fi
if [ "${ARCH}" == "linux" ]; then
if [ "${OSNAME}" == "linux" ]; then
# Temporary hack to get building done right with gcc-5 compilers
if [ -z "${CFLAGS}" ]; then
CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"
......@@ -273,7 +273,7 @@ fi
TESTSERVER=https://testpypi.python.org/pypi
check_env ARCH
check_env OSNAME
check_env PYVER
check_env PREFIX
export_env PREFIX
......@@ -298,3 +298,8 @@ if [ -z "${CI_BUILD_TAG}" ]; then
else
log_info "Building tag, not setting BOB_DOCUMENTATION_SERVER"
fi
if [ "${OSNAME}" == "macosx" ]; then
MACOSX_DEPLOYMENT_TARGET="10.7"
export_env MACOSX_DEPLOYMENT_TARGET
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment