This repository was archived by the owner on Aug 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +25
-16
lines changed Expand file tree Collapse file tree 6 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 23
23
hooks :
24
24
- id : verify-copyright
25
25
args : [--fix, --main-branch=main]
26
+ - repo : https://github.com/shellcheck-py/shellcheck-py
27
+ rev : v0.10.0.1
28
+ hooks :
29
+ - id : shellcheck
30
+ args : ["--severity=warning"]
31
+ files : ^ci/
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright (c) 2024, NVIDIA CORPORATION
2
+ # Copyright (c) 2024-2025 , NVIDIA CORPORATION
3
3
4
4
set -euo pipefail
5
5
@@ -17,7 +17,8 @@ rapids-print-env
17
17
18
18
rapids-logger " Begin py build"
19
19
20
- export CUDA_VERSION=" $( cat pynvjitlink/CUDA_VERSION) "
20
+ CUDA_VERSION=" $( cat pynvjitlink/CUDA_VERSION) "
21
+ export CUDA_VERSION
21
22
22
23
cat > cuda_compiler_version.yaml << EOF
23
24
cuda_compiler_version:
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright (c) 2023-2024 , NVIDIA CORPORATION
2
+ # Copyright (c) 2023-2025 , NVIDIA CORPORATION
3
3
4
4
set -euo pipefail
5
5
@@ -8,7 +8,7 @@ source rapids-configure-sccache
8
8
rapids-logger " Install CUDA Toolkit"
9
9
source " $( dirname " $0 " ) /install_latest_cuda_toolkit.sh"
10
10
11
- RAPIDS_PY_CUDA_SUFFIX=" $( rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION} ) "
11
+ RAPIDS_PY_CUDA_SUFFIX=" $( rapids-wheel-ctk-name-gen " ${RAPIDS_CUDA_VERSION} " ) "
12
12
13
13
sccache --zero-stats
14
14
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright (c) 2024, NVIDIA CORPORATION
2
+ # Copyright (c) 2024-2025 , NVIDIA CORPORATION
3
3
4
4
# Installs the latest CUDA Toolkit.
5
5
# Supports Rocky Linux 8.
@@ -13,12 +13,14 @@ if [ "${OS_ID}" != "rocky" ]; then
13
13
exit 1
14
14
fi
15
15
16
- export CUDA_VERSION=" $( cat pynvjitlink/CUDA_VERSION) "
17
- export YUM_CUDA_VERSION=" ${CUDA_VERSION// ./ -} "
16
+ CUDA_VERSION=" $( cat pynvjitlink/CUDA_VERSION) "
17
+ export CUDA_VERSION
18
+ YUM_CUDA_VERSION=" ${CUDA_VERSION// ./ -} "
19
+ export YUM_CUDA_VERSION
18
20
19
21
yum install -y \
20
- cuda-nvcc-$YUM_CUDA_VERSION \
21
- cuda-cudart-devel-$YUM_CUDA_VERSION \
22
- cuda-driver-devel-$YUM_CUDA_VERSION \
23
- libnvjitlink-devel-$YUM_CUDA_VERSION \
22
+ cuda-nvcc-" $YUM_CUDA_VERSION " \
23
+ cuda-cudart-devel-" $YUM_CUDA_VERSION " \
24
+ cuda-driver-devel-" $YUM_CUDA_VERSION " \
25
+ libnvjitlink-devel-" $YUM_CUDA_VERSION " \
24
26
;
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright (c) 2024, NVIDIA CORPORATION.
2
+ # Copyright (c) 2024-2025 , NVIDIA CORPORATION.
3
3
4
4
# # Usage
5
5
# bash update-version.sh <new_version>
@@ -12,7 +12,7 @@ echo "Preparing release $CURRENT_TAG => $NEXT_FULL_TAG"
12
12
13
13
# Inplace sed replace; workaround for Linux and Mac
14
14
function sed_runner() {
15
- sed -i.bak ' ' " $1 " ' ' $2 && rm -f ${2} .bak
15
+ sed -i.bak ' ' " $1 " ' ' " $2 " && rm -f " ${2} " .bak
16
16
}
17
17
18
18
# Centralized version file update
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright (c) 2023-2024 , NVIDIA CORPORATION
2
+ # Copyright (c) 2023-2025 , NVIDIA CORPORATION
3
3
4
4
set -euo pipefail
5
5
6
6
rapids-logger " Download Wheel"
7
- RAPIDS_PY_CUDA_SUFFIX=" $( rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION} ) "
7
+ RAPIDS_PY_CUDA_SUFFIX=" $( rapids-wheel-ctk-name-gen " ${RAPIDS_CUDA_VERSION} " ) "
8
8
RAPIDS_PY_WHEEL_NAME=" pynvjitlink_${RAPIDS_PY_CUDA_SUFFIX} " rapids-download-wheels-from-s3 ./dist/
9
9
10
10
RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:- " ${PWD} /test-results" } /
11
11
mkdir -p " ${RAPIDS_TESTS_DIR} "
12
12
13
13
rapids-logger " Install wheel"
14
- python -m pip install $( echo ./dist/pynvjitlink_${RAPIDS_PY_CUDA_SUFFIX} * .whl) [test]
14
+ python -m pip install " $( echo ./dist/pynvjitlink_" ${RAPIDS_PY_CUDA_SUFFIX} " * .whl) [test]"
15
15
16
16
rapids-logger " Build Tests"
17
17
pushd test_binary_generation
You can’t perform that action at this time.
0 commit comments