Skip to content

Commit d7156c9

Browse files
Merge pull request #1661 from j2kun:filegroup
PiperOrigin-RevId: 744697419
2 parents 1853e8b + 13094d7 commit d7156c9

File tree

66 files changed

+54
-708
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+54
-708
lines changed

tests/Examples/common/BUILD

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# common MLIR files used across multiple test directories
2+
3+
package(
4+
default_applicable_licenses = ["@heir//:license"],
5+
default_visibility = ["//visibility:public"],
6+
)
7+
8+
exports_files(
9+
glob([
10+
"*.mlir",
11+
]),
12+
visibility = ["//visibility:public"],
13+
)

tests/Examples/lattigo/bfv/dot_product_8/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ heir_lattigo_lib(
1313
"--mlir-to-bfv=ciphertext-degree=8",
1414
"--scheme-to-lattigo",
1515
],
16-
mlir_src = "dot_product_8.mlir",
16+
mlir_src = "@heir//tests/Examples/common:dot_product_8.mlir",
1717
)
1818

1919
# For Google-internal reasons we must separate the go_test rules from the macro

tests/Examples/lattigo/bfv/dot_product_8/dot_product_8.mlir

Lines changed: 0 additions & 12 deletions
This file was deleted.

tests/Examples/lattigo/bfv/dot_product_8_debug/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ heir_lattigo_lib(
2121
"--mlir-to-bfv=ciphertext-degree=8 annotate-noise-bound=true",
2222
"--scheme-to-lattigo=insert-debug-handler-calls=true",
2323
],
24-
mlir_src = "dot_product_8.mlir",
24+
mlir_src = "@heir//tests/Examples/common:dot_product_8.mlir",
2525
)
2626

2727
# For Google-internal reasons we must separate the go_test rules from the macro

tests/Examples/lattigo/bfv/dot_product_8_debug/dot_product_8.mlir

Lines changed: 0 additions & 12 deletions
This file was deleted.

tests/Examples/lattigo/bfv/noise/mult_dep_16_debug/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ heir_lattigo_lib(
2222
annotate-noise-bound=true",
2323
"--scheme-to-lattigo=insert-debug-handler-calls=true",
2424
],
25-
mlir_src = "mult_dep_16.mlir",
25+
mlir_src = "@heir//tests/Examples/common:mult_dep_16.mlir",
2626
)
2727

2828
# For Google-internal reasons we must separate the go_test rules from the macro

tests/Examples/lattigo/bfv/noise/mult_dep_16_debug/mult_dep_16.mlir

Lines changed: 0 additions & 20 deletions
This file was deleted.

tests/Examples/lattigo/bfv/noise/mult_dep_8_debug/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ heir_lattigo_lib(
2222
annotate-noise-bound=true",
2323
"--scheme-to-lattigo=insert-debug-handler-calls=true",
2424
],
25-
mlir_src = "mult_dep_8.mlir",
25+
mlir_src = "@heir//tests/Examples/common:mult_dep_8.mlir",
2626
)
2727

2828
# For Google-internal reasons we must separate the go_test rules from the macro

tests/Examples/lattigo/bfv/noise/mult_dep_8_debug/mult_dep_8.mlir

Lines changed: 0 additions & 12 deletions
This file was deleted.

tests/Examples/lattigo/bfv/noise/mult_indep_16_debug/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ heir_lattigo_lib(
2222
annotate-noise-bound=true",
2323
"--scheme-to-lattigo=insert-debug-handler-calls=true",
2424
],
25-
mlir_src = "mult_indep_16.mlir",
25+
mlir_src = "@heir//tests/Examples/common:mult_indep_16.mlir",
2626
)
2727

2828
# For Google-internal reasons we must separate the go_test rules from the macro

0 commit comments

Comments
 (0)