forked from OSchip/llvm-project
[gn build] fix build after a7b2847216
Ports6e42a417ba
since it's now needed, and undo an accidental deletion fromd69762c404
while here (this part is not needed to fix the build, it's just in the vicinity).
This commit is contained in:
parent
b505142fa5
commit
985739ec05
|
@ -6,7 +6,7 @@ tablegen("ACC") {
|
|||
output_name = "ACC.h.inc"
|
||||
}
|
||||
|
||||
tablegen("ACC.cpp") {
|
||||
tablegen("ACCcpp") {
|
||||
visibility = [ ":acc_gen" ]
|
||||
args = [ "-gen-directive-gen" ]
|
||||
output_name = "ACC.cpp.inc"
|
||||
|
@ -14,5 +14,8 @@ tablegen("ACC.cpp") {
|
|||
}
|
||||
|
||||
group("acc_gen") {
|
||||
deps = [ ":ACC" ]
|
||||
deps = [
|
||||
":ACC",
|
||||
":ACCcpp",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -6,6 +6,13 @@ tablegen("OMP") {
|
|||
output_name = "OMP.h.inc"
|
||||
}
|
||||
|
||||
tablegen("OMPcpp") {
|
||||
visibility = [ ":public_tablegen" ]
|
||||
args = [ "-gen-directive-gen" ]
|
||||
output_name = "OMP.cpp.inc"
|
||||
td_file = "OMP.td"
|
||||
}
|
||||
|
||||
# Groups all tablegen() calls that create .inc files that are included in
|
||||
# Frontent/OpenMP's public headers (just one so far).
|
||||
# //llvm/lib/Frontend/OpenMP has this as a public_dep, so targets depending on
|
||||
|
@ -14,5 +21,6 @@ group("public_tablegen") {
|
|||
public_deps = [
|
||||
# Frontend/OpenMP's public headers include OMP.h.inc.
|
||||
":OMP",
|
||||
":OMPcpp",
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue