sw4lite: fixed to include build targets (#24466)

This commit is contained in:
OliverPerks 2021-06-22 19:01:34 +01:00 committed by GitHub
parent 07fe558509
commit d292541edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,9 +81,9 @@ def build_targets(self):
def build(self, spec, prefix): def build(self, spec, prefix):
if '+cuda' in spec: if '+cuda' in spec:
make('-f', 'Makefile.cuda') make('-f', 'Makefile.cuda', *self.build_targets)
else: else:
make('-f', 'Makefile') make('-f', 'Makefile', *self.build_targets)
def install(self, spec, prefix): def install(self, spec, prefix):
mkdir(prefix.bin) mkdir(prefix.bin)