[llvm] 242304f - [gn build] Add missing llvm-profgen dependency
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 12:44:46 PST 2021
Author: Arthur Eubanks
Date: 2021-02-12T12:44:17-08:00
New Revision: 242304f3e2d09c165d78354ac60baab6ff077bc9
URL: https://github.com/llvm/llvm-project/commit/242304f3e2d09c165d78354ac60baab6ff077bc9
DIFF: https://github.com/llvm/llvm-project/commit/242304f3e2d09c165d78354ac60baab6ff077bc9.diff
LOG: [gn build] Add missing llvm-profgen dependency
Or else a clean build fails with missing Attributes.inc.
Added:
Modified:
llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn
index 5d1e724f836f..835bc7c848ab 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn
@@ -1,6 +1,9 @@
import("//llvm/utils/unittest/unittest.gni")
unittest("LLVMProfgenTests") {
- deps = [ "//llvm/lib/Testing/Support" ]
+ deps = [
+ "//llvm/include/llvm/IR:public_tablegen",
+ "//llvm/lib/Testing/Support",
+ ]
sources = [ "ContextCompressionTest.cpp" ]
}
More information about the llvm-commits
mailing list