Skip to content

Commit 0cb92d2

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

File tree

3 files changed

+13
-27
lines changed

3 files changed

+13
-27
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 & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
set -euo pipefail
66

77
TOOLSET_VERSION=14
8-
CMAKE_VERSION=3.31.8
9-
CMAKE_ARCH=x86_64
108

119
BUILD_C_LIB_TESTS="OFF"
1210
if [[ "${1:-}" == "--build-tests" ]]; then
@@ -18,20 +16,12 @@ dnf install -y \
1816
tar \
1917
make
2018

21-
# Fetch and install CMake.
22-
if [ ! -e "/usr/local/bin/cmake" ]; then
23-
pushd /usr/local
24-
wget --quiet https://github.com/Kitware/CMake/releases/download/v"${CMAKE_VERSION}"/cmake-"${CMAKE_VERSION}"-linux-"${CMAKE_ARCH}".tar.gz
25-
tar zxf cmake-"${CMAKE_VERSION}"-linux-"${CMAKE_ARCH}".tar.gz
26-
rm cmake-"${CMAKE_VERSION}"-linux-"${CMAKE_ARCH}".tar.gz
27-
ln -s /usr/local/cmake-"${CMAKE_VERSION}"-linux-"${CMAKE_ARCH}"/bin/cmake /usr/local/bin/cmake
28-
popd
29-
fi
30-
3119
source rapids-configure-sccache
32-
3320
source rapids-date-string
3421

22+
rapids-pip-retry install cmake
23+
pyenv rehash
24+
3525
rapids-print-env
3626

3727
rapids-logger "Begin cpp build"

ci/test_standalone_c.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,8 @@
44

55
set -euo pipefail
66

7-
CMAKE_VERSION=4.1.2
8-
CMAKE_ARCH=x86_64
9-
10-
# Fetch and install CMake.
11-
if [ ! -e "/usr/local/bin/cmake" ]; then
12-
pushd /usr/local
13-
wget --quiet https://github.com/Kitware/CMake/releases/download/v"${CMAKE_VERSION}"/cmake-"${CMAKE_VERSION}"-linux-"${CMAKE_ARCH}".tar.gz
14-
tar zxf cmake-"${CMAKE_VERSION}"-linux-"${CMAKE_ARCH}".tar.gz
15-
rm cmake-"${CMAKE_VERSION}"-linux-"${CMAKE_ARCH}".tar.gz
16-
ln -s /usr/local/cmake-"${CMAKE_VERSION}"-linux-"${CMAKE_ARCH}"/bin/cmake /usr/local/bin/cmake
17-
popd
18-
fi
7+
rapids-pip-retry install cmake
8+
pyenv rehash
199

2010
# Download the standalone C library artifact
2111
payload_name="libcuvs_c_${RAPIDS_CUDA_VERSION}.tar.gz"

0 commit comments

Comments
 (0)