Skip to content

Commit

Permalink
Force disabling for alma linux distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
ChSonnabend committed Dec 1, 2024
1 parent f5fd93b commit 5e0f296
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onnxruntime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ if ( [[ "$ALIBUILD_O2_FORCE_GPU" -eq 1 ]] || [[ "$ALIBUILD_ENABLE_CUDA" -eq 1 ]]
( command -v nvcc >/dev/null 2>&1 ) && \
[[ -f /usr/include/cudnn.h ]] && \
[[ -z "$ORT_CUDA_BUILD" ]] ) ) && \
[[ "$ORT_ROCM_BUILD" -eq 0 ]]; then
[[ "$ORT_ROCM_BUILD" -eq 0 ]] && \
[[ -z "$ALMA_LINUX_MAJOR_VERSION" ]]; then
export ORT_CUDA_BUILD=1
: ${ALIBUILD_O2_OVERRIDE_CUDA_ARCHS:="sm_86"}

Check notice on line 56 in onnxruntime.sh

View workflow job for this annotation

GitHub Actions / alidistlint

This default assignment may cause DoS due to globbing. Quote it. [SC2223]
else
Expand Down

0 comments on commit 5e0f296

Please sign in to comment.