summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Schmitt <sebastian.schmitt@kip.uni-heidelberg.de>2021-02-18 16:02:09 +0100
committerGitHub <noreply@github.com>2021-02-18 15:02:09 +0000
commit8e3ac8577f16ceef66dc3b55b3f82f7bde897b3b (patch)
treec5a9d4cce7448a9c102ba9dff63dffe55c4e75c1
parent432625ca26e4313aef4f0a8eecd6ea1eec426a30 (diff)
downloadspack-8e3ac8577f16ceef66dc3b55b3f82f7bde897b3b.tar.gz
spack-8e3ac8577f16ceef66dc3b55b3f82f7bde897b3b.tar.bz2
spack-8e3ac8577f16ceef66dc3b55b3f82f7bde897b3b.tar.xz
spack-8e3ac8577f16ceef66dc3b55b3f82f7bde897b3b.zip
Arbor: rely on spack's compiler wrapper to set architecture (#21758)
-rw-r--r--var/spack/repos/builtin/packages/arbor/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/arbor/package.py b/var/spack/repos/builtin/packages/arbor/package.py
index d1c372284a..9adacf477f 100644
--- a/var/spack/repos/builtin/packages/arbor/package.py
+++ b/var/spack/repos/builtin/packages/arbor/package.py
@@ -70,4 +70,7 @@ class Arbor(CMakePackage, CudaPackage):
if '+cuda' in self.spec:
args.append('-DARB_GPU=cuda')
+ # rely on spack's compiler wrapper to set architecture
+ args.append('-DARB_ARCH=')
+
return args