[llvm] [gn] make bolt ProfileTests depend on TargetsToBuild (PR #201842)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 06:44:29 PDT 2026
https://github.com/nico created https://github.com/llvm/llvm-project/pull/201842
Added to CMake in f75973949b0e5, actually needed after
3e447333fe32785.
>From 53337e2ea8844e1d4555faf546e8766bead0f7d3 Mon Sep 17 00:00:00 2001
From: Nico Weber <thakis at chromium.org>
Date: Fri, 5 Jun 2026 09:38:47 -0400
Subject: [PATCH] [gn] make bolt ProfileTests depend on TargetsToBuild
Added to CMake in f75973949b0e5, actually needed after
3e447333fe32785.
---
llvm/utils/gn/secondary/bolt/unittests/Profile/BUILD.gn | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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