Граф коммитов

47 Коммитов

Автор SHA1 Сообщение Дата
Kevin Lubick 85d27a4a2a
Improve flags in bazel example (#917) 2021-10-24 09:22:52 -07:00
Sam Clegg 1c420fd6e5
2.0.32 (#915) 2021-10-19 17:55:27 -07:00
Kevin Lubick 40882443a1
Update build_bazel_rules_nodejs to fix closure compiles (#912)
* Update build_bazel_rules_nodejs to fix closure compiles

* Fix spacing in update_bazel_workspace.sh script

* space
2021-10-19 14:44:48 -07:00
Kevin Lubick f8615b4782
Run buildifier on bazel/ (#913) 2021-10-19 15:56:55 -04:00
Kevin Lubick 773e4f955d
Add embind example to Bazel docs (#910)
* Add embind example to Bazel docs

* address feedback
2021-10-14 13:49:36 -04:00
walkingeyerobot 7f39d100d8
bazel: pass -g instead of -g4 for wasm_asan feature (#904) 2021-10-13 08:07:14 -07:00
Sam Clegg 3891e7b04b
2.0.31 (#906) 2021-10-01 16:02:25 -07:00
Derek Schuff b946a4786a
2.0.30 (#893) 2021-09-15 12:03:43 -07:00
Brad Kotsopoulos cf706316f5
[Bazel] fix llvm bin path (#888) 2021-09-09 00:46:25 -07:00
Derek Schuff f9dee6673e
Version 2.0.29 (#878) 2021-08-27 17:27:29 -07:00
Danny B e82ac4ec1f
Small fix for Bazel instructions. (#875)
In the past the instructions were to copy `emscripten_toolchain` into the project dir, now it downloads emsdk as a package so the `bazelrc` part has to refer to `@emsdk`.
2021-08-26 15:18:08 -04:00
Derek Schuff 793557c615
2.0.28 (#871) 2021-08-23 13:37:00 -07:00
Derek Schuff 953244003b
2.0.27 (#868)
Includes LTO and non-LTO, with non-LTO as the default
2021-08-12 19:34:34 -07:00
Sam Clegg a3d65c80d3
2.0.26 (#858) 2021-07-26 15:26:01 -07:00
Sam Clegg 5c0e31a03a
2.0.25 (#850) 2021-06-30 10:24:41 -07:00
Attila Oláh 7f983966b3
Support linking with `-o filename` (#849)
When linking with `-o filename` (such as in various CMake build checks), the parameter passed to the linker is a temporary file, and it is passed as a bare filename (i.e. relative path without a `'/'`). In such cases, `outdir` would have been the empty string, and the final `tar` command would fail (actually the call to `subprocess.check_call(…)` is what fails).
2021-06-28 11:01:27 -07:00
Attila Oláh eaa49511f4
Print sys.argv when link_wrapper.py is invoked incorrectly (#847)
This should help debug cases when the link_wrapper is not invoked correctly.
2021-06-24 09:05:34 -07:00
Sam Clegg e2dc11e0db
2.0.24 (#839) 2021-06-10 09:02:19 -07:00
Sam Clegg f44b841547
2.0.23 (#828) 2021-05-26 18:10:10 -07:00
Sam Clegg c9157a9a54
2.0.22 (#827) 2021-05-25 07:21:40 -07:00
Derek Schuff 32fd1fafac
2.0.21 (#818) 2021-05-18 08:39:21 -07:00
Sam Clegg ee63b9d5d6
2.0.20 (#815) 2021-05-06 14:31:10 -07:00
Sam Clegg 33ce2bdf2c
2.0.19 (#811) 2021-05-04 15:25:01 -07:00
Derek Schuff cee96f8054
2.0.18 (#799) 2021-04-23 18:35:03 -07:00
Sam Clegg f03f1dc579
2.0.17 (#786) 2021-04-10 17:41:55 -07:00
Sam Clegg 6162e2e783
2.0.16 (#773) 2021-03-25 19:00:07 -07:00
Tim Talashok 459f7c14f6
Update bazel readme (#774)
* Update bazel/README.md

* Add deps instantiation to readme

* Add bazelrc explanations to readme

* Note the preferred way of using bazel emsdk
2021-03-25 13:00:30 -04:00
Tim Talashok c1589b5564
Use emsdk as external bazel dependency (#766)
* Makes provided bazel rules look up @emsdk workspace instead of local workspace
* Uses system-specific emscripten binaries instead of defaulting to linux
* Provides macros for loading emsdk dependencies (nodejs and emscripten binaries)
* Unhardcodes paths in bazel rules and .sh wrappers
* `update_bazel_workspace.sh` now updates `revisions.bzl`
* `emscripten_deps()` can be fed with specific emscripten version
* Adds external usage test

Addresses #650 and #696
2021-03-24 16:50:44 -07:00
walkingeyerobot 848260ed58
Bazel add html support (#765)
* allow the bazel toolchain to output html files

* allow for cc_binary rule names to end in .js

* fix python name

* continue to call emcc instead of em++ for now

* small cleanup

Co-authored-by: Mitch Foley <mitchfoley@chromium.org>
2021-03-21 20:08:54 -04:00
Tim Talashok 1a3878716f
Remove absl from wasm_binary (#756)
* Remove absl from wasm_binary

* Formatting fixes

* Blank line, too

* Reorder imports
2021-03-12 13:28:55 -08:00
Sam Clegg 7cba2e0a92
2.0.15 (#743) 2021-03-05 23:18:22 -08:00
Sam Clegg 2b720e5473
2.0.14 (#710) 2021-02-14 11:46:10 -08:00
walkingeyerobot ba7fad312b
make hello world simd a bit cleaner (#701) 2021-02-08 15:34:32 -05:00
Sébastien Jalliffier Verne 45cd9dfc0f
Fix: wrong clang path in Bazel toolchain (#699) (#700) 2021-02-07 11:51:36 -08:00
Sam Clegg cfdcf1315b
Release 2.0.13 and update bazel toolchain (#694)
This change comes with fairly major change to the bazel toolchain.

- Use pre-built cache that comes with emsdk
- Mark cache as readonly using FROZEN_CACHE
- Pass `--sysroot` to match upstream emscripten change
2021-01-29 18:25:41 -08:00
Leven 5fd6f034fe
fix: bazel/emscripten_toolchain/wasm_binary.py command output without mimetype on MacOS. (#682)
Co-authored-by: xulinfeng <xulinfeng@bilibili.com>
2021-01-26 14:17:30 -05:00
Sam Clegg 5ad9d720c3
2.0.12 (#680) 2021-01-09 07:25:52 -08:00
Derek Schuff 5fd57ff723
2.0.11 (#670) 2020-12-17 14:47:38 -08:00
Sam Clegg ec9c1c45f5
2.0.10 (#664) 2020-12-04 08:53:37 -08:00
Alon Zakai 372fb50124
2.0.9 (#653) 2020-11-16 14:58:38 -08:00
Alon Zakai f3e2e43213
2.0.8 (#643) 2020-10-24 10:42:23 -07:00
Alon Zakai da9419f42a
2.0.7 (#641) 2020-10-13 06:51:20 -07:00
Alon Zakai aec1e16f51
2.0.6 (#629) 2020-10-02 15:16:44 -07:00
Alon Zakai 7e841b59fc
2.0.5 (#625) 2020-09-28 15:25:14 -07:00
Alon Zakai 88b4ec6592
2.0.4 (#619) 2020-09-16 08:14:41 -07:00
walkingeyerobot a94f2fe06c
update bazel workspace for emscripten 2.0.3 (#613)
* update bazel workspace for emscripten 2.0.3

* test to make sure WORKSPACE is up to date

* make it clear what happened when WORKSPACE is out of date

* intentionally add error to make sure circleci fails properly

* revert intentionally bad commit

* increase visibility of failure message

Co-authored-by: Mitch Foley <mitchfoley@google.com>
2020-09-11 20:15:19 -04:00
walkingeyerobot 5f630def2a
add a wasm bazel toolchain (#603) 2020-09-10 18:42:46 -07:00