File tree Expand file tree Collapse file tree 3 files changed +25
-33
lines changed
Expand file tree Collapse file tree 3 files changed +25
-33
lines changed Original file line number Diff line number Diff line change @@ -184,15 +184,18 @@ 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"
193196 # requires_license_builder: false
194197 script : " ci/build_standalone_c.sh --build-tests"
195- artifact-name : " libcuvs_c_${{ matrix.cuda_version }}.tar.gz"
198+ artifact-name : " libcuvs_c_${{ matrix.cuda_version }}_${{ matrix.arch }} .tar.gz"
196199 file_to_upload : " libcuvs_c.tar.gz"
197200 sha : ${{ inputs.sha }}
198201 rocky8-clib-tests :
@@ -206,13 +209,16 @@ 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"
215- script : " ci/test_standalone_c.sh"
221+ script : " ci/test_standalone_c.sh libcuvs_c_${{ matrix.cuda_version }}_${{ matrix.arch }}.tar.gz "
216222 sha : ${{ inputs.sha }}
217223 conda-java-build-and-tests :
218224 needs : [conda-cpp-build, changed-files]
Original file line number Diff line number Diff line change 55set -euo pipefail
66
77TOOLSET_VERSION=14
8- CMAKE_VERSION=3.31.8
9- CMAKE_ARCH=x86_64
108
119BUILD_C_LIB_TESTS=" OFF"
1210if [[ " ${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-
3119source rapids-configure-sccache
32-
3320source rapids-date-string
3421
22+ rapids-pip-retry install cmake
23+ pyenv rehash
24+
3525rapids-print-env
3626
3727rapids-logger " Begin cpp build"
Original file line number Diff line number Diff line change 44
55set -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
9+
10+ INSTALL_PREFIX=" ${PWD} /libcuvs_c_install"
11+ mkdir -p " ${INSTALL_PREFIX} "
1912
2013# Download the standalone C library artifact
21- payload_name=" libcuvs_c_${RAPIDS_CUDA_VERSION} .tar.gz"
14+ if [ -z " $1 " ]; then
15+ echo " Error: name of the standalone C library artifact is missing"
16+ exit 1
17+ fi
18+
19+ payload_name=" $1 "
2220pkg_name=" libcuvs_c.tar.gz"
2321rapids-logger " Download ${payload_name} artifacts from previous jobs"
2422DOWNLOAD_LOCATION=$( rapids-download-from-github " ${payload_name} " )
2523
2624# Extract the artifact to a staging directory
27- INSTALL_PREFIX=" ${PWD} /libcuvs_c_install"
28- mkdir -p " ${INSTALL_PREFIX} "
29- ls -l " ${DOWNLOAD_LOCATION} "
3025tar -xf " ${DOWNLOAD_LOCATION} /${pkg_name} " -C " ${INSTALL_PREFIX} "
3126
27+
3228rapids-logger " Run C API tests"
3329ls -l " ${INSTALL_PREFIX} "
3430cd " $INSTALL_PREFIX " /bin/gtests/libcuvs
You can’t perform that action at this time.
0 commit comments