py-torch: +magma requires +cuda (#24736)

This commit is contained in:
Adam J. Stewart 2021-07-07 12:12:52 -05:00 committed by GitHub
parent 36ba640cbd
commit 663c37cac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,6 +74,7 @@ class PyTorch(PythonPackage, CudaPackage):
conflicts('+cuda', when='+rocm')
conflicts('+cudnn', when='~cuda')
conflicts('+magma', when='~cuda')
conflicts('+nccl', when='~cuda~rocm')
conflicts('+nccl', when='platform=darwin')
conflicts('+numa', when='platform=darwin', msg='Only available on Linux')