Skip to content

Commit

Permalink
Fixing parallel builds (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch authored Oct 24, 2023
1 parent 1c9d5dd commit 9bb39c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fprime/util/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def validate(parsed, unknown):
cmake_args.update(d_args)
unknown = [arg for arg in unknown if not CMAKE_REG.match(arg)]
# Build type only for generate, jobs only for non-generate
elif parsed.command in Target.get_all_targets():
elif parsed.command in [target.mnemonic for target in Target.get_all_targets()]:
parsed.settings = None # Force to load from cache if possible
make_args["--jobs"] = 1 if parsed.jobs <= 0 else parsed.jobs
# Check if any arguments are still unknown
Expand Down

0 comments on commit 9bb39c1

Please sign in to comment.