[all-commits] [llvm/llvm-project] 1a53d4: [clang][cmake] Apply bolt optimizations as part of...
Tom Stellard via All-commits
all-commits at lists.llvm.org
Sat Jan 25 04:00:08 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a53d4baeb0242e00c494fd0a2b2ce58bcbf28b6
https://github.com/llvm/llvm-project/commit/1a53d4baeb0242e00c494fd0a2b2ce58bcbf28b6
Author: Tom Stellard <tstellar at redhat.com>
Date: 2025-01-25 (Sat, 25 Jan 2025)
Changed paths:
M clang/CMakeLists.txt
M clang/tools/driver/CMakeLists.txt
M clang/utils/perf-training/CMakeLists.txt
M clang/utils/perf-training/perf-helper.py
Log Message:
-----------
[clang][cmake] Apply bolt optimizations as part of the clang target (#119896)
This change removes the need to call the clang-bolt target in order to
apply bolt optimizations to clang. Now running `ninja clang` will build
a clang with bolt optimizations, and `ninja check-clang` and `ninja
install-clang` will test and install bolt optimized clang too.
The clang-bolt target has been kept for compatibilty reasons, but it is
now just an alias to the clang target.
Also, this new design for applying the bolt optimizations to clang will
be easier to generalize and use to optimize other binaries/libraries in
the project.
---------
Co-authored-by: Amir Ayupov <fads93 at gmail.com>
Co-authored-by: Petr Hosek <phosek at google.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list