Update .travis.yml and setup_variables.sh
This commit is contained in:
parent
6c4c168fd8
commit
0b1ed6b6e9
@ -30,11 +30,8 @@ addons:
|
||||
- gperf
|
||||
- cmake
|
||||
- clang-10
|
||||
- clang-tools-10
|
||||
- libc++-10-dev
|
||||
- libc++abi-10-dev
|
||||
- libc++1-10
|
||||
- libc++abi1-10
|
||||
- ccache
|
||||
- maven
|
||||
- python3
|
||||
|
@ -41,6 +41,9 @@ 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"
|
||||
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"
|
||||
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_JAVA"
|
||||
|
Loading…
Reference in New Issue
Block a user