forked from kkiningh/rules_verilator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
31 lines (21 loc) · 903 Bytes
/
WORKSPACE
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
workspace(name = "rules_verilator")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load(
"@rules_verilator//verilator:repositories.bzl",
"rules_verilator_dependencies",
"rules_verilator_toolchains",
)
rules_verilator_dependencies()
# This defines a toolchain for all supported versions to the repo for testing
# purposes. Most project should simply use the default toochain, i.e.:
#
# rules_verilator_toolchains()
load("@rules_verilator//verilator/internal:versions.bzl", "VERSION_INFO")
[rules_verilator_toolchains(version) for version in VERSION_INFO.keys()]
# Register dependency toolchains
load("@rules_m4//m4:m4.bzl", "m4_register_toolchains")
m4_register_toolchains()
load("@rules_flex//flex:flex.bzl", "flex_register_toolchains")
flex_register_toolchains()
load("@rules_bison//bison:bison.bzl", "bison_register_toolchains")
bison_register_toolchains()