kripken/emscripten — Issue #133: Unable to specify --optimize with emscripten
Author: kjmph
Created: 2011-12-06 22:30:52+00:00
State: open

python /home/USER/projects/emscripten/emscripten.py --optimize box2d.opt.bc > box2d.js
Traceback (most recent call last):
File "/home/USER/projects/emscripten/emscripten.py", line 289, in
main(keywords)
File "/home/USER/projects/emscripten/emscripten.py", line 164, in main
if args.optimize: args.infile = optimize(args.infile)
File "/home/USER/projects/emscripten/emscripten.py", line 92, in optimize
command = [shared.LLVM_OPT, '-o=-', filepath] + shared.pick_llvm_opts(3, True)
AttributeError: 'module' object has no attribute 'pick_llvm_opts'
make: *** [box2d.js] Error 1