From 130e12f27277359be5e7a5cd643825dec41bd089 Mon Sep 17 00:00:00 2001 From: Vivian Kong Date: Wed, 26 Aug 2020 08:34:46 -0400 Subject: [PATCH] ARROW-9844: [CI] Add Go build job on s390x --- .travis.yml | 7 +++++++ go/arrow/internal/cpu/cpu_s390x.go | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 go/arrow/internal/cpu/cpu_s390x.go diff --git a/.travis.yml b/.travis.yml index fa5d84c82c7..31aeb64f567 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,6 +56,13 @@ jobs: UBUNTU: "20.04" cares_SOURCE: "BUNDLED" gRPC_SOURCE: "BUNDLED" + - name: "Go on s390x" + os: linux + arch: s390x + env: + ARCH: s390x + ARROW_CI_MODULES: "GO" + DOCKER_IMAGE_ID: debian-go allow_failures: - arch: s390x diff --git a/go/arrow/internal/cpu/cpu_s390x.go b/go/arrow/internal/cpu/cpu_s390x.go new file mode 100644 index 00000000000..3c1a2964243 --- /dev/null +++ b/go/arrow/internal/cpu/cpu_s390x.go @@ -0,0 +1,7 @@ +// Copyright 2020 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package cpu + +const CacheLineSize = 256