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 b803bdf commit b378e24Copy full SHA for b378e24
.github/scripts/build-cuda.sh
@@ -5,8 +5,9 @@ declare cuda_version
5
6
set -xeuo pipefail
7
build_capability="50;52;60;61;70;75;80;86;89;90;100;120"
8
-[[ "${cuda_version}" == 11.7.* ]] && build_capability=${build_capability%??????????????????}
9
-[[ "${cuda_version}" == 11.8.* ]] && build_capability=${build_capability%?????????}
+[[ "${cuda_version}" == 11.7.* ]] && build_capability=${build_capability%???????????????????????}
+[[ "${cuda_version}" == 11.8.* ]] && build_capability=${build_capability%??????????????????}
10
+[[ "${cuda_version}" < 12.7 ]] && build_capability=${build_capability%??????????????????}
11
[[ "${build_os}" = windows-* ]] && python3 -m pip install ninja
12
13
if [ "${build_os:0:6}" == ubuntu ]; then
0 commit comments