llvm-for-llvmta/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn

24 lines
598 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("OMPImpl") {
visibility = [ ":OpenMP" ]
args = [ "-gen-directive-impl" ]
td_file = "//llvm/include/llvm/Frontend/OpenMP/OMP.td"
output_name = "OMP.cpp"
}
static_library("OpenMP") {
output_name = "LLVMFrontendOpenMP"
deps = [
":OMPImpl",
"//llvm/lib/IR",
"//llvm/lib/Support",
"//llvm/lib/Transforms/Utils",
]
public_deps = [ "//llvm/include/llvm/Frontend/OpenMP:public_tablegen" ]
sources = [
"OMPContext.cpp",
"OMPIRBuilder.cpp",
] + get_target_outputs(":OMPImpl")
}