We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c9ef6e commit a2b6478Copy full SHA for a2b6478
tools/rapids-generate-pip-constraints
@@ -18,14 +18,20 @@
18
19
set -euo pipefail
20
21
+export RAPIDS_SCRIPT_NAME="rapids-generate-pip-constraints"
22
+
23
file_key="${1}"
24
out_file="${2}"
25
-echo "" > "${out_file}"
26
if [[ "${RAPIDS_DEPENDENCIES}" == "oldest" ]]; then
27
rapids-dependency-file-generator \
28
--output requirements \
29
--file-key "${file_key}" \
30
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION};dependencies=${RAPIDS_DEPENDENCIES}" \
31
| tee "${out_file}"
32
+elif [[ "${RAPIDS_DEPENDENCIES}" == "latest" ]]; then
33
+ echo "" > "${out_file}"
34
+else
35
+ rapids-echo-stderr "Got unrecognized value for RAPIDS_DEPENDENCIES: '${RAPIDS_DEPENDENCIES}'. Expected one of ('latest', 'oldest')."
36
+ exit 1
37
fi
0 commit comments