diff options
author | XNNPACK Team <xnnpack-github-robot@google.com> | 2021-03-03 16:47:33 -0800 |
---|---|---|
committer | XNNPACK Team <xnnpack-github-robot@google.com> | 2021-03-03 16:48:20 -0800 |
commit | f69ac5d218a4f2a68bc2981d61603d43966e8068 (patch) | |
tree | e7354248950172022e333d168abac78a9c478536 | |
parent | fb0ab0b87874452edebd5cbaf9491a879b9ecb0b (diff) | |
download | XNNPACK-f69ac5d218a4f2a68bc2981d61603d43966e8068.tar.gz |
Update emscripten config settings to conform to the official emscripten toolchain.
Current Bazel config settings for Emscripten are specific to TensorFlow.js's custom Emscripten toolchain, but TFJS is switching to the official toolchain in [#4769](https://github.com/tensorflow/tfjs/pull/4769). The official emscripten toolchain expects `crosstool_top` to be `//emscripten_toolchain:everything`.
PiperOrigin-RevId: 360787196
-rw-r--r-- | BUILD.bazel | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 363a821b6..b1b8d01c0 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -7438,13 +7438,13 @@ config_setting( config_setting( name = "emscripten", - values = {"crosstool_top": "//toolchain:emscripten"}, + values = {"crosstool_top": "//emscripten_toolchain:everything"}, ) config_setting( name = "emscripten_wasm", values = { - "crosstool_top": "//toolchain:emscripten", + "crosstool_top": "//emscripten_toolchain:everything", "cpu": "wasm", }, ) @@ -7452,7 +7452,7 @@ config_setting( config_setting( name = "emscripten_wasmsimd", values = { - "crosstool_top": "//toolchain:emscripten", + "crosstool_top": "//emscripten_toolchain:everything", "cpu": "wasm", "copt": "-msimd128", }, |