Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tc_build: llvm: Move use of build_targets out of ninja_cmd #251

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

nathanchance
Copy link
Member

Otherwise, they will get added to each invocation of ninja. build_target should have been added to just the self.run_cmd(ninja_cmd). While this does not (currently) cause any problems, it is unnecessary to specify the base build targets on each subsequent invocation of ninja because they will have already been built.

To make it clearer for the future, rename ninja_cmd to base_ninja_cmd.

Otherwise, they will get added to each invocation of ninja. build_target
should have been added to just the 'self.run_cmd(ninja_cmd)'. While this
does not (currently) cause any problems, it is unnecessary to specify
the base build targets on each subsequent invocation of ninja because
they will have already been built.

To make it clearer for the future, rename ninja_cmd to base_ninja_cmd.

Signed-off-by: Nathan Chancellor <[email protected]>
@nathanchance nathanchance merged commit 5931a24 into ClangBuiltLinux:main Nov 8, 2023
6 checks passed
@nathanchance nathanchance deleted the fix-build-targets branch November 8, 2023 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants