Update setup_variables.sh
This commit is contained in:
parent
ab69720151
commit
3cffccf5e5
@ -12,7 +12,9 @@ export TDNATIVES_CPP_BUILD_DIR=$TRAVIS_BUILD_DIR/build-tdlib
|
|||||||
export JAVA_SRC_DIR=$TRAVIS_BUILD_DIR/src/tdlib-java
|
export JAVA_SRC_DIR=$TRAVIS_BUILD_DIR/src/tdlib-java
|
||||||
export TDLIB_SERIALIZER_DIR=$TRAVIS_BUILD_DIR/dependencies/tdlib-serializer
|
export TDLIB_SERIALIZER_DIR=$TRAVIS_BUILD_DIR/dependencies/tdlib-serializer
|
||||||
export MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/javax.crypto=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED"
|
export MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/javax.crypto=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED"
|
||||||
export TRAVIS_CPU_ARCH_JAVA="${TRAVIS_CPU_ARCH,,}"
|
if [ "$TRAVIS_OS_NAME_STANDARD" = "linux" ]; then
|
||||||
|
export TRAVIS_CPU_ARCH_JAVA="${TRAVIS_CPU_ARCH,,}"
|
||||||
|
fi
|
||||||
if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then
|
if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then
|
||||||
export TRAVIS_CPU_ARCH_STANDARD="aarch64"
|
export TRAVIS_CPU_ARCH_STANDARD="aarch64"
|
||||||
export TRAVIS_CPU_CORES="2"
|
export TRAVIS_CPU_CORES="2"
|
||||||
|
Loading…
Reference in New Issue
Block a user