assignUser commented on code in PR #13131:
URL: https://github.com/apache/arrow/pull/13131#discussion_r874478345
##########
docker-compose.yml:
##########
@@ -351,7 +353,65 @@ services:
- .:/arrow:delegated
- ${DOCKER_VOLUME_PREFIX}ubuntu-ccache:/ccache:delegated
command: *cpp-command
+
+ ubuntu-cpp-static:
+ # Usage:
+ # docker-compose build ubuntu-cpp-static
+ # docker-compose run --rm ubuntu-cpp-static
+ # Parameters:
+ # ARCH: amd64, arm64v8, s390x, ...
+ # UBUNTU: 18.04, 20.04
+ image: ${REPO}:${ARCH}-ubuntu-${UBUNTU}-cpp-static
+ build:
+ context: .
+ dockerfile: ci/docker/ubuntu-${UBUNTU}-cpp.dockerfile
+ cache_from:
+ - ${REPO}:${ARCH}-ubuntu-${UBUNTU}-cpp-static
+ args:
+ arch: ${ARCH}
+ base: "${ARCH}/ubuntu:${UBUNTU}"
+ clang_tools: ${CLANG_TOOLS}
+ llvm: ${LLVM}
+ gcc_version: ${GCC_VERSION}
+ shm_size: *shm-size
+ cap_add:
+ - SYS_ADMIN
+ devices:
+ - "/dev/fuse:/dev/fuse"
+ security_opt:
+ - apparmor:unconfined
+ ulimits: *ulimits
+ environment:
+ <<: *ccache
+ ARROW_HOME: /arrow
+ ARROW_DEPENDENCY_SOURCE: BUNDLED
Review Comment:
I named them like this as they run `r/inst/build_arrow_static.sh` which does
set `ARROW_BUILD_STATIC=ON`. But we can rename them. Maybe `*-cpp-r-static` or
something like you suggested in another comment?
As this is part of moving over the builds from
https://github.com/ursa-labs/arrow-r-nightly I first wanted to move the jobs
over as 1:1 as possible and optimize in a follow up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]