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: Fix PGO using LLVM as training data without '--full-toolchain' #254

Conversation

nathanchance
Copy link
Member

Without --full-toolchain, we do not build clang-tblgen and llvm-tblgen as part of the distribution in the instrumented build. As a result, building LLVM as PGO training data errors out. Fix this by using the bootstrap versions, which should be available and sufficient.

…olchain'

Without '--full-toolchain', we do not build clang-tblgen and llvm-tblgen
as part of the distribution in the instrumented build. As a result,
building LLVM as PGO training data errors out. Fix this by using the
bootstrap versions, which should be available and sufficient.

Signed-off-by: Nathan Chancellor <[email protected]>
@nathanchance nathanchance merged commit 5c6f834 into ClangBuiltLinux:main Nov 15, 2023
6 checks passed
@nathanchance nathanchance deleted the fix-pgo-llvm-distribution-components branch November 15, 2023 22:19
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