Commit Graph

57 Commits

Author SHA1 Message Date
Jukka Jylänki
46036b5a93 Always perform Emscripten Clang build as a parallel build. 2014-07-08 11:07:19 +03:00
Jukka Jylänki
82407a23dc Fix update mechanism on Linux. 2014-07-07 15:15:43 +03:00
Jukka Jylänki
7f4480a657 Update emsdk activate hint. 2014-07-07 15:09:14 +03:00
Jukka Jylänki
f4afc0accc In generated .emscripten configs, access node by default from PATH, if not set otherwise. 2014-07-07 15:04:48 +03:00
Jukka Jylänki
6600588cc7 Add SDK items for linux and fix an issue with extra tools being shown on linux. 2014-07-07 13:52:45 +03:00
Jukka Jylänki
8992935e30 Remove reference to old bat file. 2014-07-07 12:27:34 +03:00
Jukka Jylänki
baee119231 Add new clang-incoming and clang-master packages that automate git clone and build clang from sources. 2014-07-03 23:39:25 +03:00
Jukka Jylänki
34d478034f Migrate OSX shell activation to work the same way as on Windows: source ./emsdk_env.sh instead of emsdk_add_path. 2014-07-03 18:50:00 +03:00
Jukka Jylänki
1cec00bc38 Fix an issue where windows env. vars could not be read if python is not in user path when running. Closes #7 and #8. 2014-07-03 17:56:57 +03:00
Jukka Jylänki
c3712ad118 Fix active env test when multiple paths are present (git tool on Windows). 2014-07-03 17:38:23 +03:00
Jukka Jylänki
02fd7681fc Remove old unused code. 2014-07-03 17:18:40 +03:00
Jukka Jylänki
745df6c986 Don't touch the slashedness of existing items in user's PATH when adding new items. Fixes #4. Use more consistently backslashes where appropriate on Windows. 2014-07-03 15:14:45 +03:00
Jukka Jylänki
9244ac91f4 Make emsdk aware when running in a shell that doesn't have a particular tool active, but .emscripten has it set up, and print a help message when calling 'emsdk list'. Fix line endings in emcmdprompt.bat. 2014-07-03 14:45:49 +03:00
Jukka Jylänki
2ef37707bc Revise the messages printed during toolchain activation to be more user-friendly. 2014-07-03 14:09:45 +03:00
Jukka Jylänki
ffe8f50e08 Revise emsdk environment setting on Windows. Fixes #9. 2014-07-03 13:43:37 +03:00
Jukka Jylänki
27d01d3078 Filter out historical archived tool and sdk versions. 2014-04-24 13:17:02 +03:00
Jukka Jylänki
13ea503a7f Improve support for registering environment variables and PATH on 'emsdk activate'. Add machinery for hiding old sdk tools and sdks. 2014-04-24 13:10:04 +03:00
Jukka Jylänki
2ed7a605a9 Have 'emsdk activate' always globally activate the Windows environment variables that it needs to set up the active environment. 2014-04-24 00:57:59 +03:00
Jukka Jylänki
351e23df84 Register the needed empty placeholder SPIDERMONKEY_ENGINE string before activating the actual spidermonkey engine path, if it exists. 2014-03-14 13:43:25 +02:00
Jukka Jylänki
f9a46a2927 Properly check for existence of environment variable keys in a manner that does not throw. Fixes https://github.com/juj/emsdk/issues/2 . 2013-11-22 11:16:31 +02:00
Jukka Jylänki
12daea5f59 Make 'emsdk active_path' easier to use by not needing a parameter of which tools/sdks to activate. 2013-11-21 16:56:12 +02:00
Jukka Jylanki
a5def988a7 Make emsdk executable again. 2013-11-21 16:46:34 +02:00
Jukka Jylänki
4fcb639658 Fix vs-tool installation to properly unzip over a previous version. 2013-11-21 15:39:04 +02:00
Jukka Jylänki
03ed83c3fa For conveniency, if user calls 'emsdk activate', activate the latest versions of ALL installed tools. 2013-11-20 13:09:51 +02:00
Jukka Jylänki
082f334c22 If URL download fails, delete the partially downloaded file (if it exists). If unzipping fails, print an error, and if the zip was corrupted, delete the corrupted file. Fixes https://github.com/kripken/emscripten/issues/1687. 2013-11-19 15:26:45 +02:00
Jukka Jylänki
a095a8d4ed Adjust the behavior of the 'emsdk activate x y z' command to _add_ the given tools to the set of active tools, and not replace the set of tools altogether. Fixes https://github.com/kripken/emscripten/issues/1788. 2013-11-17 14:33:02 +02:00
Jukka Jylänki
0a2a758c80 Treat relative paths in installation relative to emsdk root, not the cwd root. This enables invoking 'emsdk' from directories outside the sdk root directory. Fixes https://github.com/kripken/emscripten/issues/1786. 2013-11-13 19:25:57 +02:00
Jukka Jylänki
8d299c5a8b Clean up old leftover code. Fixes https://github.com/kripken/emscripten/issues/1787. 2013-11-13 18:41:06 +02:00
Jukka Jylanki
bdf5aa52c1 Make emsdk executable. 2013-11-13 14:17:59 +02:00
Jukka Jylänki
d91e36d197 Fix MSBuild find to look from both (x86) and non-x86 program files. Fixes https://github.com/kripken/emscripten/issues/1770. 2013-11-08 13:53:07 +02:00
Jukka Jylänki
435aac6d0a Implement '--strip 1' behavior when unzipping .zip files so that github tag release .zip files can be used as-is as installers for emscripten tool. 2013-10-28 17:49:40 +02:00
Jukka Jylänki
0873f1df63 Use PortableGit from git\bin\git.exe instead of git\cmd\git.exe, which seems to be the preferred use. 2013-10-28 13:56:37 +02:00
Jukka Jylänki
6693d2d4fa Fix issue where incoming and master SDKs were not listed in the 'emsdk list' output. Thanks to MTRo for providing the fix! 2013-10-28 13:29:57 +02:00
Jukka Jylänki
b9e454aade Also cleanup temp SDK update zips after update succeeds. 2013-10-28 13:15:29 +02:00
Jukka Jylänki
8936fda391 Delete temporary downloaded installer zip files after installation of a tool finishes successfully. Closes https://github.com/kripken/emscripten/issues/1699 . 2013-10-28 13:14:21 +02:00
Jukka Jylänki
1e149a19e7 Specify the OS default temp directory as the temp dir for the sdk. 2013-10-23 13:17:39 +03:00
Jukka Jylänki
886fe44124 'latest' can be passed as param to 'activate' as well. 2013-10-15 19:38:17 +03:00
Jukka Jylänki
e61e456e38 Remove code duplication. 2013-10-15 17:51:44 +03:00
Jukka Jylänki
289b14fa81 Add pseudo-SDKs 'latest-32bit' and 'latest-64bit' to point to the latest SDKs with given bitness. Have 'latest' SDK download the bitness that the current OS is. 2013-10-15 17:48:04 +03:00
Jukka Jylanki
ffabac33b2 Fix OSX file permissions. 2013-09-30 17:45:10 +03:00
Jukka Jylänki
4b9a7c15c3 Fix path handling on download_and_unzip after previous change. 2013-09-30 14:28:51 +03:00
Jukka Jylänki
4bc8e9e2c4 Force update to unzip package even if previous update had been performed. 2013-09-30 14:16:46 +03:00
Jukka Jylänki
170e230a2f Fix missing trailing slash on directory name. urljoin is sensitive about this! 2013-09-30 14:13:30 +03:00
Jukka Jylänki
703cfab158 Add emsdk_packages_url variable to point to directory where actual downloadable SDK packages reside. Improve SDK update to fetch a package file. 2013-09-30 14:02:58 +03:00
Jukka Jylänki
1c6adfdb68 Use urlparse.urljoin for http path concatenation in case absolute http download locations are specified in the future. 2013-09-30 13:43:33 +03:00
Jukka Jylänki
db9b9e02d1 Point emsdk master server location to Amazon S3. 2013-09-30 13:40:08 +03:00
Jukka Jylänki
5b9c533a20 Download emsdk.bat on update. 2013-09-11 21:34:13 +03:00
Jukka Jylänki
8266419d3e Add emsdk_env.bat to create a mechanism of how to set up all environment variables required for a setup, not just PATH. 2013-09-10 17:18:04 +03:00
Jukka Jylänki
95b00a1df4 Download all SDK files on emsdk update 2013-09-05 19:57:06 +03:00
Jukka Jylänki
d8ad6ce846 Fix line ending conversion write routines. 2013-09-05 19:29:34 +03:00