Skip to content

Commit 9322549

Browse files
committed
Add arm64 builds to the libcuvs_c rocky8 matrix
1 parent 50a8f84 commit 9322549

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/pr.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,12 @@ jobs:
184184
cuda_version:
185185
- &latest_cuda12 '12.9.1'
186186
- &latest_cuda13 '13.0.2'
187+
arch:
188+
- amd64
189+
- arm64
187190
with:
188191
build_type: pull-request
189-
arch: "amd64"
192+
arch: "${{matrix.arch}}"
190193
date: ${{ inputs.date }}_c
191194
container_image: "rapidsai/ci-wheel:26.02-cuda${{ matrix.cuda_version }}-rockylinux8-py3.10"
192195
node_type: "cpu16"
@@ -206,10 +209,13 @@ jobs:
206209
cuda_version:
207210
- *latest_cuda12
208211
- *latest_cuda13
212+
arch:
213+
- amd64
214+
- arm64
209215
with:
210216
build_type: pull-request
211217
node_type: "gpu-l4-latest-1"
212-
arch: "amd64"
218+
arch: "${{matrix.arch}}"
213219
date: ${{ inputs.date }}_c
214220
container_image: "rapidsai/ci-wheel:26.02-cuda${{ matrix.cuda_version }}-rockylinux8-py3.10"
215221
script: "ci/test_standalone_c.sh"

ci/build_standalone_c.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ set -euo pipefail
77
TOOLSET_VERSION=14
88
CMAKE_VERSION=3.31.8
99
CMAKE_ARCH=x86_64
10+
if [[ "${RUNNER_ARCH}" == "arm64" ]]; then
11+
CMAKE_ARCH=aarch64
12+
fi
1013

1114
BUILD_C_LIB_TESTS="OFF"
1215
if [[ "${1:-}" == "--build-tests" ]]; then

ci/test_standalone_c.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ set -euo pipefail
66

77
CMAKE_VERSION=4.1.2
88
CMAKE_ARCH=x86_64
9+
if [[ "${RUNNER_ARCH}" == "arm64" ]]; then
10+
CMAKE_ARCH=aarch64
11+
fi
912

1013
# Fetch and install CMake.
1114
if [ ! -e "/usr/local/bin/cmake" ]; then

0 commit comments

Comments
 (0)