Commit Graph

238 Commits

Author SHA1 Message Date
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
Kagami Sascha Rosylight
9d07e55164 Add VS2017 support 2017-06-01 02:15:52 +09:00
juj
155b4c384b Merge pull request #74 from parasyte/patch-1
Fix random errors fetching from github
2017-05-29 17:09:56 +03:00
kawakami
f0ab1ed635 Add Cygwin Support
treat Cygwin enviroment as Linux.
2017-05-26 18:27:21 +09:00
Jukka Jylanki
9330aeb094 Fix a bug where sdk versions were shown in incorrectly sorted order (1.37.1 < 1.37.10 < 1.37.2) 2017-05-08 15:09:46 +03:00
Jay Oster
e6e8157123 Fix random errors fetching from github
It seems github requires a specific URL format for reaching repos. `emsdk update-tags` will randomly fail when the convention is not followed.
2017-05-04 23:40:35 -07:00
Jukka Jylanki
14d6a48a16 Add support for LLVM_CMAKE_ARGS environment variable to customize which flags are passed to CMake. 2017-05-03 16:16:45 +03:00
juj
1c4a5f9582 Merge pull request #53 from arximboldi/enable-wasm
Add option to enable WebAssembly in LLVM
2017-03-27 22:26:14 +03:00
Jukka Jylanki
66f063bb64 Fix first run update command to also load the list of tags it fetches. 2017-03-25 23:21:23 +02:00
Jukka Jylänki
117c4b2cf8 Do update-tags on first run. 2017-03-25 13:11:11 +02:00
Jukka Jylanki
01610eebb4 Add verbose print when deleting zip files 2017-03-23 22:48:05 +02:00
Jukka Jylänki
fbd2fc1345 Add support for loading and using precompiled tagged releases. 2017-03-23 13:18:48 +02:00
Jukka Jylänki
6320c01407 Rewrite unzip() to be resilient to long Windows path names. 2017-03-23 01:37:03 +02:00
Jukka Jylänki
836d2ce941 If attempting to use 'emsdk update' when bootstrapped via git clone, show a more helpful error message to avoid a gotcha of overriding git repository with older version. 2017-03-22 21:31:47 +02:00
Jukka Jylänki
4a2a1fa62b Fix unzip() handling of --strip 1 implementation. 2017-01-13 02:12:44 +02:00
Jukka Jylänki
01be20bc15 Add Binaryen tags to manifest list. 2017-01-12 22:01:09 +02:00
Juan Pedro Bolívar Puente
95e7e02d46 Add option to enable WebAssembly in LLVM 2017-01-05 20:09:10 +01:00
Jukka Jylänki
c78843baa1 Add new command emsdk update-tags to only update to the most recent nightly and tagged tags. 2016-11-13 03:45:59 +03:00
Jukka Jylänki
6358aa3c8a Installing the latest nightly sdk metatag from previous commit should install the newest nightly sdk instead of the oldest. 2016-11-13 03:41:19 +03:00
Jukka Jylänki
1157ac0b84 Add aliases with prefix 'sdk-' to installing the latest SDK, to be coherent/uniform with the SDK naming. 2016-11-13 03:34:23 +03:00
Jukka Jylänki
0be8985c6e Add metasdks 'sdk-nightly-latest', 'sdk-nightly-latest-32bit' and 'sdk-nightly-latest-64bit' which install the most recent available Nightly SDK. 2016-11-13 03:33:33 +03:00