aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
AgeCommit message (Collapse)Author
2013-09-30Merge branch 'incoming' of github.com:ngld/emscripten into incoming1.6.4Alon Zakai
Conflicts: AUTHORS src/library_sdl.js tools/shared.py
2013-09-26Don't do Popen workaround on Windows by default, since the cmdline -> call ↵Jukka Jylänki
emcc.bat usage doesn't seem to need it, and it adversely affects the logging buffering that makes the compiler look unresponsive, since it will only print out compilation output messages at the very end of the whole run.
2013-09-26Use the logging framework instead of print, to be consistent and as the ↵Jukka Jylänki
logging framework prints out messages unbuffered which is more responsive on Windows. Add debug logging facility to track waits on external processes when EM_BUILD_VERBOSE >= 3. This helps pinpointing if the build hangs on some tool dying/live/deadlocking, and where it might occur. Implement process.pid on WindowsPopen replacement so that EM_BUILD_VERBOSE=3 works on it as well.
2013-09-26Bump version.1.6.3Bruce Mitchener
2013-09-26Bump version.1.6.2Bruce Mitchener
2013-09-25Fix some comments and bump EMSCRIPTEN_VERSIONngld
2013-09-23handle EMCC_LEAVE_INPUTS_RAW in relooper bootstrapAlon Zakai
2013-09-23remove interim relooper builds if final bootstrap phase did not succeedAlon Zakai
2013-09-23relooper input is ascii, emit it to the heap more efficiently with ↵1.6.1Alon Zakai
writeAsciiToMemory
2013-09-23clean up reloopers1.6.0Alon Zakai
2013-09-17Updated library_sdl.jsngld
2013-09-16Integrate the new tool into emscriptenngld
Automatically compile struct_info.json and save the compiled version in the emscripten cache.
2013-09-14dynamically determine relooper heap size using RELOOPER_BUFFER_SIZE1.5.9Alon Zakai
2013-09-13RELOOPER_BUFFER_SIZE to change the relooper buffer size easily1.5.8Alon Zakai
2013-09-13Bump version for new libc headers.1.5.7Bruce Mitchener
2013-09-10Add missing 'if WINDOWS' in CMake toolchain handling code.Jukka Jylänki
2013-09-10Fix indentation in Building.which() function.Jukka Jylänki
2013-09-10Add Building.which() function to help find a tool in PATH. Use mingw32-make ↵Jukka Jylänki
instead of the nonexistent 'make' with cmake on Windows if mingw32-make is found in PATH. Helps with issue #695.
2013-09-09Merge pull request #1583 from juj/cmake_improvementsAlon Zakai
Cmake improvements
2013-09-08refactor COMPILER_OPTSAlon Zakai
2013-09-07add some cpu undefs that are important for configure stepsAlon Zakai
2013-09-05Merge pull request #1586 from waywardmonkeys/remove-emlibtoolAlon Zakai
Remove emlibtool
2013-09-04Improve emscripten to autodetect the temp directory even if TEMP_DIR is not ↵Jukka Jylänki
present at all in ~/.emscripten. Add sanitation to TEMP_DIR handling to detect that the path exists. Paths like TEMP_DIR='/tmp' and TEMP_DIR='c:\temp' will now print out a descriptive error message on Windows. (proper form is TEMP_DIR='c:\\temp' or TEMP_DIR='c:/temp' on Windows). Fixes #1292.
2013-09-04Adjust EM_BUILD_VERBOSE environment variable to take values 0,1,2 or 3, with ↵Jukka Jylänki
the following meanings: 0 - No verbose build. Emscripten will mute stdout and stderr invokations of external tools (configure, cmake, make). Stdout and stderr of those runs will be logged to file (the old mechanism) 1 - Print stderr. 2 - Print stderr and stdout. 3 - Print stderr and stdout, and invoke make with VERBOSE=1.
2013-09-04Remove unused / unwritten emlibtool.Bruce Mitchener
This isn't used or even implemented and apparently isn't necessary.
2013-09-04Remove the old mechanism of generating a CMake toolchain file on the fly ↵Jukka Jylänki
when 'emconfigure cmake' is called. Instead, the Emscripten toolchain file in Emscripten\cmake\Platform\Emscripten.cmake is always used. This unifies the CMake toolchain handling to use the same toolchain independent of how CMake gets invoked.
2013-09-03add extCall_* methods in asm dlopen support, parallel to invoke in that they ↵Alon Zakai
are able to access other modules, but do not catch exceptions
2013-09-03assert guards against cross-module stack leaksAlon Zakai
2013-09-03always keep malloc and free alive and exported, for internal use and other ↵Alon Zakai
modules
2013-09-03emit side module memory initializer in the right place; test_dlfcn_basic ↵Alon Zakai
works in asm
2013-09-01Use EM_BUILD_VERBOSE instead of EMSCRIPTEN_VERBOSE as the name of the env. ↵Jukka Jylänki
variable that controls whether external configure/build libraries are invoked with logging output to console.
2013-08-30Output stdout and stderr from external library builds to console only if ↵Jukka Jylänki
EMSCRIPTEN_VERBOSE environment variable is defined, to not spam console with information from external tools by default.
2013-08-30Remove Building.configure() from storing stdout and stderr output to a temp ↵Jukka Jylänki
file, since these temp files aren't read from anywhere in emscripten codebase(?). In test suite the temp files are stored to a temp dir, and deleted immediately after the test is run. This prevented test suite from reporting build errors to user when the test fails. Related to #694, #695 and #696. Improve error message reporting at the end of a failed configure run.
2013-08-21emit switches in relooper1.5.6Alon Zakai
2013-08-16Add compat headers, move some things to them.Bruce Mitchener
This is groundwork for landing musl includes which remove some of the deprecated functions or very old BSDisms.
2013-08-12Move JS_ENGINE_OVERRIDE to shared Building object to avoid sys.modules hackAnthony Pesch
2013-08-11initial work on splitting up runner.pyAnthony Pesch
2013-08-09aim for more evenly-sized pieces in outlinerAlon Zakai
2013-08-091.5.51.5.5Bruce Mitchener
2013-08-081.5.41.5.4Alon Zakai
2013-08-08Improve the generation of ~/.emscripten on Windows.Nick Bray
2013-08-08Allow the PNaCl toolchain to be used in place of a standard version of Clang.Nick Bray
The main differences between PNaCl and standard Clang are that the tools are prefixed with "pnacl-" instead of "llvm-" and PNaCl does not accept "-o=file" style arguments, and requires them to be specified as "-o file".
2013-08-08Merge pull request #1467 from abergmeier/extend_versionsAlon Zakai
Extend use of LLVM_ADD_VERSION and CLANG_ADD_VERSION
2013-08-07Ensure the linker pulls in static libraries containing exported functions.Nick Bray
Previously, an exported function contained in a library would not be found by the linker if the library did not contain symbols transitively reachable from main.
2013-08-06Enable LLVM_ADD_VERSION and CLANG_ADD_VERSION being set in Emscripten ↵Andreas Bergmeier
configuration file.
2013-08-05increase logging output, fixes s_0_0.test_safe_heapAlon Zakai
2013-08-05increase logging output, fixes s_0_0.test_safe_heapAlon Zakai
2013-08-02also use LLVM_ROOT to detect when we need to clear the cacheAlon Zakai
2013-08-01do not use -nostdinc++ with le32 target at all, it does not need it, and add ↵Alon Zakai
testing for no system c++ headers showing up in our path
2013-08-01only emit -nostdinc++ when calling clang to build a file ending in a ↵Alon Zakai
cpp-style suffix