[llvm] 48aec0a - [gn] make bolt ProfileTests depend on TargetsToBuild (#201842)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 06:44:42 PDT 2026
Author: Nico Weber
Date: 2026-06-05T09:44:37-04:00
New Revision: 48aec0a9c45209139339c252f67898219e596a94
URL: https://github.com/llvm/llvm-project/commit/48aec0a9c45209139339c252f67898219e596a94
DIFF: https://github.com/llvm/llvm-project/commit/48aec0a9c45209139339c252f67898219e596a94.diff
LOG: [gn] make bolt ProfileTests depend on TargetsToBuild (#201842)
Added to CMake in f75973949b0e5, actually needed after
3e447333fe32785.
Added:
Modified:
llvm/utils/gn/secondary/bolt/unittests/Profile/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/bolt/unittests/Profile/BUILD.gn b/llvm/utils/gn/secondary/bolt/unittests/Profile/BUILD.gn
index 15b1278c900aa..d19af01cdc145 100644
--- a/llvm/utils/gn/secondary/bolt/unittests/Profile/BUILD.gn
+++ b/llvm/utils/gn/secondary/bolt/unittests/Profile/BUILD.gn
@@ -2,7 +2,10 @@ import("//third-party/unittest/unittest.gni")
unittest("ProfileTests") {
configs += [ "//llvm/utils/gn/build:bolt_code" ]
- deps = [ "//bolt/lib/Profile" ]
+ deps = [
+ "//bolt/lib/Profile",
+ "//llvm/lib/Target:TargetsToBuild",
+ ]
sources = [
"DataAggregator.cpp",
"PerfScripts.cpp",
More information about the llvm-commits
mailing list