Skip to content

Commit

Permalink
MINOR: [CI][Java] Speed up JNI build (#13908)
Browse files Browse the repository at this point in the history
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 <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
  • Loading branch information
pitrou committed Aug 17, 2022
1 parent 4fa4007 commit 8474ee5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8474ee5

Please sign in to comment.