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
Piotr Paczkowski (trzeci.eu)
c56422590b
Added dockerfiles form trzeci/emscripten-docker ( #368 )
...
As a continuation from: https://github.com/emscripten-core/emscripten/issues/8742
This PR provides adopted Dockerfile from https://github.com/trzecieu/emscripten-docker/blob/master/docker/trzeci/emscripten-fastcomp/Dockerfile which supports builds:
* fastcomp
* upstream
Features:
* An image can be build with fastcomp and upstream version of Emscripten SDK
* It applies some extra size optimizations (that might be removed in sake of clarity / stability)
* It creates conventional `1000:1000` user `emscripten`
* It creates extra entrypoint that mitigates running as non-root user (Some context: https://trzeci.eu/fixing-permission-of-files-created-from-docker/ )
* It has simple-stupid tests performed during building
2019-10-11 11:21:47 -07:00
Alon Zakai
7f9af7bd1a
1.38.48 ( #371 )
2019-10-11 09:13:44 -07:00
Nikolaos S. Papaspyrou
27d6233c80
Add support for constructing a t?csh environment ( #370 )
2019-10-10 14:55:27 -07:00
Sam Clegg
cf01b11c4e
Fix for default NODE_JS in config file ( #369 )
...
This was broken in #362
2019-10-09 11:33:15 -07:00
Sam Clegg
6ab7f5829a
Cleanup emsdk.py ( #362 )
...
- Remove some unneeded use of `global` keyword
- Use OrderedDict
- Add exit_with_error helper
- Remove SPIDERMONKY_ENGINE from emscripten config
2019-10-07 17:02:15 -07:00
Hills
29ad7fab7b
Add a warning on old Python SSL/TLS certificates ( #354 )
...
The OSX message is [SSL: CERTIFICATE_VERIFY_FAILED] while trying to download files.
While, the Linux Python message is less descriptive.
Error downloading URL 'https://xxxx.xxx.xxx ': <urlopen error unknown url type: https>.
This hopefully reduces the stream of common issues raised during installation as a result of the change of Python TLS certs to 2048 or greater.
This change relates to #133 #136 #140 #176 #6275 #6548 #6723 #9036 … and possibly more.
Installation can be accomplished by installing the latest Python certificates (pip install certifi), symbolic linking a new python version, and relying on the python shebang line to run $ ./emsdk.py install latest.
2019-10-07 14:08:53 -07:00