Skip to content

Commit

Permalink
Merge pull request #7935 from cms-sw/fix-cuda-gcc-support
Browse files Browse the repository at this point in the history
remove cuda-gcc-support tool if cuda gcc support not available
  • Loading branch information
smuzaffar authored Jun 15, 2022
2 parents 4d4c7ec + 5deb5a3 commit 8799515
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scram-tool-conf.file
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ if [ "${DUP_BIN}" != "" ] ; then
exit 1
fi
set -x
if [ -e %{i}/tools/selected/cuda-gcc-support.xml ] ; then
if [ "%{cuda_gcc_support}" != "true" ] ; then
rm -f %{i}/tools/selected/cuda-gcc-support.xml
echo "WARNING: CUDA does not support this GCC version, removing cuda-gcc-support.xml tool file"
fi
fi

%post

Expand Down

0 comments on commit 8799515

Please sign in to comment.