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

[ClangBuilder] Pass -k to make for test-suite runs #251

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

DavidSpickett
Copy link
Contributor

When llvm/llvm-lnt@7688741 enabled using Ninja, it removed the -k flag from make. -k causes make to carry on if there's a build failure.

Without this flag, a single compilation failure turns into thousands of missing executables in the final results. As subsequent targets are not built.

llvm/llvm-lnt#25 is adding an option to the lnt runner to pass options to the build tool.

This PR uses that to pass -k to make to restore the old behaviour on the build bots.

When llvm/llvm-lnt@7688741
enabled using Ninja, it removed the -k flag from make. -k causes make
to carry on if there's a build failure.

Without this flag, a single compilation failure turns into thousands
of missing executables in the final results. As subsequent targets are not
built.

llvm/llvm-lnt#25 is adding an option to the lnt runner
to pass options to the build tool.

This PR uses that to pass -k to make to restore the old behaviour on the
build bots.
@DavidSpickett
Copy link
Contributor Author

ping!

Copy link
Contributor

@antmox antmox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DavidSpickett DavidSpickett merged commit d59211c into llvm:main Aug 29, 2024
1 check passed
@DavidSpickett DavidSpickett deleted the build-tool-options branch August 29, 2024 10:42
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.

3 participants