Skip to content

Commit

Permalink
Triton: If generator=ninja set make=ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Nov 23, 2023
1 parent 62ccb34 commit a1b9229
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/triton/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ def build(self, pkg, spec):
# external third-party bits (which we aren't building) in the
# destination, so run an initial make that will fail, and then
# clean them out
make = which("make")
if self.spec.variants['generator'].value == 'ninja':
make = which("ninja")

with working_dir(self.build_directory):
try:
make("cc-clients")
Expand Down

0 comments on commit a1b9229

Please sign in to comment.