@@ -15,10 +15,22 @@ index 688279da1..376996885 100644
1515+ build:wasm --crosstool_top=@emsdk//emscripten_toolchain:everything
1616+ build:wasm --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
1717diff --git a/WORKSPACE b/WORKSPACE
18- index cd8960ffa..5d3e685f4 100644
18+ index cd8960ffa..787e03ca8 100644
1919--- a/WORKSPACE
2020+++ b/WORKSPACE
21- @@ -92,8 +92,25 @@ http_archive(
21+ @@ -29,8 +29,9 @@ http_archive(
22+ # Google Benchmark library, used in micro-benchmarks.
23+ http_archive(
24+ name = "com_google_benchmark",
25+ - strip_prefix = "benchmark-main",
26+ - urls = ["https://github.com/google/benchmark/archive/main.zip"],
27+ + sha256 = "1ba14374fddcd9623f126b1a60945e4deac4cdc4fb25a5f25e7f779e36f2db52",
28+ + strip_prefix = "benchmark-d2a8a4ee41b923876c034afb939c4fc03598e622",
29+ + urls = ["https://github.com/google/benchmark/archive/d2a8a4ee41b923876c034afb939c4fc03598e622.zip"],
30+ )
31+
32+ # FP16 library, used for half-precision conversions
33+ @@ -92,8 +93,25 @@ http_archive(
2234 ],
2335 )
2436
@@ -47,7 +59,7 @@ index cd8960ffa..5d3e685f4 100644
4759- android_sdk_repository(name = "androidsdk")
4860+ #android_sdk_repository(name = "androidsdk")
4961diff --git a/build_defs.bzl b/build_defs.bzl
50- index b8217a18d..da232966e 100644
62+ index b8217a18d..6f2d1675e 100644
5163--- a/build_defs.bzl
5264+++ b/build_defs.bzl
5365@@ -380,7 +380,7 @@ def xnnpack_benchmark(name, srcs, copts = [], deps = [], tags = []):
@@ -59,6 +71,13 @@ index b8217a18d..da232966e 100644
5971 srcs = srcs,
6072 copts = xnnpack_std_cxxopts() + [
6173 "-Iinclude",
74+ @@ -405,5 +405,5 @@ def xnnpack_benchmark(name, srcs, copts = [], deps = [], tags = []):
75+ ":emscripten": xnnpack_emscripten_deps(),
76+ "//conditions:default": [],
77+ }),
78+ - tags = tags,
79+ + tags = tags,
80+ )
6281diff --git a/emscripten.bzl b/emscripten.bzl
6382index f1557a7b1..7f964a094 100644
6483--- a/emscripten.bzl
0 commit comments