kszucs commented on code in PR #13131:
URL: https://github.com/apache/arrow/pull/13131#discussion_r874092942
##########
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:
We define static builds in `tasks.yml` like the following:
```
test-ubuntu-18.04-cpp-static:
ci: github
template: docker-tests/github.linux.yml
params:
env:
UBUNTU: 18.04
flags: "-e ARROW_BUILD_SHARED=OFF -e ARROW_BUILD_STATIC=ON -e
ARROW_TEST_LINKAGE=static"
image: ubuntu-cpp
```
##########
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:
We define static builds in `tasks.yml` like the following:
```yaml
test-ubuntu-18.04-cpp-static:
ci: github
template: docker-tests/github.linux.yml
params:
env:
UBUNTU: 18.04
flags: "-e ARROW_BUILD_SHARED=OFF -e ARROW_BUILD_STATIC=ON -e
ARROW_TEST_LINKAGE=static"
image: ubuntu-cpp
```
--
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]