Skip to content

Commit

Permalink
fix build-cuda.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnynunez authored Jan 22, 2025
1 parent 713e947 commit b803bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/build-cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ declare cuda_version

set -xeuo pipefail
build_capability="50;52;60;61;70;75;80;86;89;90;100;120"
[[ "${cuda_version}" == 11.7.* ]] && build_capability=${build_capability%????????}
[[ "${cuda_version}" == 11.8.* ]] && build_capability=${build_capability%?????}
[[ "${cuda_version}" == 11.7.* ]] && build_capability=${build_capability%??????????????????}
[[ "${cuda_version}" == 11.8.* ]] && build_capability=${build_capability%?????????}
[[ "${build_os}" = windows-* ]] && python3 -m pip install ninja

if [ "${build_os:0:6}" == ubuntu ]; then
Expand Down

0 comments on commit b803bdf

Please sign in to comment.