assignUser commented on code in PR #13131:
URL: https://github.com/apache/arrow/pull/13131#discussion_r874485300
##########
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
+ LIBARROW_MINIMAL: "false"
+ ARROW_MIMALLOC: "ON"
+ volumes: *ubuntu-volumes
+ command: /bin/bash -c "
+ cd /arrow && r/inst/build_arrow_static.sh"
Review Comment:
> This change seems to introduce new `R` builds, not `C++` builds.
Well it is a libarrow build for use in the R package, so both in a way?
The task itself needs a bit more involved
[template](https://github.com/assignUser/arrow/blob/ebf0e00db702bef2f00621318df92f50cf3711e9/dev/tasks/r/github.nightly.yml#L1)
than most jobs (at least currently moving it over 1:1 as mentioned above, we
can probably find a way to be more efficent later on)
--
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]