Skip to content

Commit

Permalink
append generic pyver(_py3) for wheel_cpp types
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Apr 2, 2024
1 parent 41f8346 commit 799d692
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/rapids-package-name
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pkg_type="$1"
append_cuda=0
append_wheelname=0
append_pyver=0
append_generic_pyver=0
append_arch=0

case "${pkg_type}" in
Expand All @@ -33,6 +34,7 @@ case "${pkg_type}" in
append_wheelname=1
append_cuda=1
append_arch=1
append_generic_pyver=1
;;
wheel_python)
append_wheelname=1
Expand Down Expand Up @@ -65,6 +67,11 @@ if (( append_pyver == 1 )); then
pkg_name+="_py${RAPIDS_PY_VERSION//./}"
fi

# for wheels that bundle shared libraries, add generic pyver
if (( append_generic_pyver == 1 )); then
pkg_name+="_py3"
fi

# for cpp and python package types (except pure wheels), append the arch
if (( append_arch == 1)); then
if [[ -v RAPIDS_ARCH ]] && [[ "${RAPIDS_ARCH}" != "" ]]; then
Expand Down

0 comments on commit 799d692

Please sign in to comment.