Update mac circleci environment (#644)

Apparently `Image xcode:9.0 is not supported` these days.
This commit is contained in:
Sam Clegg
2020-10-24 10:01:10 -07:00
committed by GitHub
parent da9419f42a
commit 10290f2f1d
3 changed files with 8 additions and 2 deletions

6
emsdk
View File

@@ -11,11 +11,17 @@ if [ -z "$EMSDK_PYTHON" ]; then
PYTHON3=$(dirname $0)/python/3.7.4-2_64bit/bin/python3
if [ -e $PYTHON3 ]; then
EMSDK_PYTHON=$PYTHON3
# When using our bundled python we never want the users
# PYTHONHOME or PYTHONPATH
# https://github.com/emscripten-core/emsdk/issues/598
unset PYTHONHOME
unset PYTHONPATH
# This is needed for MacOS. Without this, the urlopen
# code will try to use /usr/local/etc/openssl/cert.pem
# which may or may not exist on the system.
export SSL_CERT_FILE=$(dirname $0)/python/3.7.4-2_64bit/lib/python3.7/site-packages/certifi/cacert.pem
fi
fi