Skip to content

Commit d6858dd

Browse files
authored
Rename TosaComplianceData.h to TosaComplianceData.h.inc (#128153)
The file can't be parsed on it's own, except when included in the .cc. Should be .h.inc to avoid build errors.
1 parent aad74dc commit d6858dd

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ TosaProfileCompliance::TosaProfileCompliance() {
2727

2828
// The profile-based compliance content below is auto-generated by a script
2929
// in https://git.mlplatform.org/tosa/specification.git
30-
#include "mlir/Dialect/Tosa/IR/TosaComplianceData.h"
30+
#include "mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc"
3131
// End of auto-generated metadata
3232
}
3333

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12356,7 +12356,9 @@ cc_library(
1235612356
"lib/Dialect/Tosa/IR/*.cpp",
1235712357
"lib/Dialect/Tosa/Utils/*.cpp",
1235812358
"lib/Dialect/Tosa/Transforms/*.cpp",
12359-
]),
12359+
]) + [
12360+
"include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc",
12361+
],
1236012362
hdrs = glob([
1236112363
"include/mlir/Dialect/Tosa/IR/*.h",
1236212364
"include/mlir/Dialect/Tosa/Utils/*.h",

0 commit comments

Comments
 (0)