Commit Graph

524 Commits

Author SHA1 Message Date
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
Alon Zakai
9ed207099a 1.38.47 (#364) 2019-10-02 14:16:21 -07:00
Alon Zakai
41adfea99d 1.38.46 (#361) 2019-09-25 13:12:26 -07:00
Alon Zakai
a6c8e25a59 Remove some mozilla-games remnants (#360)
Remove obsolete docs links.

Remove downloading of the old releases list, and bundle the file in the repo.

Also the message in update-tags was wrong: we need git to do anything there now, as update-tags gets emscripten-releases using git currently (which is ok as update-tags is run by users that installed with git; otherwise they installed without git and just update the entire emsdk normally).
2019-09-23 10:37:49 -07:00
Sam Clegg
252410a7e8 Handle missing downloads gracefully (#353)
Previously we were asserting and generating a stack track if a
download failed.  However the assert is only relevant if the download
succeeds.

Also:

- Remove an unused function
- Remove extra braces from tuple destructuring
2019-09-13 14:53:04 -07:00
Sam Clegg
26b160a575 Add 1.38.45 (#352) 2019-09-12 13:54:18 -07:00
Alon Zakai
845f7e8d35 1.38.44 (#351) 2019-09-11 09:39:23 -07:00
Sam Clegg
efc64876db Update node version to 12.9.1 (#348)
Turns out 10.16.3 has issues running some emscripten tests due to a
v8 bug: https://bugs.chromium.org/p/v8/issues/detail?id=8347.
2019-09-03 12:16:46 -07:00
Sam Clegg
2dd05dca80 reland: Update default node version to 10.16.3 (#341)
Original change that got reverted: #331

See https://github.com/emscripten-core/emscripten/issues/9332
2019-08-30 12:46:41 -07:00
Sam Clegg
8f6fc5011f Re-enable tests on mac after emscripten roll (#347) 2019-08-30 10:16:35 -07:00
Alon Zakai
8a2e65a488 1.38.43 (#346) 2019-08-30 09:54:50 -07:00
Sam Clegg
62c8a093f7 Add status badge (#343) 2019-08-29 15:04:06 -07: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
40495c0a31 Fix a bunch of flake8 warnings (#239)
Now that we have much better testing in CI this kind of change
should be much easier to make with confidence.
2019-08-29 12:15:39 -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
Sam Clegg
80f490f749 Fix powershell file association after emsdk script rename (#340)
See #292

Fixes #336
2019-08-28 17:29:10 -07:00
Sam Clegg
f285fdbb0c Revert "Update default node version to 10.16.3 (#331)" (#339)
Apparently this broke on mac: #337
2019-08-28 16:16:01 -07:00
Sam Clegg
f68effe57e Update flake8 and fix warnings in .py files (#334) 2019-08-28 15:15:38 -07:00
Alon Zakai
7179fac39b Set EMSCRIPTEN_ROOT in releases builds (#333)
Without setting this, if a non-releases build was previously activated, it will keep affecting EMSCRIPTEN_ROOT in the emitted config file.

Helps with #326
2019-08-28 11:20:14 -07:00
Sam Clegg
ef0699a936 Remove old exe file (#332)
The use of this tool was removed in 9e68e895bd
2019-08-27 14:54:20 -07:00
Sam Clegg
a562ff7bda Use a wrapper script for running emsdk.py (#292)
This change moves the python code for emsdk into a file ending in .py.
This script is then run via emsdk.bat on windows or emsdk (a shell
script) on non-windows.

This avoid the #!/bin/sh at the top of the python script and the "exec"
hack on the first line that re-runs it under python.  Hopefully this
preserves the intent of #273 without jumping through so many hoops.
2019-08-27 14:02:50 -07:00
xcodebuild
5c93ca29bd Fix python3 issue in macOS logic (#327)
Fixes iodide-project/pyodide#84
2019-08-27 13:22:50 -07:00
Sam Clegg
7bc47b7232 Update default node version to 10.16.3 (#331)
See https://github.com/emscripten-core/emscripten/issues/9332
2019-08-27 13:02:02 -07:00
Sam Clegg
5dd09e4893 Convert emsdk_manifest.json to unix line endings (#330) 2019-08-27 11:47:57 -07:00
Thomas Lively
1ea9c326a3 Remove extraneous arguments to construct_env (#328)
The code for construct_env expects the output file to be at `argv[2]`,
but it is actually invoked in emsdk_env.{sh,fish} with $@ there
instead. Usually this is not a problem because the emdsk_env.{sh,fish}
is `sourced` directly from the user's shell and $@ is empty, but this
can break in scripted environments.

The $@ was added two years ago in 3b6c6b86 for no discernible reason,
but it was entirely ignored in the code until last month when #307
added a meaningful argument to construct_env but incorrectly kept the
$@.
2019-08-27 09:42:36 -07:00
Sam Clegg
596bdc5ea4 Fix file permissions when extracting zip files (#325)
This means that `./emsdk` works on UNIX system after emsdk self-updates
from a zip file.  Without this one would need to run `python ./emsdk`
which seems to be why the tests were doing it this way.
2019-08-26 23:06:56 -07:00
Alon Zakai
da4900b83f Always download archives, since we delete them after use anyhow. This prevents using archives left behind by mistake in the past. (#324)
Fixes #323
2019-08-21 13:42:09 -07:00
Alon Zakai
6a4c0f981d Properly clean up downloaded zips (#322)
We got this wrong because we were not using get_download_target, so we were trying to delete the wrong file.

Also add a test.

Fixes #320
2019-08-20 12:26:44 -07:00
Alon Zakai
64c5e81772 [windows] Replace python2-specific error handling with a check that works in python3 as well (#300)
Fixes #298
2019-08-19 14:51:35 -07:00
Alon Zakai
9f9d8c074c 1.38.42 (#321) 2019-08-19 14:36:20 -07:00
Alon Zakai
d92a831fc9 tidy up a comment (#315) 2019-08-19 14:00:24 -07:00
Alon Zakai
d94e9fbc89 1.38.41 (#317) 2019-08-07 10:39:51 -07:00