From 8e3ac8577f16ceef66dc3b55b3f82f7bde897b3b Mon Sep 17 00:00:00 2001 From: Sebastian Schmitt Date: Thu, 18 Feb 2021 16:02:09 +0100 Subject: Arbor: rely on spack's compiler wrapper to set architecture (#21758) --- var/spack/repos/builtin/packages/arbor/package.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3-70-g09d2