Commit Graph

258 Commits

Author SHA1 Message Date
Alon Zakai
b4de632f3f Add 'latest-fastcomp' sdk (#200)
* add a 'fastcomp' sdk, which provides fastcomp from the waterfall

* fix

* fix

* fix?

* fix

* fix

* fix

* logging

* fix?

* cleanup
2019-01-08 12:37:39 +02:00
Alon Zakai
889c1516fb Enable "emsdk [install|activate] latest-upstream" (#195)
This makes it possible to tell the emsdk to get "latest-upstream", which fetches the latest lkgr from there. This will probably be a common use pattern, I expect we may want to recommend users start trying out the wasm backend that way soon. This will also let us simplify this code: https://github.com/kripken/emscripten/blob/incoming/.circleci/config.yml#L334

Aside from adding the "latest-upstream" alias, this PR has

* A few minor cleanups in the emsdk code.
( Minor restructuring of how we define the upstream stuff in the manifest: It seemed odd to have 3 things (clang, emscripten, binaryen) that are all coming from a single archive from the waterfall. Simpler to have just one - the archive is one big lump, there's no way to download just part of it.
* Also add node 8.9.1 as a dependency of the upstream sdk, which makes things usable out of the box (node.js is the one thing not provided by the waterfall archive).
2018-12-20 09:58:37 -08:00
Jukka Jylänki
7a0e27441e Fix vswhere search for msbuild on Python 3, and demote pywin32 as optional when only enabling emsdk for current command prompt instance. Fixes #177 2018-10-23 14:52:40 +03:00
Jukka Jylänki
0d8576c0e8 Micro-cleanup TTY_OUTPUT global declaration 2018-08-19 16:39:58 +03:00
juj
d8066153ea Merge pull request #168 from sbc100/tty_option
Add --notty to force non-erasing progress bar
2018-08-19 16:31:04 +03:00
Sam Clegg
8b168a47ca Add --notty to force non-erasing progress bar
This is useful in CI environments that claim to be TTYs but
really don't have escape characters such as \r correctly.
2018-08-16 14:14:58 -07:00
juj
857f418f9f Merge pull request #164 from jgravelle-google/waterfall_lkgr
Add upstream waterfall tools and sdk
2018-07-25 19:10:34 +03:00
Jukka Jylänki
23dba8d27b Remove redundant checking for hasattr(self, 'activated_env') since activated_environment() function already does that. Also change activated_environment() to return a pre-split list instead of a string that caller is expected to split. 2018-07-20 10:02:55 +03:00
Jukka Jylänki
cac082054a Add support for multiple environment items to be present in activated_env, separated by semicolon ;. 2018-07-19 12:19:20 +03:00
Jacob Gravelle
c475b565ad Add upstream waterfall tools and sdk 2018-07-18 09:27:20 -07:00
Alon Zakai (kripken)
ff627992cb binaryen.js is no longer bundled in binaryen, and emscripten doesn't need it anyhow (it's for handwritten js users) 2018-07-05 15:09:29 -07:00
Jacob Gravelle
3310027d35 Use only_supports_wasm flag instead of separate install script 2018-06-20 09:07:48 -07:00
Jacob Gravelle
16125272b2 Support for building upstream LLVM from source 2018-05-30 16:41:59 -07:00
Jukka Jylänki
a4474e59db Improve emsdk on MSYS2. 2018-05-09 09:55:33 +03:00
Jukkaj Jylanki
72f6f67ade If win_get_environment_variable fails due to win32api module not being present, gracefully fail out. Recognise MINGW64 as an MSYSTEM, and behave like MSYS even when MSYSTEM is set, but is of another flavor. (even when untested) 2018-04-17 16:09:34 +03:00
Jukka Jylänki
313d5ef651 Disable support for Nightly builds 2018-03-07 17:39:00 +02:00
Jukka Jylänki
ab4bbdc6a5 Fix a bug where precompiled list of SDKs would not attempted to be downloaded if git was not present on the system. Fixes https://github.com/kripken/emscripten/issues/6165. 2018-01-31 21:23:42 +02:00
juj
2324e5d8f4 Merge pull request #128 from saschanaz/versionkey-py3
Python 3: version_key() should return list
2018-01-11 19:15:14 +02:00
Kagami Sascha Rosylight
e3653c2f21 version_key should be list on py3 2018-01-11 20:03:17 +09:00
Jukka Jylänki
2314fe9db8 Improve console message about 'emsdk activate' when called but it fails to activate any tools. 2018-01-09 16:34:28 +02:00
Jukka Jylänki
359b72dbb5 Fix permanently_activate -> arg_global. 2018-01-04 20:19:39 +02:00
Jukka Jylänki
6ca9d525c2 Merge remote-tracking branch 'remotes/saschanaz/key'
# Conflicts:
#	binaryen-tags.txt
#	emscripten-tags.txt
2018-01-04 14:23:05 +02:00
Jukka Jylänki
326606f5aa Document --uses and make it a bit more flexible with --old. #125. 2018-01-04 14:14:48 +02:00
juj
ae40344624 Merge pull request #125 from umeboshi2/list-sdk-depends
list sdk depends
2018-01-04 14:15:55 +02:00
Jukka Jylänki
f3ac553081 Pass -DHAVE_FUTIMENS=0 when building with old macOS < 10.13 SDK to avoid LLVM build system issue 2018-01-03 22:38:11 +02:00
Jukka Jylänki
87ddafd439 Add fallback which('MSBuild.exe') to Visual Studio MSBuild search 2018-01-03 13:52:01 +02:00
Joseph Rawson
8da4907dbf list sdk depends 2018-01-02 20:03:26 -06:00
Kagami Sascha Rosylight
2d5ae01d8c prefer key for sorting 2017-12-22 11:27:02 +09:00
Jukka Jylänki
736895b0c6 Unzip .tar.xz packages 2017-11-23 17:19:14 +02:00
Jukka Jylänki
efbbba6b62 Optimize emsdk operation 2017-11-23 16:46:27 +02:00
juj
0f35386de0 Merge pull request #115 from tejom/add_keyboard_interupt
Catch KeyboardInterupt in download_file
2017-11-14 11:47:16 +02:00
matthew
86c79dec0a Change exit code and error message 2017-11-13 20:39:44 -08:00
Jukka Jylänki
a21b2f2ef5 Add support for specifying version filter restrictions on %-expanded manifest packages. This enables e.g. separating out Emscripten version <= 1.37.22 to keep using Java 7 that they originally shipped with, but migrate 1.37.23 to use Java 8 which is now needed to keep Closure working. Add packages for Java 8. 2017-11-13 16:48:26 +02:00
matthew
c1a7d52fdc Catch KeyboardInterupt in download_file
When interupting a download with something like control c the program will quit but won't clean it self up and will leave an invalid file. There is a handler for Exception, but this wont catch interupts. If you try to rerun the program it won't try to redownload it the next time.
2017-11-12 22:00:44 -08:00
Jukka Jylänki
00e8d9df95 Add support for building with Visual Studio 2017 Express (in x86 mode, as it looks like VS2017 Express only ships with partial x64 compiler support(?)) 2017-10-25 22:00:45 +03:00
juj
76aa7823f1 Merge pull request #105 from SaschaNaz/powershell
Support PowerShell environment
2017-10-24 14:50:37 +03:00
Kagami Sascha Rosylight
605c83a6d1 support powershell env 2017-10-20 14:03:31 +09:00
Kagami Sascha Rosylight
b995c0b2e3 less verbose unpacking 2017-09-30 13:08:22 +09:00
mliszcz
cad5c8313e Python 3 compatibility - wrap map objects in lists 2017-08-16 03:51:01 +02:00
Jukka Jylänki
4ed531f679 Fix emsdk invocation on non-Windows OSes. 2017-08-15 22:38:20 +03:00
Jukka Jylänki
3b6c6b8652 Make emsdk work on Windows with MSYS shell and native Windows Python 2.7 2017-08-15 20:23:36 +03:00
Jukka Jylänki
04d4f7dbef Fix emsdk update-tags command to work on Python 3. 2017-08-14 13:18:23 +03:00
Jukka Jylänki
b2ebcffbbb In python 3, Content-Length header is accessed via url.getheader() and not url.info().getheader(). If manually aborting download, remove partially downloaded file. If stdout is redirected to a file, don't spam the file with download progress % notifications. 2017-07-18 17:23:43 +03:00
Jukka Jylänki
fd087c100d Fix emsdk script to work on python 3 again. 2017-07-17 20:31:12 +03:00
Jukka Jylänki
42f82e67f9 Fix an issue where empty line at the end of the stored tag files cause an incorrect sdk name 'sdk--64bit' to show up. 2017-07-17 20:30:42 +03:00
Jukka Jylänki
7d0881ea73 Fix emsdk to not crash after PR #77 on Windows if VS2017 is not installed. 2017-07-13 13:09:32 +03:00
juj
7dc94675e2 Merge branch 'master' into vs2017 2017-07-12 12:36:31 +03:00
Kagami Sascha Rosylight
99594ccf4b prefer VS2015 because of LLVM build issue 2017-07-01 11:20:28 +09:00
Jukka Jylänki
33694ce156 Remove temporary testing code that slipped through to release. 2017-06-13 13:41:48 +03:00
Jukka Jylänki
306b5b7db9 Fix regression from #76 which caused OSX to incorrectly identify as LINUX. 2017-06-05 17:04:04 +03:00