-
Notifications
You must be signed in to change notification settings - Fork 53
/
BUILD
43 lines (34 loc) · 846 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
34
35
36
37
38
39
40
41
42
43
# HEIR, an MLIR project for homomorphic encryption
load("@bazel_skylib//rules:common_settings.bzl", "string_flag")
load("@rules_license//rules:license.bzl", "license")
package(
default_applicable_licenses = ["@heir//:license"],
default_visibility = ["//visibility:public"],
)
license(name = "license")
licenses(["notice"])
exports_files([
"LICENSE",
])
package_group(
name = "internal",
packages = [],
)
# Disables Yosys deps for CLI tools and tests.
# use by passing `--//:enable_yosys=0` to `bazel build` or `bazel test`
string_flag(
name = "enable_yosys",
build_setting_default = "1",
)
config_setting(
name = "config_enable_yosys",
flag_values = {
":enable_yosys": "1",
},
)
config_setting(
name = "config_disable_yosys",
flag_values = {
":enable_yosys": "0",
},
)