Skip to content

Commit

Permalink
Add RAPIDS_ARCH to override host arch (#10)
Browse files Browse the repository at this point in the history
* Add RAPIDS_PY_WHEEL_ARCH to override host arch

* Override arch with RAPIDS_ARCH
  • Loading branch information
sevagh authored Sep 22, 2022
1 parent f444b84 commit 7632753
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tools/rapids-package-name
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ if (( append_pyver == 1 )); then
fi

# for cpp and python package types, always append arch
pkg_name+="_$(arch)"
if [[ -v RAPIDS_ARCH ]] && [[ "${RAPIDS_ARCH}" != "" ]]; then
# use arch override if specified
pkg_name+="_${RAPIDS_ARCH}"
else
# otherwise use architecture of the host that's running the upload command
pkg_name+="_$(arch)"
fi

# for cpp and python package types, its a tarball, append .tar.gz and prepend project name
pkg_name="${repo_name}_${pkg_name}.tar.gz"
Expand Down

0 comments on commit 7632753

Please sign in to comment.