aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
AgeCommit message (Collapse)Author
2012-10-17improve node autodetectionAlon Zakai
2012-10-17Don't explode in emconfigure if no args are passedRiccardo Magliocchetti
2012-10-14handle .a with identically named .o ; fixes #637Alon Zakai
2012-09-28workaround for libcxx --std=c++11 issueAlon Zakai
2012-09-26autoguess ~/.emscripten values on first run, possibly fixes #593Alon Zakai
2012-09-26remove misleading top line in settings when copying it to ~/.emscriptenAlon Zakai
2012-09-26Merge pull request #581 from LCID-Fire/debian_clang_checkAlon Zakai
Extract check_clang_version into an own function and correct checking so...
2012-09-26Make check_clang_version return a bool value.LCID Fire
2012-09-24make with statement in shared.py work in python 2.6Alon Zakai
2012-09-24commented option to add verbose logging to makeAlon Zakai
2012-09-24fix python conventionsAlon Zakai
2012-09-23Reworked `build_library`:LCID Fire
- Prevent file handle leaking - Print first error log when second build attempt fails (way easier to debug/analyze)
2012-09-22move settings.py to a less conspicuous place and rename it, to avoid confusionAlon Zakai
2012-09-22Extract check_clang_version into an own function and correct checking so it ↵LCID Fire
works with Debian, too. Version string in Debian is: "Debian clang version"!
2012-09-21add libcxxabi headers to include pathAlon Zakai
2012-09-18indentation fixAlon Zakai
2012-09-18Add ability to use versioned llvm binariesRiccardo Magliocchetti
Some distributions in order to have multiple version of the same tool add the version to the binary. Teach emscripten about an environment variable called LLVM_ADD_VERSION that add the version to the binary when building its path. This let me use emscripten on debian sid.
2012-09-13clearer error message when a crucial llvm tool is missing, and force sanity ↵Alon Zakai
checks in EMCC_DEBUG mode
2012-09-12make all temp files be in TEMP_DIR from ~/.emscriptenAlon Zakai
2012-09-10use abspath in link() because we might chdir in the middleAlon Zakai
2012-08-25disable precise i32 multiplication even in -O0: too slowAlon Zakai
2012-08-25PRECISE_I32_MUL option for full precision in 32-bit multiplyAlon Zakai
2012-07-25Add LD to the variables replaced by emmakeJustin Kerk
2012-07-23always look for main in .a filesAlon Zakai
2012-07-17check llvm version only when actually checking sanity - not on every call to ↵Alon Zakai
emcc
2012-07-16warn on wrong llvm versionAlon Zakai
2012-07-13Disable setting LIBTOOLBehdad Esfahbod
emlibtool is a big TODO right now. The only reason this was not causing problems is that autotools-generated configure does NOT get libtool from environment variables.
2012-07-13Set PKG_CONFIG_LIBDIR and PKG_CONFIG_PATHBehdad Esfahbod
Such that: 1. Packages installed into system/ or system/local are found by configure. 2. System packages are NOT found. This can be a pain sometimes. Can be overriden by setting EM_PKG_CONFIG_PATH to additional locations.
2012-07-13Look into system/local/include and system/local/lib tooBehdad Esfahbod
Now one can do: emconfigure ./configure --prefix=/path/to/emscripten/local And then make install to there, like a real /usr/local. No manual bitcode moving. Now if there was a way to change default prefix of configure using an env var...
2012-07-06add INLINING_LIMIT=0 to -O3Alon Zakai
2012-07-04pass the eliminator the filename to avoid OS-specific issues with reading ↵Alon Zakai
from stdin using node
2012-07-04do not eat stderr when running js optimizerAlon Zakai
2012-06-27Add a comment about nostdinc++ and remove the -Xclang version tooEhsan Akhgari
2012-06-27Merge pull request #478 from juj/nostdincEhsan Akhgari
Clang++ reports warning "argument unused during compilation '-nostdinc++'.
2012-06-25use unique temp names for libraries tooAlon Zakai
2012-06-22emcc --remove-duplicates optionAlon Zakai
2012-06-19Don't pass the -nostdinc++ parameter to clang from emcc, since it spams the ↵Jukka Jylänki
line "clang++: warning: argument unused during compilation: '-nostdinc++'" for each built .cpp file.
2012-06-16move suffix tools to sharedAlon Zakai
2012-06-15move emscripten.h to emscripten/emscripten.h, so native builds can -I that ↵Alon Zakai
dir and not get anything else
2012-06-11refactor file packaging into standalone toolAlon Zakai
2012-05-31print config file when an error occursAlon Zakai
2012-05-30try make twice, fixes some projects like poppler on ubuntu 12.04Alon Zakai
2012-05-29fallback to java if no JAVA in ~/.emscriptenAlon Zakai
2012-05-28require JAVA definition in ~/.emscriptenAlon Zakai
2012-05-28cleanup for llvm-ld stuff in shared.pyAlon Zakai
2012-05-22create directories to work around llvm-nm silent failures if it can't ↵Alon Zakai
generate the file
2012-05-22use unique temp dir in linking, and handle directories relative to build dirAlon Zakai
2012-05-21ignore non-bitcode files when linkingAlon Zakai
2012-05-21handle (ignore) archives of non-bitcodeAlon Zakai
2012-05-21add all needed parts of archivesAlon Zakai