Commit 2c876b5 1 parent 743123c commit 2c876b5 Copy full SHA for 2c876b5
File tree 7 files changed +9
-9
lines changed
7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ methods to run clang-tidy on your local machine: using Docker or Conda.
144
144
1. Navigate to the repository root directory.
145
145
2. Create and activate the needed conda environment:
146
146
` ` ` bash
147
- conda env create --force -n cuml-clang-tidy -f conda/environments/clang_tidy_cuda-118_arch-x86_64.yaml
147
+ conda env create --yes -n cuml-clang-tidy -f conda/environments/clang_tidy_cuda-118_arch-x86_64.yaml
148
148
conda activate cuml-clang-tidy
149
149
` ` `
150
150
3. Generate the compile command database with
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ rapids-dependency-file-generator \
10
10
--file_key docs \
11
11
--matrix " cuda=${RAPIDS_CUDA_VERSION% .* } ;arch=$( arch) ;py=${RAPIDS_PY_VERSION} " | tee env.yaml
12
12
13
- rapids-mamba-retry env create --force -f env.yaml -n docs
13
+ rapids-mamba-retry env create --yes -f env.yaml -n docs
14
14
conda activate docs
15
15
16
16
rapids-print-env
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright (c) 2020-2023 , NVIDIA CORPORATION.
2
+ # Copyright (c) 2020-2024 , NVIDIA CORPORATION.
3
3
4
4
set -euo pipefail
5
5
@@ -11,7 +11,7 @@ rapids-dependency-file-generator \
11
11
--file_key checks \
12
12
--matrix " cuda=${RAPIDS_CUDA_VERSION% .* } ;arch=$( arch) ;py=${RAPIDS_PY_VERSION} " | tee env.yaml
13
13
14
- rapids-mamba-retry env create --force -f env.yaml -n checks
14
+ rapids-mamba-retry env create --yes -f env.yaml -n checks
15
15
conda activate checks
16
16
17
17
# Run pre-commit checks
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright (c) 2023, NVIDIA CORPORATION.
2
+ # Copyright (c) 2023-2024 , NVIDIA CORPORATION.
3
3
4
4
set -euo pipefail
5
5
@@ -11,7 +11,7 @@ rapids-dependency-file-generator \
11
11
--file_key clang_tidy \
12
12
--matrix " cuda=${RAPIDS_CUDA_VERSION% .* } ;arch=$( arch) ;py=${RAPIDS_PY_VERSION} " | tee env.yaml
13
13
14
- rapids-mamba-retry env create --force -f env.yaml -n clang_tidy
14
+ rapids-mamba-retry env create --yes -f env.yaml -n clang_tidy
15
15
# Temporarily allow unbound variables for conda activation.
16
16
set +u && conda activate clang_tidy && set -u
17
17
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ rapids-dependency-file-generator \
18
18
--matrix " cuda=${RAPIDS_CUDA_VERSION% .* } ;arch=$( arch) " \
19
19
--prepend-channels " ${CPP_CHANNEL} " | tee env.yaml
20
20
21
- rapids-mamba-retry env create --force -f env.yaml -n test
21
+ rapids-mamba-retry env create --yes -f env.yaml -n test
22
22
23
23
# Temporarily allow unbound variables for conda activation.
24
24
set +u
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ rapids-dependency-file-generator \
15
15
--matrix " cuda=${RAPIDS_CUDA_VERSION% .* } ;arch=$( arch) ;py=${RAPIDS_PY_VERSION} " \
16
16
--prepend-channels " ${CPP_CHANNEL} ;${PYTHON_CHANNEL} " | tee env.yaml
17
17
18
- rapids-mamba-retry env create --force -f env.yaml -n test
18
+ rapids-mamba-retry env create --yes -f env.yaml -n test
19
19
20
20
# Temporarily allow unbound variables for conda activation.
21
21
set +u
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ rapids-dependency-file-generator \
16
16
--matrix " cuda=${RAPIDS_CUDA_VERSION% .* } ;arch=$( arch) ;py=${RAPIDS_PY_VERSION} " \
17
17
--prepend-channels " ${CPP_CHANNEL} ;${PYTHON_CHANNEL} " | tee env.yaml
18
18
19
- rapids-mamba-retry env create --force -f env.yaml -n test
19
+ rapids-mamba-retry env create --yes -f env.yaml -n test
20
20
21
21
# Temporarily allow unbound variables for conda activation.
22
22
set +u
You can’t perform that action at this time.
0 commit comments