From 98c4be767b1e3fce9a1ad689f49a0d3bcfb047e1 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Thu, 20 Aug 2020 00:46:46 +0200 Subject: [PATCH] Update install_dependencies.sh and setup_variables.sh --- travis/install_dependencies.sh | 8 -------- travis/setup_variables.sh | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/travis/install_dependencies.sh b/travis/install_dependencies.sh index 85e8ed6..c5e2b31 100755 --- a/travis/install_dependencies.sh +++ b/travis/install_dependencies.sh @@ -15,14 +15,6 @@ source ./travis/setup_variables.sh if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo "Linux" - if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then - #sudo dd if=/dev/zero of=$TRAVIS_BUILD_DIR/myswap.img bs=4096 count=1048576 - sudo fallocate -l 4G $TRAVIS_BUILD_DIR/myswap.img - sudo chown root:root $TRAVIS_BUILD_DIR/myswap.img - sudo chmod 0600 $TRAVIS_BUILD_DIR/myswap.img - sudo mkswap $TRAVIS_BUILD_DIR/myswap.img - sudo swapon $TRAVIS_BUILD_DIR/myswap.img - fi elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then echo "Windows" choco install ccache diff --git a/travis/setup_variables.sh b/travis/setup_variables.sh index 03989ec..682895c 100755 --- a/travis/setup_variables.sh +++ b/travis/setup_variables.sh @@ -15,7 +15,7 @@ export MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java. export TRAVIS_CPU_ARCH_JAVA="${TRAVIS_CPU_ARCH,,}" if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then export TRAVIS_CPU_ARCH_STANDARD="aarch64" - export TRAVIS_CPU_CORES="1" + export TRAVIS_CPU_CORES="32" else export TRAVIS_CPU_ARCH_STANDARD="${TRAVIS_CPU_ARCH,,}" export TRAVIS_CPU_CORES="2"