File tree Expand file tree Collapse file tree 3 files changed +20
-23
lines changed
Expand file tree Collapse file tree 3 files changed +20
-23
lines changed Original file line number Diff line number Diff line change 11"Bazel dependencies, see https://registry.bazel.build"
2-
32module (name = "workerd" )
43
54bazel_dep (name = "aspect_bazel_lib" , version = "2.21.1" )
@@ -18,6 +17,7 @@ bazel_dep(name = "platforms", version = "1.0.0")
1817# needs to be pulled in before rules_cc for this toolchain to actually be used.
1918bazel_dep (name = "apple_support" , version = "1.23.1" )
2019bazel_dep (name = "rules_cc" , version = "0.2.8" )
20+
2121bazel_dep (name = "zlib" , version = "1.3.1.bcr.6" )
2222git_override (
2323 module_name = "zlib" ,
@@ -38,11 +38,7 @@ git_override(
3838bazel_dep (name = "boringssl" , version = "0.20250818.0" , repo_name = "ssl" )
3939
4040include ("//build/deps:deps.MODULE.bazel" )
41-
4241include ("//build/deps:nodejs.MODULE.bazel" )
43-
4442include ("//build/deps:python.MODULE.bazel" )
45-
4643include ("//build/deps:pyodide.MODULE.bazel" )
47-
4844include ("//build/deps:v8.MODULE.bazel" )
Original file line number Diff line number Diff line change @@ -26,3 +26,22 @@ new_local_repository(
2626 build_file = "@workerd//deps/rust:BUILD.lolhtml" ,
2727 path = "empty" ,
2828)
29+
30+ # Use @workerd prefix on build_file so we can use this from edgeworker too
31+ # Note: this one is a raw http_archive so the repository gets the old WORKSPACE-style canonical name.
32+ # Otherwise we have the bzlmod apparent name to deal with, which has plus characters and makes Windows testing harder.
33+ load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
34+
35+ [
36+ http_archive (
37+ name = "all_pyodide_wheels_%s" % tag ,
38+ build_file = "@workerd//:build/BUILD.all_pyodide_wheels" ,
39+ sha256 = all_wheels_hash ,
40+ urls = ["https://github.com/cloudflare/pyodide-build-scripts/releases/download/%s/all_wheels.zip" % tag ],
41+ )
42+ # FIXME(alexeagle): Keep in sync
43+ for tag , all_wheels_hash in [
44+ ("20240829.4" , "94653dc8cfbea62b8013db3b8584bc02544ad6fc647b0d83bdee5dfcda5d4b62" ),
45+ ("20250808" , "7228cf17e569e31238f74b00e4cb702f0b4fc1fa55e6a5144be461e75240048b" ),
46+ ]
47+ ]
Original file line number Diff line number Diff line change @@ -21,21 +21,3 @@ use_repo(
2121)
2222
2323http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
24-
25- # Use @workerd prefix on build_file so we can use this from edgeworker too
26- # Note: this one is a raw http_archive so the repository gets the old WORKSPACE-style canonical name.
27- # Otherwise we have the bzlmod apparent name to deal with, which has plus characters and makes Windows testing harder.
28- [
29- http_archive(
30- name = "all_pyodide_wheels_%s" % tag,
31- build_file = "@workerd//:build/BUILD.all_pyodide_wheels",
32- sha256 = all_wheels_hash,
33- urls = ["https://github.com/cloudflare/pyodide-build-scripts/releases/download/%s/all_wheels.zip" % tag],
34- )
35- # FIXME(alexeagle): Keep in sync
36- for tag, all_wheels_hash in [
37- ("20240829.4", "94653dc8cfbea62b8013db3b8584bc02544ad6fc647b0d83bdee5dfcda5d4b62"),
38- ("20250808", "7228cf17e569e31238f74b00e4cb702f0b4fc1fa55e6a5144be461e75240048b"),
39- ]
40- ]
41-
You can’t perform that action at this time.
0 commit comments