gcc: Restrict permitted cuda versions (#19267)

gcc seems to use sm_30, which has been dropped in cuda@11.
This commit is contained in:
Michael Kuhn 2020-10-12 21:15:51 +02:00 committed by GitHub
parent 7c12ca1d83
commit a062517d3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
depends_on('gnat', when='languages=ada')
depends_on('binutils~libiberty', when='+binutils', type=('build', 'link', 'run'))
depends_on('zip', type='build', when='languages=java')
depends_on('cuda', when='+nvptx')
depends_on('cuda@:10', when='+nvptx')
# The server is sometimes a bit slow to respond
timeout = {'timeout': 60}