Commit Graph

131 Commits

Author SHA1 Message Date
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
Jukka Jylänki
42d7b34bb9 Improve progress prints when installing tools and SDKs. 2015-04-12 17:13:15 +03:00
Jukka Jylänki
fd67c1fb15 Adjust emsdk to build optimizer to a sibling directory of emscripten instead to a subdirectory, to allow git clean. 2015-04-12 17:04:46 +03:00
Jukka Jylänki
c7f3f2ff51 Fix case insensitivity check for --build=type 2015-04-10 14:40:54 +03:00
Tasuku SUENAGA a.k.a. gunyarakun
5e463e0824 Allow path separator characters in branch names 2015-04-09 18:37:10 -07:00
Jukka Jylänki
321f0ea46c Don't pass /maxcpucount parameter to msbuild, since it already spawns the full number of cl.exe instances by itself. 2015-04-09 16:00:55 +03:00
Jukka Jylänki
1170e55abd Add new --build=type option that allows customizing whether to build Debug, Release, MinSizeRel or RelWithDebInfo targets of LLVM and Emscripten optimizer. Closes #19. 2015-04-08 17:14:33 +03:00
Jukka Jylänki
04c3e37909 Fix python 3 incompatibility. 2015-04-08 16:16:44 +03:00
Jukka Jylänki
b928162681 Fix more instances of python 3 incompatibility after previous merge. 2015-04-08 16:07:17 +03:00
Jukka Jylänki
b0dcb8159e Merge remote-tracking branch 'remotes/gagern/python3'
Conflicts:
	emsdk
2015-04-08 16:04:28 +03:00
Jukka Jylänki
4957c20d72 Add support for specifying the number of cores to use when building tools in the SDK, with the -jX command line option to 'emsdk install'. Fixes #28. 2015-04-08 15:52:36 +03:00
Jukka Jylänki
766b656206 Enable cmdline param parsing on 'install' to accept options. 2015-04-08 15:39:01 +03:00
Jukka Jylänki
9a8ad4764c Remove stale code. 2015-04-08 15:36:12 +03:00