Update setup_variables.sh

This commit is contained in:
Andrea Cavalli 2020-10-10 22:30:17 +02:00
parent a44bb66bc6
commit 038b1ee84f

View File

@ -37,6 +37,8 @@ elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
export JAVA_HOME="$(/usr/libexec/java_home -v 14)"
export JAVA_INCLUDE_PATH="$(/usr/libexec/java_home -v 14)/include"
export CPU_CORES=" -- -j${CPU_CORES_NUM}"
export CXXFLAGS="-stdlib=libc++"
export CFLAGS="-stdlib=libc++"
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export CMAKE_EXTRA_ARGUMENTS=""
export TRAVIS_CPU_ARCH_JAVA="$(tr '[:upper:]' '[:lower:]'<<<"${TRAVIS_CPU_ARCH}")"