Skip to content

Commit

Permalink
fix cuda 12.7 build-cuda.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnynunez authored Jan 22, 2025
1 parent b803bdf commit b378e24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/scripts/build-cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ 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%??????????????????}
[[ "${cuda_version}" < 12.7 ]] && 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 b378e24

Please sign in to comment.