aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
AgeCommit message (Collapse)Author
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
2012-05-21track symbols during linking in order to emulate gcc ld behavior of archivesAlon Zakai
2012-05-20handle absolute paths in .a filesAlon Zakai
2012-05-19stop using llvm-ld which is removed in llvm 3.1Alon Zakai
2012-05-14Add the em-config toolEhsan Akhgari
This tool is useful to use in shell scripts, etc in order to access variables defined in the ~/.emscripten file without depending on the details on how to read and parse it.
2012-05-03define proper endianness for endian.h and add working but slow-compiling ↵Alon Zakai
sha1 test
2012-05-03fix bug with js engine being str and not listAlon Zakai
2012-05-01undef __linux__, fixes SDL endianness detectionAlon Zakai
2012-04-24add ENV_PREFIX to more placesAlon Zakai
2012-04-24use env python instead of python in tools/shared if it is availableAlon Zakai
2012-04-20clear cache on non-forced sanity checks if the config file changedAlon Zakai
2012-04-18sanity check for javaAlon Zakai
2012-04-17add EM_DEBUG option for test runner printouts of run_jsAlon Zakai
2012-04-15One more linker stub fix for Windows.Sigmund Vik
2012-04-14clean up emscripten temp dirAlon Zakai
2012-04-12fix test_firstrunAlon Zakai
2012-04-12fix EM_SAVE_DIRAlon Zakai
2012-04-11Make it easier to use emscripten from a build system.Sigmund Vik
- Allow the configuration to be specified directly in the EM_CONFIG environment variable instead of in a config file. The config file approach has some shortcomings when using emscripten from a build system (e.g. it uses a single global config file so it is hard to configure emscripten in different ways from different build trees). The presence of newlines in the EM_CONFIG string variable is used to decide if the configuration is stored directly in the environment variable or it is used to specify the config file (is this too much of a hack?). - Skip check_sanity() and check_engine() based on the presence of the config file. When running from a build system, it is the build system's responsibility that everything is set up correctly. Maybe a new environment variable EM_SKIP_CHECKS or something like that might be better to decide whether or not to run these checks? - Do not assume that the SPIDERMONKEY_ENGINE environment variable is set. - Add EM_CACHE environment variable that can be used to control where emscripten should store built libraries.
2012-04-09use unique temp dir in emcc unless EMCC_DEBUG=1 is setAlon Zakai
2012-04-08nicer solution for removing linker stubAlon Zakai
2012-04-08clean up linker a.out|exe stubsAlon Zakai