Skip to content

Commit b41f839

Browse files
committed
update pip_parse, py_cc_toolchain integration tests
1 parent 1dd8ad2 commit b41f839

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

tests/integration/pip_parse/WORKSPACE

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2+
3+
http_archive(
4+
name = "protobuf",
5+
sha256 = "da288bf1daa6c04d03a9051781caa52aceb9163586bff9aa6cfb12f69b9395aa",
6+
strip_prefix = "protobuf-27.0",
7+
url = "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protobuf-27.0.tar.gz",
8+
)
9+
10+
http_archive(
11+
name = "rules_cc",
12+
sha256 = "d9bdd3ec66b6871456ec9c965809f43a0901e692d754885e89293807762d3d80",
13+
strip_prefix = "rules_cc-0.0.13",
14+
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.13/rules_cc-0.0.13.tar.gz"],
15+
)
16+
117
local_repository(
218
name = "rules_python",
319
path = "../../..",

tests/integration/py_cc_toolchain_registered/WORKSPACE

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2+
3+
http_archive(
4+
name = "protobuf",
5+
sha256 = "da288bf1daa6c04d03a9051781caa52aceb9163586bff9aa6cfb12f69b9395aa",
6+
strip_prefix = "protobuf-27.0",
7+
url = "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protobuf-27.0.tar.gz",
8+
)
9+
10+
http_archive(
11+
name = "rules_cc",
12+
sha256 = "d9bdd3ec66b6871456ec9c965809f43a0901e692d754885e89293807762d3d80",
13+
strip_prefix = "rules_cc-0.0.13",
14+
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.13/rules_cc-0.0.13.tar.gz"],
15+
)
16+
117
local_repository(
218
name = "rules_python",
319
path = "../../..",

0 commit comments

Comments
 (0)