[llvm] 53342c6 - [gn build] (manually) port 26eb04268f4c (clang-offload-packager)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 07:14:09 PDT 2022
Author: Nico Weber
Date: 2022-05-11T15:14:00+01:00
New Revision: 53342c6bcfc6f4e8aa0e7f8bf6ba519736a0e47d
URL: https://github.com/llvm/llvm-project/commit/53342c6bcfc6f4e8aa0e7f8bf6ba519736a0e47d
DIFF: https://github.com/llvm/llvm-project/commit/53342c6bcfc6f4e8aa0e7f8bf6ba519736a0e47d.diff
LOG: [gn build] (manually) port 26eb04268f4c (clang-offload-packager)
Added:
llvm/utils/gn/secondary/clang/tools/clang-offload-packager/BUILD.gn
Modified:
llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/tools/clang-offload-packager/BUILD.gn b/llvm/utils/gn/secondary/clang/tools/clang-offload-packager/BUILD.gn
new file mode 100644
index 0000000000000..82051a43b87ee
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/tools/clang-offload-packager/BUILD.gn
@@ -0,0 +1,10 @@
+executable("clang-offload-packager") {
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/Basic",
+ "//llvm/lib/Target:TargetsToBuild",
+ "//llvm/lib/Object",
+ "//llvm/lib/Support",
+ ]
+ sources = [ "ClangOffloadPackager.cpp" ]
+}
diff --git a/llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn b/llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
index 9277874c8b335..f09d87c056136 100644
--- a/llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
@@ -58,6 +58,7 @@ executable("clang") {
"//clang/lib/Headers",
"//clang/tools/clang-linker-wrapper",
"//clang/tools/clang-offload-bundler",
+ "//clang/tools/clang-offload-packager",
"//clang/tools/clang-offload-wrapper",
"//llvm/include/llvm/Config:llvm-config",
"//llvm/lib/Analysis",
More information about the llvm-commits
mailing list