Commit Graph

143 Commits

Author SHA1 Message Date
Jukka Jylänki
01be20bc15 Add Binaryen tags to manifest list. 2017-01-12 22:01:09 +02: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
Jukka Jylänki
52dd54e4b6 Add a variable EMSDK that points to the root of the Emscripten SDK. 2016-10-26 23:50:58 +03:00
Jukka Jylänki
e12c0a1480 Add support for building Binaryen with Visual Studio static analyzer. 2016-10-18 00:19:42 +03:00
Jukka Jylänki
084da637a7 Fix emsdk --embedded activation detection of tools and actually activate their environment variables. 2016-10-15 15:13:45 +03:00
Jukka Jylänki
3234ef7749 Add support for building binaryen from master git branch. 2016-10-14 11:52:47 +03:00
Jukka Jylänki
1dbfc85f16 Fix emsdk to see tools as being not active if their config variables are not present at all in the generated .emscripten config file. 2016-10-11 12:44:22 +03:00
Jukka Jylänki
7558e114b3 Build with VS2015 over VS2013, demote VS2013 to be used last (for old builds) 2016-09-30 00:27:08 +03:00
Jukka Jylänki
f954465055 Add support for installing precompiled nightly LLVM/Emscripten/SDK versions. 2016-09-28 19:06:56 +03:00
Jukka Jylänki
d83e1d5929 Improve to support building with VS2015 even when not under VS2015 command prompt. Fix recmake.bat to quote its elements with ""s if they contain spaces. 2016-08-07 22:31:35 +03:00
Jukka Jylänki
5ad39c9cf4 Write CMake params as a "recmake" script so that developers can call that to easily recmake with the same parameters as the previous configuration. 2016-07-11 19:57:47 +03:00
Jukka Jylänki
620dc7b1da Improve error message printing on registry env. var sets. 2016-07-11 19:56:16 +03:00
Jukka Jylänki
a1dcbfb061 Fix emsdk activate step to pass the correct path to Emscripten optimizer when using --vs2015. 2016-06-09 14:21:54 +03:00
Jukka Jylänki
4f3f2c9de8 Fix a Windows issue where emsdk activate would fail if user account did not contain any entries in its local PATH (but only entries in global/all users PATH). 2016-06-09 14:02:56 +03:00
Jukka Jylänki
baf1de1a2d Clarify emsdk activate on Windows. 2016-02-20 15:14:46 +02:00
Jukka Jylänki
53e217fca6 Add a patchup script to fix up after potentially unwanted changes from bug https://github.com/kripken/emscripten/issues/4121. 2016-02-20 15:10:53 +02:00
Jukka Jylänki
9e68e895bd Use direct registry access to set environment variables on Windows when --global is specified. This fixes #4121 by not expanding %var%s in PATH. 2016-02-20 14:48:24 +02:00
Jukka Jylänki
01f5271887 Fix os: 'unix' in emsdk_manifest.json to mean OSX or LINUX. 2016-01-11 20:52:45 +02:00
Jukka Jylänki
cf098d78e0 Enable LLVM assertions by default when building the incoming sdk branch. Add command line flags --enable-assertions and --disable-assertions to configure. 2016-01-05 20:11:04 +02:00
Jukka Jylänki
d890ae326e Fix CMake generator issue when MinGW is not present on the system. 2015-11-14 00:35:01 +02:00
Jukka Jylänki
806eb83813 Abort installation immediately if any of the git operations fail so that the error message is easily visible at the end of the message log. 2015-11-13 15:49:12 +02:00
Jukka Jylänki
9560179493 Add support for building with Visual Studio 2015 if VS2013 is not present. Still default to VS2013 to not require users to migrate to a new VS CRT. 2015-11-13 15:14:36 +02:00
Jukka Jylänki
f87fd015c5 Don't fetch Emscripten tags if git is not present. 2015-10-28 18:19:41 +02:00
Jukka Jylänki
f8b9c67429 Fix --embedded parameter to read EM_CONFIG instead of misassuming that tools/shared.py would have been imported before. #40. 2015-10-07 04:04:29 +03:00
Jukka Jylänki
9193d167fb Fix crash with PR #40 referencing a nonexisting embedded variable. 2015-10-06 23:12:14 -07:00
Jukka Jylänki
3e251bebd8 Fix path delimiter normalization issue on Windows - .emscripten must feed
forward slashes to Emscripten even on Windows. #40
2015-10-06 21:54:14 -07:00
mhenschel
a8146983fe Make .emscripten config file relocatable when using the --embedded flag
I'd like to copy the emsdk directory around freely. This will derive the location of all the tools from the location of the .emscripten file.
2015-10-06 19:13:18 +02:00
Jukka Jylänki
340543a46a Fix Emscripten optimizer build when both VS2013 and VS2015 are present and sufficiently new CMake is being used. Fix Emscripten optimizer build to be performed as 64-bit when current system is 64-bit. Fixes https://github.com/kripken/emscripten/issues/3814. 2015-10-04 21:31:23 -07:00
Jukka Jylänki
8d1ad85366 Remove Windows-specific help message in emsdk list. 2015-09-25 17:09:21 +03:00
Jukka Jylänki
31da81ff3f Fix typo in returned linux_url. 2015-09-25 17:01:44 +03:00
Jukka Jylänki
013997daac Add support for linux_url in emsdk. 2015-09-25 16:58:45 +03:00
Jukka Jylänki
a5521d4e17 Rename Emscripten temp directory from "/path/to/emsdk/.tmp" to "/path/to/emsdk/tmp" since otherwise make tool breaks when processing the Makefiles for test_lua. This fixes https://github.com/kripken/emscripten/issues/3779 . 2015-09-16 01:49:35 +03:00
Jukka Jylänki
aebcc04dc7 Add --build-tests command line option. 2015-09-15 16:14:08 +03:00
Jukka Jylänki
4f5cbc4ea8 Allow multiple tools to be passed to the install command. 2015-09-15 14:36:05 +03:00
Jukka Jylänki
9bcd44da58 Unify construct_env() code for Windows and Unix. Fixes an issue with EM_CONFIG and EM_CACHE not being set on Unixes. 2015-09-14 20:54:06 +03:00
Jukka Jylänki
8697dff5c3 Prefer 'nodejs' as Node fallback if it exists. Closes #20. Don't redundantly duplicate Node.js and SpiderMonkey specifiers. 2015-09-14 20:44:47 +03:00
Jukka Jylänki
7d21d4737a Sort versions in emscripten-tags.txt in version order instead of lexicographic order. 2015-07-03 01:10:02 +03:00
Jukka Jylänki
9cee94ad5e Download the list of tags directly from Emscripten github repository, instead of having a hardcoded list of tags. 2015-07-03 01:05:23 +03:00
Jukka Jylänki
e71d80bd0f Add the --shallow option to the 'emsdk install' command to perform a shallow git clone. Closes https://github.com/kripken/emscripten/issues/3587. 2015-07-02 22:39:54 +03:00
Jukka Jylänki
4fc43e7b78 Fix fastcomp_build_bin_dir() on Windows. 2015-07-02 22:11:24 +03:00
Jukka Jylänki
e797e5641e Implement support for downloading and building specific tagged releases. 2015-07-02 21:52:03 +03:00
Jukka Jylanki
fe55d0fd19 Fix name of Win32 x86 build platform. Do temp workaround for optimizer build on Windows. 2015-06-21 23:59:07 +03:00
Jukka Jylanki
0aabc1ed8b Temp workaround for previous commit. 2015-06-21 23:57:24 +03:00
Jukka Jylanki
6fa116ebad Work around crazy HP EasySetup laptop issue when building Emscripten compiler on a HP laptop, where HP systems predefine a global environment variable BNB that conflicts with msbuild. http://stackoverflow.com/questions/2507856/why-is-my-platform-environment-variable-defined-as-bnb 2015-06-21 21:16:09 +03:00
Jukka Jylänki
bc56d6eee0 Work around OS X Xcode(?) build bug by adding -stdlib=libc++ to CXXFLAGS when building. 2015-06-18 13:31:34 +03:00
Jukka Jylänki
b03859dcdb Add an explicit -DPYTHON_EXECUTABLE=x specifier when invoking python to locate it to CMake. Closes https://github.com/kripken/emscripten/issues/3388 . 2015-04-23 11:00:20 +03:00
Jukka Jylanki
3bea227bf9 When activating environment, make sure the new PATH items come first before existing ones. 2015-04-12 17:52:13 +03:00