Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai ff8ea20b9b always use clang in emscripten.py; fixes python test 2011-09-04 10:20:02 -07:00
Alon Zakai 3268d11056 fix for running emscripten on a file in the local directory 2011-07-30 10:43:43 -07:00
Alon Zakai f6e02c614a workarounds for js engine bugs 2011-07-30 10:26:30 -07:00
max99x 9ee300c190 Switched from argparse to optparse in emscripten.py, for older Python. 2011-07-13 22:30:29 +03:00
max99x 11e404d7a8 Polish for emscripten.py and its tests. 2011-07-09 20:14:00 +03:00
max99x b37b05b1a0 Reverted hashbang from /usr/bin/python2 to /usr/bin/python. 2011-07-08 08:53:47 +03:00
max99x 1bd1893888 * Added support for automatically determining llvm-gcc/clang data layout in emscripten.py.
* Added a dlmalloc linking test.
* Fixed double-evaling of JSON in emscripten.py when --dlmalloc is passed.
2011-07-08 08:39:31 +03:00
max99x cfbdf06310 Moved cleanup into a `finally` block. 2011-07-08 07:38:42 +03:00
max99x eef9e588e0 Cleaning up temporary files in emscripten.py. 2011-07-08 07:10:13 +03:00
max99x f0bb154229 * Moved pick_llvm_opts() to tools/shared.py.
* Using pick_llvm_opts() instead of hardcoding -O3 in emscripten.py.
* Reassembling only when needed in emscripten.py.
2011-07-08 07:04:38 +03:00
max99x 7dcdb044d3 Rewrite of emscripten.py:
* Uses option arguments instead of positional ones.
* Allows linking to dlmalloc.
* Accepts both .bc and .ll files and takes care of annotations.
* Allows running the LLVM optimization pass automatically.
* Updated test runner to use the new emscripten.py interface.

Refactoring:
* Moved settings.py to root folder. It no longer applies just to tests.
* Updated references to settings.py.
* Added an __init__.py to tools, so we don't have to hack around imports.
2011-07-07 12:24:09 +03:00
Alon Zakai 1be1268669 remove compiler argument to emscripten.py - use ~/.emscripten instead 2011-05-15 19:07:12 -07:00
Alon Zakai ae5aa84484 write to file directly in emscripten.py 2011-03-16 15:31:12 -07:00
Alon Zakai 443107fc61 use proper constant in emscripten.py 2011-03-12 13:37:42 -08:00
Alon Zakai 1f3de5c76e libcxx test; support for linking in test runner; failure in clang_0_1.test_libcxx 2011-01-17 15:36:26 -08:00
Alon Zakai 9d209878f9 refactor shared components of python tools, and add emmaken.py 2011-01-14 22:44:52 -08:00
alon@honor d16c1a6c06 misc minor fixes 2010-10-17 20:59:50 -07:00
alon@honor 7ffcdba839 beginnings of SDL support; minor fixes for SDL; raytrace web demo 2010-09-26 15:59:54 -07:00
alon@honor fea809cb09 refactor into files
--HG--
rename : src/parser.js => src/compiler.js
2010-09-20 18:59:15 -07:00
alon@honor a8d7622f69 allow emscripten.py to read ~/.emscripten for settings 2010-09-12 15:11:43 -07:00
alon@honor ade3a58044 docs in emscripten.py 2010-09-11 23:14:16 -07:00
alon@honor 325fa82fa0 enable sauer test (with RELOOPING=0) 2010-09-09 23:36:52 -07:00
alon@honor a224d9f4cc Allow overriding compiler settings.js 2010-09-09 23:22:10 -07:00
alon@honor a523ad539c emscripten.py 2010-09-09 20:03:24 -07:00