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

19 lines
455 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("ACCImpl") {
visibility = [ ":OpenACC" ]
args = [ "-gen-directive-impl" ]
td_file = "//llvm/include/llvm/Frontend/OpenACC/ACC.td"
output_name = "ACC.cpp"
}
static_library("OpenACC") {
output_name = "LLVMFrontendOpenACC"
deps = [
":ACCImpl",
"//llvm/lib/Support",
]
public_deps = [ "//llvm/include/llvm/Frontend/OpenACC:acc_gen" ]
sources = get_target_outputs(":ACCImpl")
}