Commit Graph

561 Commits

Author SHA1 Message Date
Sam Clegg
b1f867a5a3 Re-enable building master from source for linux 32-bit (#471)
Doing this for windows is trickier as we would also need to provide
the python binaries for win32.

Note that we don't provide node binaries in this case because the
node project itself doesn't produce 32-bit builds for linux anymore.
This should still be useable for 32-bit linux users although they
will need to provide their own node (or use the system provided
one).

Fixes: #470
2020-04-15 17:10:44 -07:00
Alon Zakai
c523a654c8 1.39.12 (#465) 2020-04-09 16:32:39 -07:00
Alon Zakai
a952a6fb14 Fix expected test output (#464)
Somehow CI did not run on #460
and the UI did not indicate that... weird. So
we had a typo in the text output
that was expected that went missed.
2020-04-09 16:19:00 -07:00
Nikolas Garofil
4dce416efa Docker fixes and updates (#461)
Dockerfile:
- Use the most recent stable debian (buster) instead of the previous one
- Build version 1.39.11 by default instead of 1.38.43
- Fix small typo in the comments

Makefile and README.MD: Fix incorrect name of image on dockerhub.
2020-04-06 08:58:16 -07:00
Dan Field
009ab2c77f Avoid re-downloading files that are already downloaded (#460)
* Writes a .emsdk_version file to output directories using the name (which contains a version number and/or hash) once all installation steps have completed successfully.
* If that file exists, skip downloading/installation hooks.
2020-04-01 13:46:22 -07:00
Sam Clegg
a490cd1222 Add llvm to git ignore (#457) 2020-03-23 15:29:00 -07:00
Sam Clegg
044f25f66e Use an actual hello world program to test in test.py (#456) 2020-03-20 11:23:26 -07:00
Alon Zakai
7e689a5061 1.39.11 (#455) 2020-03-20 08:44:40 -07:00
Alon Zakai
1bd7d54759 1.39.10 (#452) 2020-03-09 09:20:53 -07:00
Alon Zakai
86a4766a61 1.39.9 (#450) 2020-03-06 09:32:02 -08:00
Alon Zakai
8a35734a47 Fix precompiled library support + testing (#444)
Support multiple libraries for precompiled things, as we use a
different one for LTO, etc.
2020-03-05 10:45:46 -08:00
Ayane Satomi
3264996587 Fix some grammar errors in README (#449) 2020-03-03 11:03:20 -08:00
Alon Zakai
1458145cf4 1.39.8 (#440)
Also fix MacOS CI by installing Python3
2020-02-14 09:07:32 -08:00
juj
5892e95b60 Fix Windows lookup for Python 3 (#439) 2020-02-13 22:22:17 +02:00
Diego Casorran
50df5a2983 Fix ZIP extraction on Windows. (#438)
Meant to resolve #412 (comment)
2020-02-12 14:01:50 -08:00
Sam Clegg
573278be09 Switch to python3 when installing python on windows installs. (#349) 2020-02-04 17:03:20 -08:00
Alon Zakai
801bef7d44 1.39.7 (#436) 2020-02-03 11:49:31 -08:00
Brion Vibber
ff44c97ffa Re-add binaryen dep to upstream-master SDK builds (#435)
This should ensure that BINARYEN_PATH is added to the resulting
~/.emscripten file when building from source:

https://github.com/emscripten-core/emsdk/issues/434
2020-01-30 09:44:35 -08:00
Sam Clegg
deaa7e4bfd Hide npm output by default (#431)
Fixes: https://github.com/emscripten-core/emscripten/issues/10291
2020-01-28 17:12:31 -08:00
Sam Clegg
ba53d20e94 Use npm ci over npm install (#433)
Fixes: https://github.com/emscripten-core/emscripten/issues/10291

Also fix issue where an old/incorrect version of node could be used
during SDK install since we were preferring activated versions of node.
2020-01-28 14:32:36 -08:00
Sam Clegg
3532fd3924 Extract install_sdk and install_tool from install. NFC (#432)
This change simply splits this function into its two logical parts.
2020-01-28 10:36:16 -08:00
Sam Clegg
997b0a19ff Pass --no-audit to npm install (#426)
Fixes https://github.com/emscripten-core/emscripten/issues/10246
2020-01-21 09:22:15 -08:00
Alon Zakai
6bfbe2a7da 1.39.6 (#424) 2020-01-15 11:15:54 -08:00
Sam Clegg
3631f0aac3 Remove use of incoming branches (#423)
See https://github.com/emscripten-core/emscripten/issues/10067
2020-01-14 13:59:15 -08:00
juj
d30ba160ed Add npm install step as post-build to Emscripten (#404)
* Add npm install step as post-build to Emscripten

* Address review

* Run npm install on releases-upstream and releases-fastcomp

* Fix node path

* Add node to PATH

* Only install production packages with npm

* Address review
2020-01-10 22:11:38 +02:00
Ron Wright
98ad15a3d7 Fix issue with Windows paths under MinGW versions of Python (#419) 2020-01-07 12:11:29 +02:00
Alon Zakai
3690139432 1.39.5 (#417) 2019-12-20 09:10:47 -08:00
juj
b7cde08f6c Remove old workaround that was there to restore %SystemRoot% in PATH on Windows systems that were affected by #4121. (#416) 2019-12-19 20:30:02 +02:00
juj
f72c6e9dec Add support for building with Visual Studio 2019 (#415) 2019-12-19 20:29:21 +02:00
juj
a0d34f6a61 Add upstream-incoming SDK targets for macOS and Linux as well (#413) 2019-12-17 21:52:41 +02:00
juj
2546d5ab51 Build wasm master (#401)
* Build wasm upstream

* Fix lld build for wasm-ld. Add note about compiler-rt not working.

* Address review

* Address review

* Address review

* Address review

* If targeting fastcomp Clang, apply EMCC_WASM_BACKEND=0 so that previous leftover environment with EMCC_WASM_BACKEND=1 will not cause a conflict

* Add docs about setting up Emscripten
2019-12-16 23:59:15 +02:00
juj
e10be710da Rename old fastcomp-based tools to a specific fastcomp- prefixed name (#400)
* Rename old fastcomp-based tools to a specific fastcomp- prefixed name to clearly distinguish legacy toolchain

* Update test.py
2019-12-12 09:15:26 +02:00
Sam Clegg
322c7aa727 Don't force re-download of all archives during install (#411)
Only do this for the new `emscripten-releases`.   These all install
the the same directory so we can't use the presence of the directory
to know if we have already installed them.
2019-12-11 16:55:06 -06:00
Sam Clegg
9c60ff91d1 Add python generated files to .gitignore (#409) 2019-12-11 15:16:08 -06:00
Sam Clegg
3c548d39f2 Clobber target directory before extracting SDK tools (#410)
With emscripten-releases all the SDKs install the same directory so
this is particularly important for them.
2019-12-11 15:15:45 -06:00
Sam Clegg
1e42b44651 Update README (#390)
- Remove references to non-existent `Archived Releases` section.
- Rename `Platform-Specific Notes` to `System Requirements`
- Put `SDK Maintenance` which is kind of like an FAQ at the end.
2019-12-10 13:26:10 -06:00
juj
cf90c72aba Do not attempt to reinstall python if it already exists (#394)
* Do not attempt to reinstall python if it already exists, since that python may be interpreting the current emsdk.py script that is being executed to do the installation.

* Add TODO comment about refactoring install scheme
2019-12-05 17:59:21 +02:00
Jan
2c1cb5a2be Update the latest release tag to 1.39.4 (#398) 2019-12-04 13:02:41 -08:00
Alon Zakai
c10e3e86e8 1.39.4 (#397) 2019-12-03 09:12:42 -08:00
juj
12f1824ffb Remove Tools and SDKs that do no longer work after migration from Mozilla to Google hosting. (#395) 2019-12-03 09:20:05 +02:00
juj
5b75fb38da Remove unused EMSDK_DEV option. (#393) 2019-11-25 19:56:28 +02:00
Alon Zakai
a5082b2326 1.39.3 (#388) 2019-11-14 09:31:18 -08:00
Alon Zakai
04d13b99d0 1.39.2 (#386) 2019-11-06 17:14:09 -08:00
Alon Zakai
1b1f08f356 Use quotes, so we handle python paths with spaces. Fixes #381 (#383) 2019-10-30 11:22:52 -07:00
Alon Zakai
76de4a0b4f 1.39.1 (#382) 2019-10-30 10:34:52 -07:00
Sam Clegg
ae5044e779 Switch default backend from 'fastcomp' to 'upstream' (#373)
When users as for 'latest' or just '1.39.0' we now default to the
upstream llvm backend.

For versions before 1.39.0 we continue to default to fastcomp.

Fixes: https://github.com/emscripten-core/emscripten/issues/5488
2019-10-21 14:23:29 -07:00
Sam Clegg
e047fe4c1e Add python and java to 'releases-upstream' for windows (#376)
These are part of `releases-fastcomp` but for some reason are not
included in the upstream equivalent.  I imagine they were simply
overlooked.
2019-10-18 14:08:39 -07:00
Alon Zakai
6ac51b4275 Show a clear error when a tool is only 64-bit but the platform is 32. (#378) 2019-10-18 12:58:53 -07:00
Alon Zakai
81de8c5da0 1.39.0 (#377) 2019-10-18 12:50:59 -07:00
Alon Zakai
e375d247f2 Strip the tot value. (#375)
Opening it and saving it in an editor can add a newline, and we have user
reports of this happening for users.

Fixes emscripten-core/emscripten#9651
2019-10-17 15:26:22 -07:00