Reland [OffloadBundler] Compress bundles over 4GB (#122307)
[llvm-project.git] / llvm / utils / gn / secondary / clang / tools / clang-nvlink-wrapper / BUILD.gn
blob24a0e89b804bff05ea70d30793d7c3b32e304a4b
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("NVLinkOpts") {
4   args = [ "-gen-opt-parser-defs" ]
5   td_file = "NVLinkOpts.td"
8 executable("clang-nvlink-wrapper") {
9   configs += [ "//llvm/utils/gn/build:clang_code" ]
10   deps = [
11     ":NVLinkOpts",
12     "//clang/lib/Basic",
13     "//llvm/lib/Analysis",
14     "//llvm/lib/BinaryFormat",
15     "//llvm/lib/Bitcode/Writer",
16     "//llvm/lib/CodeGen",
17     "//llvm/lib/IR",
18     "//llvm/lib/IRReader",
19     "//llvm/lib/LTO",
20     "//llvm/lib/MC",
21     "//llvm/lib/Object",
22     "//llvm/lib/Option",
23     "//llvm/lib/Passes",
24     "//llvm/lib/Support",
25     "//llvm/lib/Target",
26     "//llvm/lib/Target:TargetsToBuild",
27     "//llvm/lib/TargetParser",
28     "//llvm/lib/Transforms/Utils",
29   ]
30   sources = [ "ClangNVLinkWrapper.cpp" ]