1import("//build_overrides/clspv.gni") 2 3executable("clspv-tool-llvm-min-tblgen") { 4 # TODO: this should come from top-level 5 include_dirs = [ "$root_gen_dir/$clspv_llvm_dir" ] 6 configs += clspv_configs_to_append 7 configs -= clspv_configs_to_remove 8 9 deps = [ 10 "../sources:clspv_llvm_lib_tblgen", 11 "../sources:clspv_llvm_tool_min_tblgen_sources", 12 ] 13} 14 15executable("clspv-tool-llvm-tblgen") { 16 include_dirs = [ "$root_gen_dir/$clspv_llvm_dir" ] 17 18 configs += [ "../../build:llvm_code" ] 19 configs += clspv_configs_to_append 20 configs -= clspv_configs_to_remove 21 22 deps = [ 23 "../config:llvm-config", 24 "../sources:clspv_llvm_lib_codegen_types", 25 "../sources:clspv_llvm_lib_support", 26 "../sources:clspv_llvm_lib_tblgen", 27 "../sources:clspv_llvm_tool_min_tblgen_sources", 28 "../sources:clspv_llvm_tool_tblgen_sources", 29 "../sources:clspv_llvm_utils_lib_tablegen_globalisel", 30 "../tablegen:GenVT", 31 ] 32} 33 34executable("clspv-tool-clang-tblgen") { 35 configs += [ 36 "../../build:clang_code", 37 "../../build:llvm_code", 38 ] 39 configs += clspv_configs_to_append 40 configs -= clspv_configs_to_remove 41 include_dirs = [ "$root_gen_dir/$clspv_llvm_dir" ] 42 deps = [ 43 "../sources:clspv_clang_lib_support", 44 "../sources:clspv_llvm_lib_support", 45 "../sources:clspv_llvm_lib_tblgen", 46 ] 47 sources = [ 48 "//$clspv_llvm_dir/clang/utils/TableGen/ASTTableGen.cpp", 49 "//$clspv_llvm_dir/clang/utils/TableGen/ClangASTNodesEmitter.cpp", 50 "//$clspv_llvm_dir/clang/utils/TableGen/ClangASTPropertiesEmitter.cpp", 51 "//$clspv_llvm_dir/clang/utils/TableGen/ClangAttrEmitter.cpp", 52 "//$clspv_llvm_dir/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp", 53 "//$clspv_llvm_dir/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp", 54 "//$clspv_llvm_dir/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp", 55 "//$clspv_llvm_dir/clang/utils/TableGen/ClangDataCollectorsEmitter.cpp", 56 "//$clspv_llvm_dir/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp", 57 "//$clspv_llvm_dir/clang/utils/TableGen/ClangOpcodesEmitter.cpp", 58 "//$clspv_llvm_dir/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp", 59 "//$clspv_llvm_dir/clang/utils/TableGen/ClangOptionDocEmitter.cpp", 60 "//$clspv_llvm_dir/clang/utils/TableGen/ClangSACheckersEmitter.cpp", 61 "//$clspv_llvm_dir/clang/utils/TableGen/ClangSyntaxEmitter.cpp", 62 "//$clspv_llvm_dir/clang/utils/TableGen/ClangTypeNodesEmitter.cpp", 63 "//$clspv_llvm_dir/clang/utils/TableGen/MveEmitter.cpp", 64 "//$clspv_llvm_dir/clang/utils/TableGen/NeonEmitter.cpp", 65 "//$clspv_llvm_dir/clang/utils/TableGen/RISCVVEmitter.cpp", 66 "//$clspv_llvm_dir/clang/utils/TableGen/SveEmitter.cpp", 67 "//$clspv_llvm_dir/clang/utils/TableGen/TableGen.cpp", 68 ] 69} 70