Ports
6e42a417bacb since it's now needed, and undo an accidental
deletion from
d69762c404ded while here (this part is not needed to fix
the build, it's just in the vicinity).
output_name = "ACC.h.inc"
}
-tablegen("ACC.cpp") {
+tablegen("ACCcpp") {
visibility = [ ":acc_gen" ]
args = [ "-gen-directive-gen" ]
output_name = "ACC.cpp.inc"
}
group("acc_gen") {
- deps = [ ":ACC" ]
+ deps = [
+ ":ACC",
+ ":ACCcpp",
+ ]
}
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
public_deps = [
# Frontend/OpenMP's public headers include OMP.h.inc.
":OMP",
+ ":OMPcpp",
]
}