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

build-llvm.py: Add '--build-targets' #247

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

nathanchance
Copy link
Member

It can be useful to select subtargets, like clang or llvm-ar, to build single tools when issues are isolated to them, which can reduce build time. This provides tangible benefits when bisecting, as an issue can be isolated down to a single commit in less time.

As part of this implementation, the build target parameter is added as a member to LLVMBuilder and changed to a list to be more flexible and fit in more with how customizing the builder works in the rest of tc_build/.

It can be useful to select subtargets, like 'clang' or 'llvm-ar', to
build single tools when issues are isolated to them, which can reduce
build time. This provides tangible benefits when bisecting, as an issue
can be isolated down to a single commit in less time.

As part of this implementation, the build target parameter is added as a
member to LLVM_Builder and changed to a list to be more flexible and fit
in more with how customizing the builder works in the rest of tc_build.

Signed-off-by: Nathan Chancellor <[email protected]>
@nathanchance nathanchance merged commit 14cce14 into ClangBuiltLinux:main Oct 24, 2023
6 checks passed
@nathanchance nathanchance deleted the build-targets branch October 24, 2023 17:06
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