sw4lite: fixed to include build targets (#24466)
This commit is contained in:
parent
07fe558509
commit
d292541edb
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user