From 91104bbd5bcd3e6e9563a89246906bb024598d69 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 17 Aug 2022 20:22:16 +0200 Subject: [PATCH] MINOR: [CI][Java] Speed up JNI build Currently, Java JNI builds on Github Actions can take one hour due to a very long Arrow C++ build phase. Disable unused Arrow C++ components so as to make the C++ build faster. --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 5e73311cba9ef..e4363f9180bf7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1558,6 +1558,9 @@ services: shm_size: *shm-size environment: <<: *ccache + ARROW_BUILD_TESTS: "OFF" + ARROW_S3: "OFF" + ARROW_SUBSTRAIT: "OFF" volumes: - .:/arrow:delegated - ${DOCKER_VOLUME_PREFIX}maven-cache:/root/.m2:delegated