File tree 2 files changed +25
-1
lines changed
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ load ("@bazel_skylib//lib:selects.bzl" , "selects" )
2
+
1
3
config_setting (
2
4
name = "runtime_v8" ,
3
5
values = {"define" : "runtime=v8" },
@@ -19,6 +21,19 @@ config_setting(
19
21
)
20
22
21
23
config_setting (
22
- name = "crypto_system " ,
24
+ name = "requested_crypto_system " ,
23
25
values = {"define" : "crypto=system" },
24
26
)
27
+
28
+ config_setting (
29
+ name = "linux_s390x" ,
30
+ values = {"cpu" : "s390x" },
31
+ )
32
+
33
+ selects .config_setting_group (
34
+ name = "crypto_system" ,
35
+ match_any = [
36
+ ":requested_crypto_system" ,
37
+ ":linux_s390x" ,
38
+ ],
39
+ )
Original file line number Diff line number Diff line change @@ -174,3 +174,12 @@ def proxy_wasm_cpp_host_repositories():
174
174
strip_prefix = "rules_python-0.6.0" ,
175
175
url = "https://github.com/bazelbuild/rules_python/archive/0.6.0.tar.gz" ,
176
176
)
177
+
178
+ http_archive (
179
+ name = "bazel_skylib" ,
180
+ urls = [
181
+ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz" ,
182
+ "https://github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz" ,
183
+ ],
184
+ sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d" ,
185
+ )
You can’t perform that action at this time.
0 commit comments