forked from jmillikin/rules_bison
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
30 lines (22 loc) · 955 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
workspace(name = "rules_bison")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_m4",
sha256 = "c67fa9891bb19e9e6c1050003ba648d35383b8cb3c9572f397ad24040fb7f0eb",
urls = ["https://github.com/jmillikin/rules_m4/releases/download/v0.2/rules_m4-v0.2.tar.xz"],
)
load("@rules_m4//m4:m4.bzl", "m4_register_toolchains")
m4_register_toolchains()
load("@rules_bison//bison:bison.bzl", "bison_register_toolchains", "bison_repository")
load("@rules_bison//bison/internal:versions.bzl", "VERSION_URLS")
bison_register_toolchains()
[bison_repository(
name = "bison_v" + version,
version = version,
) for version in VERSION_URLS]
http_archive(
name = "com_google_googletest",
sha256 = "9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c",
strip_prefix = "googletest-release-1.8.1",
urls = ["https://github.com/google/googletest/archive/release-1.8.1.tar.gz"],
)