-
Notifications
You must be signed in to change notification settings - Fork 93
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
llvm: Re-enable PGO and update build configs #4570
Conversation
@ReillyBrogan: Have you by any chance taken a look at whether it'd be possible to address this? #1346 |
LLVM doesn't use SHA1 for build-ids at all, and hasn't for quite some time. The Also LLVM already uses XXH3_64 when you use |
Changes: - Re-enable building LLVM with PGO - Enable perf support in the JIT engine - Build MLIR-C library shared - Install the lld man page - Add "Solus $version-$release" to the Clang version - Disable building libcxx and llvm benchmarks (these weren't installed but were still built previously) - Ensure that the build-id is always set when writing ELF binaries and that it uses 20-byte output by default - Use zstd-compressed debug symbols by default for clang/lld/llvm-objcopy Signed-off-by: Reilly Brogan <[email protected]>
f1378cb
to
b0ebbde
Compare
I added another patch that compresses debug symbols with zstd by default. |
The point is more to update our GCC and LLVM defaults to always use (the equivalent to) If you know from experience that this is a Bad Idea™, then we should probably close the related issue... |
Updating this from discussions on Matrix:
|
Changes:
Addresses the LLVM part of #1346