You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2021/06/09 02:34:54 UTC
[arrow] branch master updated: ARROW-12991: [CI] Migrate Travis-CI
ARM job to "arm64-graviton2" arch
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 39dcb43 ARROW-12991: [CI] Migrate Travis-CI ARM job to "arm64-graviton2" arch
39dcb43 is described below
commit 39dcb43dd26df51391f0da14b6e6285d612f3829
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Wed Jun 9 11:33:11 2021 +0900
ARROW-12991: [CI] Migrate Travis-CI ARM job to "arm64-graviton2" arch
Closes #10478 from pitrou/ARROW-12991-arm64-graviton2
Lead-authored-by: Sutou Kouhei <ko...@clear-code.com>
Co-authored-by: Antoine Pitrou <an...@python.org>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
.travis.yml | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index fd87cf3..861cc77 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-dist: bionic
+dist: focal
language: minimal
@@ -43,7 +43,13 @@ jobs:
include:
- name: "C++ on ARM"
os: linux
- arch: arm64
+ arch: arm64-graviton2
+ # This is required for arm64-graviton2.
+ # https://docs.travis-ci.com/user/multi-cpu-architectures/#example-multi-architecture-build-matrix
+ group: edge
+ # This is required for arm64-graviton2.
+ # https://docs.travis-ci.com/user/multi-cpu-architectures/#testing-on-multiple-cpu-architectures
+ virt: vm
env:
<<: *global_env
ARCH: arm64v8
@@ -51,22 +57,12 @@ jobs:
DOCKER_IMAGE_ID: ubuntu-cpp
# ARROW_USE_GLOG=OFF is needed to avoid build error caused by
# glog and CMAKE_UNITY_BUILD=ON.
- #
- # Disable ARROW_S3 because it often causes "No output has
- # been received in the last 10m0s, this potentially indicates
- # a stalled build or something wrong with the build itself."
- # on Travis CI.
- #
- # Limiting CPP_MAKE_PARALLELISM is required to avoid random compiler
- # crashes.
DOCKER_RUN_ARGS: >-
"
-e ARROW_BUILD_STATIC=OFF
-e ARROW_ORC=OFF
- -e ARROW_S3=OFF
-e ARROW_USE_GLOG=OFF
-e CMAKE_UNITY_BUILD=ON
- -e CPP_MAKE_PARALLELISM=4
"
# The LLVM's APT repository doesn't provide arm64 binaries.
# We should use LLVM provided by Ubuntu.
@@ -139,14 +135,11 @@ before_install:
fi
install:
- - pip3 install -e dev/archery[docker]
+ - sudo -H pip3 install --upgrade pip
+ - sudo -H pip3 install docker-compose
+ - sudo -H pip3 install -e dev/archery[docker]
script:
- - sudo sysctl -w kernel.core_pattern="core.%e.%p"
- # This isn't allowed on Travis CI:
- # /home/travis/.travis/functions: line 109: ulimit: core file size: cannot modify limit: Operation not permitted
- - |
- ulimit -c unlimited || :
- |
archery docker run \
${DOCKER_RUN_ARGS} \