Skip to content

Commit

Permalink
Actually pass SIMD env vars to Docker guest
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Jul 13, 2023
1 parent 02acedf commit 5aef169
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ x-sccache: &sccache
SCCACHE_REGION:
SCCACHE_S3_KEY_PREFIX: ${SCCACHE_S3_KEY_PREFIX:-sccache}

x-cpp: &cpp
ARROW_RUNTIME_SIMD_LEVEL:
ARROW_SIMD_LEVEL:

# CPU/memory limit presets to pass to Docker.
#
# Usage: archery docker run --resource-limit=github <image>
Expand Down Expand Up @@ -227,7 +231,7 @@ services:
ulimits: &ulimits
core: ${ULIMIT_CORE}
environment:
<<: [*common, *ccache]
<<: [*common, *ccache, *cpp]
ARROW_ENABLE_TIMING_TESTS: # inherit
ARROW_MIMALLOC: "ON"
volumes: &alpine-linux-volumes
Expand Down Expand Up @@ -278,7 +282,7 @@ services:
shm_size: *shm-size
ulimits: *ulimits
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
ARROW_BUILD_BENCHMARKS: "ON"
ARROW_BUILD_EXAMPLES: "ON"
ARROW_ENABLE_TIMING_TESTS: # inherit
Expand Down Expand Up @@ -313,7 +317,7 @@ services:
arch: ${ARCH}
shm_size: *shm-size
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
# Shrink test runtime by enabling minimal optimizations
ARROW_C_FLAGS_DEBUG: "-g1 -Og"
ARROW_CXX_FLAGS_DEBUG: "-g1 -Og"
Expand Down Expand Up @@ -349,7 +353,7 @@ services:
shm_size: *shm-size
ulimits: *ulimits
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
ARROW_ENABLE_TIMING_TESTS: # inherit
ARROW_MIMALLOC: "ON"
volumes: &debian-volumes
Expand Down Expand Up @@ -390,7 +394,7 @@ services:
- apparmor:unconfined
ulimits: *ulimits
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
ARROW_ENABLE_TIMING_TESTS: # inherit
ARROW_MIMALLOC: "ON"
volumes: &ubuntu-volumes
Expand Down Expand Up @@ -426,7 +430,7 @@ services:
- apparmor:unconfined
ulimits: *ulimits
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
ARROW_HOME: /arrow
ARROW_DEPENDENCY_SOURCE: BUNDLED
LIBARROW_MINIMAL: "false"
Expand All @@ -448,7 +452,7 @@ services:
volumes:
- .:/arrow:delegated
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
ARROW_DEPENDENCY_SOURCE: BUNDLED
ARROW_HOME: /arrow
LIBARROW_MINIMAL: "false"
Expand All @@ -470,7 +474,7 @@ services:
shm_size: *shm-size
ulimits: *ulimits
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
ARROW_DEPENDENCY_SOURCE: BUNDLED
CMAKE_GENERATOR: "Unix Makefiles"
volumes: *ubuntu-volumes
Expand All @@ -491,7 +495,7 @@ services:
shm_size: *shm-size
ulimits: *ulimits
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
ARROW_BUILD_UTILITIES: "OFF"
ARROW_COMPUTE: "OFF"
ARROW_CSV: "OFF"
Expand Down Expand Up @@ -538,7 +542,7 @@ services:
shm_size: *shm-size
ulimits: *ulimits
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
ARROW_BUILD_UTILITIES: "OFF"
ARROW_COMPUTE: "OFF"
ARROW_CSV: "OFF"
Expand Down Expand Up @@ -588,7 +592,7 @@ services:
shm_size: *shm-size
volumes: *ubuntu-volumes
environment:
<<: [*common, *ccache]
<<: [*common, *ccache, *cpp]
CC: clang-${CLANG_TOOLS}
CXX: clang++-${CLANG_TOOLS}
# Avoid creating huge static libraries
Expand Down Expand Up @@ -630,7 +634,7 @@ services:
shm_size: *shm-size
volumes: *ubuntu-volumes
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
CC: clang-${CLANG_TOOLS}
CXX: clang++-${CLANG_TOOLS}
ARROW_BUILD_STATIC: "OFF"
Expand Down Expand Up @@ -662,7 +666,7 @@ services:
shm_size: *shm-size
ulimits: *ulimits
environment:
<<: [*common, *ccache, *sccache]
<<: [*common, *ccache, *sccache, *cpp]
ARROW_ENABLE_TIMING_TESTS: # inherit
ARROW_MIMALLOC: "ON"
Protobuf_SOURCE: "BUNDLED" # Need Protobuf >= 3.15
Expand Down

0 comments on commit 5aef169

Please sign in to comment.