Skip to content

Commit

Permalink
[C++][CI] Make integration build a bit leaner
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Aug 24, 2023
1 parent b9453a2 commit 3c0e444
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/docker/conda-integration.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@ ENV ARROW_ACERO=OFF \
ARROW_FLIGHT=ON \
ARROW_FLIGHT_SQL=ON \
ARROW_GANDIVA=OFF \
ARROW_GCS=OFF \
ARROW_HDFS=OFF \
ARROW_JEMALLOC=OFF \
ARROW_JSON=OFF \
ARROW_ORC=OFF \
ARROW_PARQUET=OFF \
ARROW_S3=OFF \
ARROW_SUBSTRAIT=OFF \
ARROW_USE_GLOG=OFF \
CMAKE_UNITY_BUILD=ON
3 changes: 3 additions & 0 deletions ci/scripts/cpp_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ cmake \
export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:-$[${n_jobs} + 1]}
time cmake --build . --target install

# Save disk space by removing large temporary build products
find . -name "*.o" -delete

popd

if [ -x "$(command -v ldconfig)" ]; then
Expand Down

0 comments on commit 3c0e444

Please sign in to comment.