forked from OSchip/llvm-project
[libc++] Make sure the ENABLE_FILESYSTEM variable is always bound
The script always fails otherwise, since we run with 'set -u'
This commit is contained in:
parent
930eaadacf
commit
7a5d79de95
|
@ -120,8 +120,10 @@ LIBCXX_ROOT_ON_DEPLOYMENT_TARGET="${PREVIOUS_DYLIBS_DIR}/macOS/libc++/${DEPLOYME
|
|||
LIBCXXABI_ROOT_ON_DEPLOYMENT_TARGET="${PREVIOUS_DYLIBS_DIR}/macOS/libc++abi/${DEPLOYMENT_TARGET}"
|
||||
|
||||
# Filesystem is supported on Apple platforms starting with macosx10.15.
|
||||
if [[ ${DEPLOYMENT_TARGET} =~ "^10.9|10.10|10.11|10.12|10.13|10.14$" ]]; then
|
||||
ENABLE_FILESYSTEM="--param enable_filesystem=False"
|
||||
if [[ ${DEPLOYMENT_TARGET} =~ ^10.9|10.10|10.11|10.12|10.13|10.14$ ]]; then
|
||||
ENABLE_FILESYSTEM="--param enable_filesystem=false"
|
||||
else
|
||||
ENABLE_FILESYSTEM="--param enable_filesystem=true"
|
||||
fi
|
||||
|
||||
# TODO: We need to also run the tests for libc++abi.
|
||||
|
|
Loading…
Reference in New Issue