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

36 Коммитов

Автор SHA1 Сообщение Дата
Radek Doulik d6ecc1bcf2 Merge pull request #307 from radekdoulik/pr-emscripten-bump-3-1-30-net8
Bump emscripten to 3.1.30
2023-03-10 11:53:07 +01:00
Radek Doulik ac3b38c12b Revert "Merge pull request #307 from radekdoulik/pr-emscripten-bump-3-1-30-net8"
This reverts commit 2552272b2e, reversing
changes made to b1090ea03d.
2023-03-09 22:22:59 +01:00
Radek Doulik 679202e8f8 Bump emscripten to 3.1.30 (2nd try) (#298)
* Revert "Revert "Bump emscripten to 3.1.30 (#282)" (#291)"

This reverts commit a117e262c0.

* Also update clang version in the wrapper
2023-03-09 15:34:31 +01:00
Larry Ewing 212a8f867d
Revert "Bump emscripten to 3.1.30 (preview3)" 2023-03-01 07:48:18 -06:00
Radek Doulik bf7f60571a Bump emscripten to 3.1.30 (2nd try) (#298)
* Revert "Revert "Bump emscripten to 3.1.30 (#282)" (#291)"

This reverts commit a117e262c0.

* Also update clang version in the wrapper
2023-02-28 20:40:14 +01:00
Radek Doulik bf69464a06
Revert "Bump emscripten to 3.1.30 (2nd try) (#298)" (#299)
This reverts commit 9c29816837.
2023-02-22 18:47:04 +00:00
Radek Doulik 9c29816837
Bump emscripten to 3.1.30 (2nd try) (#298)
* Revert "Revert "Bump emscripten to 3.1.30 (#282)" (#291)"

This reverts commit a117e262c0.

* Also update clang version in the wrapper
2023-02-22 11:12:25 -06:00
Ankit Jain a117e262c0
Revert "Bump emscripten to 3.1.30 (#282)" (#291)
This reverts commit f55ecf5518.
2023-02-08 13:00:40 -05:00
Radek Doulik f55ecf5518
Bump emscripten to 3.1.30 (#282)
* [bazel] Set CLOSURE_COMPILER to workaround RBE+symlinks issue (#1037)

* [bazel] Set CLOSURE_COMPILER to workaround RBE+symlinks issue

* space

* specify node_js

* 3.1.10 (#1046)

* Optimize sandbox performance (#1045)

* Optimize sandbox performance

Link just the files needed to compile, link, or archive, rather than the entire directory tree. This drastically improves build times on macOS, where the sandbox is known to be slow (https://github.com/bazelbuild/bazel/issues/8230).

* Linux wants clang to link

* all_files not needed?

* Linux wants llc

* And llvm-ar

* Templated build_file_content

* include node modules glob with linker files. also some minor formatting fixes. (#1052)

* Using bazelisk on macOS CI (#1049)

* Explicit outputs for wasm_cc_binary (#1047)

* Explicit outputs for wasm_cc_binary

* Backwards compatibility

* data_runfiles restore

* restore test_bazel.sh

* Using wrong path on accident

* two separate rules for legacy support

* Added name attribute to wasm_cc_binary rule

* 3.1.11 (#1053)

* 3.1.12 (#1054)

* 3.1.13 (#1055)

* [bazel] Add additional files necessary for building with closure and on RBE (#1057)

* 3.1.14 (#1061)

* 3.1.15 (#1066)

* Pin `latest` to a specific version for arm64-linux (#1065)

Fixes: #1040

* 3.1.16 (#1071)

* 3.1.17 (#1076)

* Exclude msys from path fix function. (#1078)

Fixes: #911

* 3.1.18 (#1081)

* 3.1.18

* Update LLVM include path in Bazel files

* Version 3.1.18-2 (#1083)

3.1.18 had a bad release binary on ARM64 Mac so push an updated version of the release.

* 3.1.19 (#1090)

* Add EMSDK_QUIET to make emsdk_env less chatting (#1091)

Without this the recommended way to silence emsdk_env was to pipe its
stderr to /dev/null.. but then you also loose potentially useful error
message.

Fixes: #946

* 3.1.20 (#1095)

* Add double-quotes to allow spaces in path (#1097)

* 3.1.21 (#1101)

* Update latest-arm64-linux to 3.1.21 (#1102)

* Update XCode version on CircleCI (#1103)

12.2 is being deprecated

* 3.1.22 (#1107)

* 3.1.23 (#1111)

* Avoid exporting EM_CONFIG for modern SDK versions (#1110)

Newer versions of emscipten, starting all the way back in 1.39.13, can
automatically locate the `.emscripten` config file that emsdk creates so
there is no need for the explicit EM_CONFIG environment variable.  Its
redundant and adds unnessary noisce/complexity.

Really, adding emcc to the PATH is all the is needed these days.

One nice thing about this change is that it allows folks to run
whichever emcc they want to and have it just work, even if they have
configured emsdk.   Without this change, if I activate emsdk and I run
`some/other/emcc` then emsdk's `EM_CONFIG` will still be present and
override the configuration embedded in `some/other/emcc`.

e.g. in the same shell, with emsdk activated, I can run both these
commands and have them both just work as expected.

```
$ emcc --version
$ /path/to/my/emcc --version
```

* Use x64 version for Windows on Arm (#1115)

* 3.1.24 (#1122)

* 3.1.25 (#1130)

* [bazel] Switch to platforms-based toolchain resolution (#1036)

* remove "name" attribute from bazel rules (#1131)

* 3.1.26 (#1134)

* Update remote_docker version in CircleCI config (#1117)

20.10.17 is the current default.

* docker image: Change base to Ubuntu 22.04 LTS (jammy) (#1135)

Done to upgrade from CMake 3.16.3 to 3.22.1. CMake 3.21 or newer is needed to build the Qt 6.4.1 sources with emscripten.

Also update to libidn12 to resolve an "Unable to locate package libidn11" error.

* 3.1.27 (#1139)

* Use constants for fixed paths. NFC (#1140)

* Add standalone_wasm feature to bazel emscripten_toolchain (#1145)

* 3.1.28 (#1149)

* Upgrade to rules_nodejs 5.8.0 (#1150)

Fixes https://github.com/emscripten-core/emsdk/issues/1020

* 3.1.29 (#1160)

* Pin Windows CI to Bazel 5.4.0 (#1163)

* Remove reference to fastcomp-latest. NFC (#1164)

fastcomp can only be install using explicit versions names so this name
doesn't work.

* Remove fastcomp SDK and fastcomp build rules. NFC (#1165)

Folks that want to work with fastcomp will now need to use an older
checkout of emsdk.

* 3.1.30 (#1167)

* Bump emscripten to 3.1.30

* Bump clang version

* Do not include test directory

* Update eng/emsdk.proj

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>

---------

Co-authored-by: Kevin Lubick <kjlubick@users.noreply.github.com>
Co-authored-by: Sam Clegg <sbc@chromium.org>
Co-authored-by: John Firebaugh <john.firebaugh@gmail.com>
Co-authored-by: walkingeyerobot <mitch@thefoley.net>
Co-authored-by: Ezekiel Warren <zaucy@users.noreply.github.com>
Co-authored-by: Heejin Ahn <aheejin@gmail.com>
Co-authored-by: Tim Ebbeke <Tim06TR@gmail.com>
Co-authored-by: Derek Schuff <dschuff@chromium.org>
Co-authored-by: Joel Van Eenwyk <joel.vaneenwyk@gmail.com>
Co-authored-by: Pierrick Bouvier <101587250+pbo-linaro@users.noreply.github.com>
Co-authored-by: Trevor Hickey <TrevorJamesHickey@gmail.com>
Co-authored-by: Fredrik Orderud <forderud@users.noreply.github.com>
Co-authored-by: Robbert van Ginkel <570934+robbertvanginkel@users.noreply.github.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2023-02-07 13:06:50 -06:00
Ezekiel Warren 7640830172 Using bazelisk on macOS CI (#1049) 2022-05-31 22:47:13 +02:00
Ezekiel Warren 774b871eca
Bazel Windows Support (#929) 2021-12-20 14:24:56 -05:00
Sam Clegg 2ec227afbe
Pass -Wno-unused-variable when building binaryen during CI (#938)
See https://github.com/emscripten-core/emsdk/pull/936
See https://github.com/WebAssembly/binaryen/issues/4353
2021-11-22 12:41:06 -08: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
Sam Clegg 7d155f8424
Move tests to "test" directory. NFC. (#745) 2021-03-08 08:03:07 -08:00
Amin Yahyaabadi 40780130aa
fix: emsdk swallows/overwrites parts of PATH (#642)
This PR has three changes: 

1) Fixing --permanent flag:
The previous algorithm looped over the values of PATH 4 times to check conditions while these conditions are the opposite of each other. Also, the result did not include all the parts in the whole_path. 

	I have combined these loops and fixed the algorithm, so no path is lost. Now using --permanent the PATH and Env variables are correctly updated.

2) Fixing --system flag:
Now, the system flag does not cause the PATH values to be overwritten/clobbered. The PATH/Env variables are correctly updated.

3) Fixing flagless flag:
When no flag is provided the value of process/shell is correctly updated and preserved.

This adds the tests for all the situations.

Fixes #634
Fixes #645
2020-10-30 20:57:15 -07:00
Sam Clegg 4a695be348
circleci: Add explict version to `setup_remote_docker`. NFC. (#646)
Apparently we are supposed to do this:
 https://discuss.circleci.com/t/old-linux-machine-image-remote-docker-deprecation/37572
2020-10-27 12:59:50 -07:00
Sam Clegg 10290f2f1d
Update mac circleci environment (#644)
Apparently `Image xcode:9.0 is not supported` these days.
2020-10-24 10:01:10 -07:00
Chris Savoie 4fe6e492c0
Fix environment variables to be consistently set when using --system or --permanent (#515)
Also switch PostMessage to SendMessageWithTimeout and only send one if
environment variables actually changed.

Also, enable and fix --permanent unit tests.
2020-10-09 12:58:59 -07:00
Amin Yahyaabadi 807e55cbec
Set user environment variables permanently by using `--permanent` + deprecate `--global` (#621) 2020-09-29 22:15:22 -07:00
walkingeyerobot 5f630def2a
add a wasm bazel toolchain (#603) 2020-09-10 18:42:46 -07:00
Kleis Auke Wolthuizen 645d276b5c
Docker improvements (#571)
- Copy the current checkout to the Dockerfile.
- Add .dockerignore to exclude files while copying.
- Test tip-of-tree build within CI.
- Run the test suite outside the Docker image.
- Perform extra sanity tests.
- Switch to make commands for CircleCI.
- Improve Docker README.
2020-09-02 10:50:52 -07:00
Bob Tolbert c1f0ad9fcd
Fix emsdk_env.sh for multiple shells (#594)
This change allows sourcing emsdk_env.sh from bash, zsh and
ksh.

The script works out the true location of the emsdk directory,
even if it is a symlink or the script itself is a symlink.

Added a test in scripts/test_source_env.sh to try sourcing via
all the shells and with various paths.

Co-authored-by: Bob Tolbert <bob@tolbert.org>
2020-08-22 11:31:16 -07:00
Sam Clegg 4aa028017c
Use bundled/embedded python3 binary on OSX (#561)
See https://github.com/emscripten-core/emscripten/issues/7198
2020-07-21 10:21:02 -07:00
Sam Clegg eff1d2e2f1
Drop "-upstream" suffix from docker image name (#530) 2020-06-24 16:55:32 -07:00
Sam Clegg dc74092927 Revert testing changes 2020-06-23 20:35:53 -07:00
Sam Clegg 618fcf36ee More circleci testing 2020-06-23 19:06:58 -07:00
Sam Clegg 8e5b6d8986 More circleci testing (sorry) 2020-06-23 18:56:39 -07:00
Sam Clegg 25416b8ff7
Testing circleci auto-publish of docker image (#531) 2020-06-23 18:50:16 -07:00
Sam Clegg 7241082595
Build docker image as part of CI (#527)
We only publish on tag, but we want to build and test the image
on all PRs.
2020-06-22 16:09:09 -07:00
Piotr Paczkowski (trzeci.eu) 01589e7afd
Updated tagging schema for docker images (#519) 2020-06-09 08:36:37 -07:00
Jonathan Hale 24d88487f4
Set up build-docker-image job build docker image for tags on Circle CI (#513)
Signed-off-by: Squareys <squareys@googlemail.com>
2020-06-05 15:32:23 -07:00
Sam Clegg 5e996c6e69
test.py should require that the SDK be activated (#492)
It was working previously by accident because the tests were
using the defaults such as `$HOME/.emscripten`.  However usage of the
emsdk should really only happen in the emsdk environment where
EM_CONFIG dictates the config location (not just using the default).

This change is needed as precursor to making `--embedded` the default
(in this case the config doesn't live in `$HOME/.emscripten`).
2020-05-07 11:42:51 -07:00
Sam Clegg e381caad2f
Move test scripts into scripts directory (#485)
I'm planning on adding a some scripts for managing node and python
binaries and I don't want to clutter up the top level any more.
2020-05-04 13:40:24 -07:00
Alon Zakai 1458145cf4
1.39.8 (#440)
Also fix MacOS CI by installing Python3
2020-02-14 09:07:32 -08:00
Sam Clegg 3418c69437
Be more precise about which tests are disabled on macOS due to timestamp issue (#342) 2019-08-29 14:03:32 -07:00
Sam Clegg 880be59788
Add circleci config with mac, windows and linux testing (#338)
- Add EMSDK_NOTTY variable which we can use on CI to prevent tty output.
- Add test.bat for windows which mirrors test.sh.
- Remove travis support
2019-08-29 00:35:36 -07:00