Update setup_variables.sh
This commit is contained in:
parent
0b1ed6b6e9
commit
45c53ea59c
@ -41,8 +41,8 @@ elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
export CPU_CORES=" -- -j${CPU_CORES_NUM}"
|
||||
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
export CMAKE_EXTRA_ARGUMENTS="-DOPENSSL_USE_STATIC_LIBS=ON -DCMAKE_FIND_LIBRARY_SUFFIXES=\".a\""
|
||||
if [ "$CPU_ARCHITECTURE_NAME" = "aarch64" ]; then
|
||||
export CMAKE_EXTRA_ARGUMENTS="-DCMAKE_POSITION_INDEPENDENT_CODE=ON $CMAKE_EXTRA_ARGUMENTS"
|
||||
if [[ "$CPU_ARCHITECTURE_NAME" = "aarch64" ]]; then
|
||||
export CMAKE_EXTRA_ARGUMENTS="-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE $CMAKE_EXTRA_ARGUMENTS"
|
||||
fi
|
||||
export TRAVIS_CPU_ARCH_JAVA="$(tr '[:upper:]' '[:lower:]'<<<"${TRAVIS_CPU_ARCH}")"
|
||||
export PATH="$PATH:/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_JAVA/bin"
|
||||
|
Loading…
Reference in New Issue
Block a user