[gn build] (manually) port 26eb04268f (clang-offload-packager)

This commit is contained in:
Nico Weber 2022-05-11 15:14:00 +01:00
parent 26eb04268f
commit 53342c6bcf
2 changed files with 11 additions and 0 deletions

View File

@ -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" ]
}

View File

@ -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",