pitrou commented on a change in pull request #10237:
URL: https://github.com/apache/arrow/pull/10237#discussion_r625877050
##########
File path: docker-compose.yml
##########
@@ -1050,6 +1051,30 @@ services:
/bin/bash -c "
/arrow/ci/scripts/r_sanitize.sh /arrow"
+ ubuntu-r-valgrind:
+ # Only 18.04 and amd64 supported
+ # Usage:
+ # docker-compose build ubuntu-r-valgrind
+ # docker-compose run ubuntu-r-valgrind
+ image: ${REPO}:amd64-ubuntu-18.04-r-valgrind-r
+ build:
+ context: .
+ dockerfile: ci/docker/linux-r.dockerfile
+ args:
+ base: wch1/r-debug:latest
+ r_bin: RDvalgrind
+ environment:
+ <<: *ccache
+ # AVX512 not supported by Valgrind (similar to ARROW-9851) some runners
support AVX512 and some do not
+ # so some build might pass without this setting
+ ARROW_USER_SIMD_LEVEL: "AVX2"
+ ARROW_RUNTIME_SIMD_LEVEL: "AVX2"
Review comment:
`ARROW_USER_SIMD_LEVEL` isn't a CMake option, which is the whole point.
You use the same binary and change the instruction set at runtime.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]