-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathBUILD
33 lines (28 loc) · 983 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# See README.md for setup required to run these tests
load("@heir//tests/Examples/lattigo:test.bzl", "heir_lattigo_lib")
load("@rules_go//go:def.bzl", "go_test")
package(default_applicable_licenses = ["@heir//:license"])
heir_lattigo_lib(
name = "mult_indep_16_debug",
extra_srcs = ["@heir//tests/Examples/lattigo/bfv:bfv_debug.go"],
go_library_name = "main",
heir_opt_flags = [
"--annotate-module=backend=lattigo scheme=bfv",
"--mlir-to-bfv=noise-model=bfv-noise-bmcm23 \
annotate-noise-bound=true",
"--scheme-to-lattigo=insert-debug-handler-calls=true",
],
mlir_src = "@heir//tests/Examples/common:mult_indep_16.mlir",
)
# For Google-internal reasons we must separate the go_test rules from the macro
# above.
# TODO(#1614): re-enable as non-manual
go_test(
name = "multindep16debug_test",
srcs = ["mult_indep_16_debug_test.go"],
embed = [":main"],
tags = [
"manual",
"notap",
],
)