summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2022-02-24 11:34:42 -0500
committerGitHub <noreply@github.com>2022-02-24 09:34:42 -0700
commitceea479b56af942b9fdf80a6ec735095dada2fe8 (patch)
tree9e37006b0f5501f99585a742680b9f303f59a3ce
parent8bd9527a71e53f2d9680757211551421932577cf (diff)
downloadspack-ceea479b56af942b9fdf80a6ec735095dada2fe8.tar.gz
spack-ceea479b56af942b9fdf80a6ec735095dada2fe8.tar.bz2
spack-ceea479b56af942b9fdf80a6ec735095dada2fe8.tar.xz
spack-ceea479b56af942b9fdf80a6ec735095dada2fe8.zip
vecgeom: add patch for @1.1.18 +cuda (#29185)
-rw-r--r--var/spack/repos/builtin/packages/vecgeom/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vecgeom/package.py b/var/spack/repos/builtin/packages/vecgeom/package.py
index 8432b4ca90..c91c5b8b67 100644
--- a/var/spack/repos/builtin/packages/vecgeom/package.py
+++ b/var/spack/repos/builtin/packages/vecgeom/package.py
@@ -61,6 +61,10 @@ class Vecgeom(CMakePackage, CudaPackage):
patch('https://gitlab.cern.ch/VecGeom/VecGeom/-/commit/7094dd180ef694f2abb7463cafcedfb8b8ed30a1.diff',
sha256='34f1a6899616e40bce33d80a38a9b409f819cbaab07b2e3be7f4ec4bedb52b29',
when='@1.1.7 +cuda')
+ # Fix installed target properties to not propagate flags to nvcc
+ patch('https://gitlab.cern.ch/VecGeom/VecGeom/-/commit/ac398bd109dd9175e4a898cd4b62571a3cc88252.diff',
+ sha256='a9ba136d3ed4282ec950069da2199f22beadea27d89a4264d8773ba329e253df',
+ when='@1.1.18 +cuda ^cuda@:11.4')
for std in _cxxstd_values:
depends_on('geant4 cxxstd=' + std, when='+geant4 cxxstd=' + std)