This is an automated email from the ASF dual-hosted git repository.

apitrou 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 8474ee5a3e MINOR: [CI][Java] Speed up JNI build (#13908)
8474ee5a3e is described below

commit 8474ee5a3ed725d4bb56c75fc1b13a53cba1fd1f
Author: Antoine Pitrou <[email protected]>
AuthorDate: Wed Aug 17 21:04:07 2022 +0200

    MINOR: [CI][Java] Speed up JNI build (#13908)
    
    Currently, Java JNI builds on Github Actions can take one hour due to a 
very long Arrow C++ build phase
    (example: 
https://github.com/apache/arrow/runs/7881918943?check_suite_focus=true#step:6:3512).
    
    Disable unused Arrow C++ components so as to make the C++ build faster.
    
    Authored-by: Antoine Pitrou <[email protected]>
    Signed-off-by: Antoine Pitrou <[email protected]>
---
 docker-compose.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docker-compose.yml b/docker-compose.yml
index 5e73311cba..e4363f9180 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

Reply via email to