From d292541edbcb0d5eeed83dc01571a9d7801900b9 Mon Sep 17 00:00:00 2001 From: OliverPerks Date: Tue, 22 Jun 2021 19:01:34 +0100 Subject: sw4lite: fixed to include build targets (#24466) --- var/spack/repos/builtin/packages/sw4lite/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/sw4lite/package.py b/var/spack/repos/builtin/packages/sw4lite/package.py index 196409da4b..21a2a271e7 100644 --- a/var/spack/repos/builtin/packages/sw4lite/package.py +++ b/var/spack/repos/builtin/packages/sw4lite/package.py @@ -81,9 +81,9 @@ class Sw4lite(MakefilePackage, CudaPackage): def build(self, spec, prefix): if '+cuda' in spec: - make('-f', 'Makefile.cuda') + make('-f', 'Makefile.cuda', *self.build_targets) else: - make('-f', 'Makefile') + make('-f', 'Makefile', *self.build_targets) def install(self, spec, prefix): mkdir(prefix.bin) -- cgit v1.2.3-70-g09d2