Commit Graph

417 Commits

Author SHA1 Message Date
Alon Zakai
f00c9ce165 update emscripten and binaryen tags (#205) 2019-01-09 16:40:53 +02:00
Alon Zakai
38dcc11b1d Re-land #200 : waterfall fastcomp support (#204)
(This was reverted by mistake. It had a bad commit message though, so relanding with a nicer one is nice anyhow.)

With this, we can do emsdk install latest-fastcomp and it installs fastcomp from the waterfall. That is, we then have 3 main sdks people might want to use:

* latest which installs fastcomp-llvm (plus emscripten etc.) from the mozilla infrastructure. (fetches the last emscripten version there)
* latest-upstream which installs upstream-llvm (plus emscripten etc.) from the waterfall infrastructure. (fetches the last known good revision (lkgr) there)
* latest-fastcomp which installs fastcomp-llvm (plus emscripten etc.) from the waterfall infrastructure. (fetches the last known good revision (lkgr) there)

The first and last are currently somewhat overlapping in that both fetch a build of fastcomp. However, as we transition away from the mozilla infrastructure, we could just make latest an alias for latest-fastcomp. (And later, when we're ready to switch to the wasm backend by default, the alias could switch to latest-upstream.)
2019-01-08 13:46:53 -08:00
Alon Zakai
3ef46e970d Revert "Commit update-tags results" (#203) 2019-01-08 13:33:54 -08:00
Alon Zakai
b0fda89ec2 Revert "Add 'latest-fastcomp' sdk (#200)" (#202)
This reverts commit b4de632f3f.

This caused the ec2 mozilla builders to fail due to bundling lkgr.json. Reverting til we figure it out.
2019-01-08 13:28:17 -08:00
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
juj
43576c3f60 Merge pull request #201 from kripken/update
Commit update-tags results
2019-01-08 12:36:23 +02:00
Alon Zakai (kripken)
028d7c09ab commit update-tags results 2019-01-06 09:21:40 -08:00
juj
df648b4382 Merge pull request #199 from juj/fix-warning
Avoid a Docker warning on an unused build arg
2018-12-21 11:45:05 +02:00
Alon Zakai
c9005824cf avoid a travis warning on an unused build arg 2018-12-20 11:35:21 -08: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
Jacob Gravelle
e7a7828def Move waterfall-lkgr sdk to not be chosen by 'install latest' 2018-07-23 13:52:14 -07:00
juj
97564e0bbf Merge pull request #165 from juj/llvm_root
LLVM_ROOT
2018-07-22 17:56:06 +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
df9957f0dc Also add EMSCRIPTEN_NATIVE_OPTIMIZER environment variable. 2018-07-19 12:37:34 +03:00
Jukka Jylänki
c0e0f2ddd7 Also add EMSDK_NODE environment variable. 2018-07-19 12:30:50 +03:00
Jukka Jylänki
f4f4dbdbf7 Also add EMSDK_PYTHON environment variable to point to the python.exe interpreter that is activated with Emsdk. 2018-07-19 12:27:24 +03:00
Jukka Jylänki
17f50b0e95 Add LLVM_ROOT environment variable when a Clang tool is activated. 2018-07-19 12:19:20 +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
f221912051 Move upstream- prefix from tool id to version 2018-07-18 09:42:25 -07:00
Jacob Gravelle
c475b565ad Add upstream waterfall tools and sdk 2018-07-18 09:27:20 -07:00
juj
18b21ddad6 Merge pull request #156 from juj/no-binaryen.js
binaryen.js is no longer bundled in binaryen
2018-07-06 11:16:21 +03: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
Jukka Jylänki
4c8ac8755d Update tags list to latest. 2018-07-05 16:27:06 +03:00
Alon Zakai
5ea31e96a9 Travis CI (#155)
* try using travis

* comments

* docker

* fix

* fix
2018-07-05 16:21:47 +03:00
Jacob Gravelle
8512c60588 There is no binaryen-incoming, point incoming sdks at binaryen-master (#150) 2018-06-22 09:38:41 -07:00
juj
b6dbf740a6 Merge pull request #146 from jgravelle-google/upstream_llvm
Support for building upstream LLVM from source
2018-06-22 08:00:43 +03:00
Jacob Gravelle
3310027d35 Use only_supports_wasm flag instead of separate install script 2018-06-20 09:07:48 -07:00
Jacob Gravelle
e54a0dc5ae Fix 32-bit lld_url 2018-06-20 08:42:22 -07:00
juj
e4f9d24b2a Merge pull request #145 from jgravelle-google/binaryen_sdk_source
Build binaryen from source when building tagged sdk versions from source
2018-06-20 18:36:57 +03:00
Jacob Gravelle
16125272b2 Support for building upstream LLVM from source 2018-05-30 16:41:59 -07:00
Jacob Gravelle
5676ccaca4 Build binaryen from source when building tagged sdk versions from source 2018-05-15 15:49:18 -07:00
Jukka Jylänki
a4474e59db Improve emsdk on MSYS2. 2018-05-09 09:55:33 +03:00
juj
63ccba9f63 Merge pull request #141 from juj/links
Do not link to emsdk-portable.*, link to the main website docs
2018-05-02 11:27:28 +03:00
Alon Zakai (kripken)
0a86c3d909 we no longer maintain emsdk-portable.*, do not link to them 2018-04-27 08:40:19 -07: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
juj
af66c0ce2f Merge pull request #114 from saschanaz/powershell-fix
Fix powershell env directory
2018-04-12 21:45:06 +03:00
Jukka Jylänki
2da530aa5e Update tags list 2018-04-04 11:33:38 +03:00
Jukka Jylänki
313d5ef651 Disable support for Nightly builds 2018-03-07 17:39:00 +02:00
Jukka Jylänki
4c8ea1b10b Update to WinPython 2.7.13.1 and add new packages for WinPython 3.5.4 as well. (only used if explicitly installed) 2018-02-26 19:53:20 +02:00
Jukka Jylänki
14790ac40e Update tags file 2018-02-26 19:19:48 +02:00
Jukka Jylänki
5a8372c443 Update tags 2018-02-02 17:28:20 +02:00
Jukka Jylänki
1b59d943c9 Add MIT/Expat LICENSE file that connects to Emscripten's AUTHORS 2018-02-02 00:52:36 +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
Jukka Jylänki
43b5e5eeb5 Update tags list 2018-01-31 21:16:43 +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