Skip to content

Instantly share code, notes, and snippets.

@lptr
Last active December 15, 2015 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lptr/5247852 to your computer and use it in GitHub Desktop.
Save lptr/5247852 to your computer and use it in GitHub Desktop.
:compileEmccDebug
Executing task ':compileEmccDebug' due to:
Output file /Users/lptr/Workspace/harfbuzz-js/build/harfbuzz-debug.js for task ':compileEmccDebug' has changed.
Output file /Users/lptr/Workspace/harfbuzz-js/build/harfbuzz-debug.js has been removed for task ':compileEmccDebug'.
Compiling with emcc (Emscripten GCC-like replacement) 1.3.0 (commit 8d5887cc8583f12fcb05e1bd3b26a6e454475d35)
Executing: tools/emscripten/emcc /Users/lptr/Workspace/harfbuzz-js/src/.libs/libharfbuzz.dylib /Users/lptr/Workspace/harfbuzz-js/src/hb-ucdn/.libs/ucdn.o --pre-js /Users/lptr/Workspace/harfbuzz-js/build/version-header.js --post-js /Users/lptr/Workspace/harfbuzz-js/build/post.js -o /Users/lptr/Workspace/harfbuzz-js/build/harfbuzz-debug.js -O2 --closure 0 -s ALLOW_MEMORY_GROWTH=1 -s USE_TYPED_ARRAYS=2 -s EXPORTED_FUNCTIONS=['ccall','cwrap','_hb_language_from_string','_hb_language_to_string','_hb_unicode_funcs_get_default','_hb_unicode_funcs_reference','_hb_buffer_create','_hb_buffer_reference','_hb_buffer_destroy','_hb_buffer_reset','_hb_buffer_get_empty','_hb_buffer_set_content_type','_hb_buffer_get_content_type','_hb_buffer_get_length','_hb_buffer_get_glyph_infos','_hb_buffer_get_glyph_positions','_hb_buffer_normalize_glyphs','_hb_buffer_add','_hb_buffer_add_utf8','_hb_buffer_add_utf16','_hb_buffer_add_utf32','_hb_buffer_get_length','_hb_buffer_guess_segment_properties','_hb_buffer_set_direction','_hb_buffer_get_direction','_hb_buffer_set_script','_hb_buffer_get_script','_hb_buffer_set_language','_hb_buffer_get_language','_hb_blob_create','_hb_blob_create_sub_blob','_hb_blob_get_empty','_hb_blob_reference','_hb_blob_destroy','_hb_feature_from_string','_hb_feature_to_string','_hb_shape_list_shapers','_hb_shape','_hb_shape_full','_hb_face_create','_hb_face_destroy','_hb_font_create','_hb_font_destroy','_hb_font_set_scale','_hb_font_get_face','_hb_font_funcs_create','_hb_font_funcs_destroy','_hb_font_set_funcs','_hb_font_funcs_set_glyph_func','_hb_font_funcs_set_glyph_h_advance_func','_hb_font_funcs_set_glyph_v_advance_func','_hb_font_funcs_set_glyph_h_origin_func','_hb_font_funcs_set_glyph_v_origin_func','_hb_font_funcs_set_glyph_h_kerning_func','_hb_font_funcs_set_glyph_v_kerning_func','_hb_font_funcs_set_glyph_extents_func','_hb_font_funcs_set_glyph_contour_point_func','_hb_font_funcs_set_glyph_name_func','_hb_font_funcs_set_glyph_from_name_func']
PYTHON not defined in ~/.emscripten, using "python"
emcc invocation: tools/emscripten/emcc /Users/lptr/Workspace/harfbuzz-js/src/.libs/libharfbuzz.dylib /Users/lptr/Workspace/harfbuzz-js/src/hb-ucdn/.libs/ucdn.o --pre-js /Users/lptr/Workspace/harfbuzz-js/build/version-header.js --post-js /Users/lptr/Workspace/harfbuzz-js/build/post.js -o /Users/lptr/Workspace/harfbuzz-js/build/harfbuzz-debug.js -O2 --closure 0 -s ALLOW_MEMORY_GROWTH=1 -s USE_TYPED_ARRAYS=2 -s EXPORTED_FUNCTIONS=['ccall','cwrap','_hb_language_from_string','_hb_language_to_string','_hb_unicode_funcs_get_default','_hb_unicode_funcs_reference','_hb_buffer_create','_hb_buffer_reference','_hb_buffer_destroy','_hb_buffer_reset','_hb_buffer_get_empty','_hb_buffer_set_content_type','_hb_buffer_get_content_type','_hb_buffer_get_length','_hb_buffer_get_glyph_infos','_hb_buffer_get_glyph_positions','_hb_buffer_normalize_glyphs','_hb_buffer_add','_hb_buffer_add_utf8','_hb_buffer_add_utf16','_hb_buffer_add_utf32','_hb_buffer_get_length','_hb_buffer_guess_segment_properties','_hb_buffer_set_direction','_hb_buffer_get_direction','_hb_buffer_set_script','_hb_buffer_get_script','_hb_buffer_set_language','_hb_buffer_get_language','_hb_blob_create','_hb_blob_create_sub_blob','_hb_blob_get_empty','_hb_blob_reference','_hb_blob_destroy','_hb_feature_from_string','_hb_feature_to_string','_hb_shape_list_shapers','_hb_shape','_hb_shape_full','_hb_face_create','_hb_face_destroy','_hb_font_create','_hb_font_destroy','_hb_font_set_scale','_hb_font_get_face','_hb_font_funcs_create','_hb_font_funcs_destroy','_hb_font_set_funcs','_hb_font_funcs_set_glyph_func','_hb_font_funcs_set_glyph_h_advance_func','_hb_font_funcs_set_glyph_v_advance_func','_hb_font_funcs_set_glyph_h_origin_func','_hb_font_funcs_set_glyph_v_origin_func','_hb_font_funcs_set_glyph_h_kerning_func','_hb_font_funcs_set_glyph_v_kerning_func','_hb_font_funcs_set_glyph_extents_func','_hb_font_funcs_set_glyph_contour_point_func','_hb_font_funcs_set_glyph_name_func','_hb_font_funcs_set_glyph_from_name_func']
(Emscripten: Running sanity checks)
emcc: compiling to bitcode
emcc: copying library file: /Users/lptr/Workspace/harfbuzz-js/src/.libs/libharfbuzz.dylib
emcc: copying bitcode file: /Users/lptr/Workspace/harfbuzz-js/src/hb-ucdn/.libs/ucdn.o
emcc: will generate JavaScript
emcc: considering including libcxx: we need set([]) and have set([])
emcc: considering including libcxxabi: we need set([]) and have set([])
emcc: considering including libc: we need set(['calloc', 'realloc', 'malloc', 'free']) and have set([])
emcc: including libc
emcc: linking: ['/tmp/tmpNOhkZW/libharfbuzz_0.dylib', '/tmp/tmpNOhkZW/ucdn_1.o', '/Users/lptr/.emscripten_cache/libc.bc']
emcc: llvm-linking: ['/tmp/tmpNOhkZW/libharfbuzz_0.dylib', '/tmp/tmpNOhkZW/ucdn_1.o', '/Users/lptr/.emscripten_cache/libc.bc']
emcc: linking took 0.70 seconds
emcc: saving intermediate processing steps to /tmp/emscripten_temp
emcc: LLVM opts: ['-O3']
emcc: step took 4.49 seconds
emcc: LLVM opts: ['-strip-debug', '-internalize', '-internalize-public-api-list=call,wrap,hb_language_from_string,hb_language_to_string,hb_unicode_funcs_get_default,hb_unicode_funcs_reference,hb_buffer_create,hb_buffer_reference,hb_buffer_destroy,hb_buffer_reset,hb_buffer_get_empty,hb_buffer_set_content_type,hb_buffer_get_content_type,hb_buffer_get_length,hb_buffer_get_glyph_infos,hb_buffer_get_glyph_positions,hb_buffer_normalize_glyphs,hb_buffer_add,hb_buffer_add_utf8,hb_buffer_add_utf16,hb_buffer_add_utf32,hb_buffer_get_length,hb_buffer_guess_segment_properties,hb_buffer_set_direction,hb_buffer_get_direction,hb_buffer_set_script,hb_buffer_get_script,hb_buffer_set_language,hb_buffer_get_language,hb_blob_create,hb_blob_create_sub_blob,hb_blob_get_empty,hb_blob_reference,hb_blob_destroy,hb_feature_from_string,hb_feature_to_string,hb_shape_list_shapers,hb_shape,hb_shape_full,hb_face_create,hb_face_destroy,hb_font_create,hb_font_destroy,hb_font_set_scale,hb_font_get_face,hb_font_funcs_create,hb_font_funcs_destroy,hb_font_set_funcs,hb_font_funcs_set_glyph_func,hb_font_funcs_set_glyph_h_advance_func,hb_font_funcs_set_glyph_v_advance_func,hb_font_funcs_set_glyph_h_origin_func,hb_font_funcs_set_glyph_v_origin_func,hb_font_funcs_set_glyph_h_kerning_func,hb_font_funcs_set_glyph_v_kerning_func,hb_font_funcs_set_glyph_extents_func,hb_font_funcs_set_glyph_contour_point_func,hb_font_funcs_set_glyph_name_func,hb_font_funcs_set_glyph_from_name_func', '-globaldce']
emcc: step took 0.45 seconds
emcc: step took 0.18 seconds
emcc: LLVM => JS
PYTHON not defined in ~/.emscripten, using "python"
emscript: ll=>js
emscript: scan took 0.00972414016724 seconds
emscript: split took 0.0449080467224 seconds
emscript: phase 1 took 0.976464033127 seconds
emscript: phase 2 working on 3 chunks using 8 cores (intended chunk size: 1.33 MB, meta: 0.00 MB, forwarded: 1.00 MB, total: 4.20 MB)
.
.
.
emscript: phase 2 took 3.28928899765 seconds
emscript: phase 2b took 0.0011579990387 seconds
emscript: phase 2c took 0.0324859619141 seconds
emscript: phase 3 took 0.225281953812 seconds
emcc: step took 4.74 seconds
emcc: applying pre/postjses
emcc: step took 0.01 seconds
emcc: running pre-closure post-opts
emcc: running post-closure post-opts
emcc: applying js optimization passes: ['eliminateMemSafe', 'simplifyExpressionsPre', 'optimizeShiftsAggressive', 'eliminateMemSafe', 'simplifyExpressionsPost', 'registerize', 'compress', 'last']
splitting up js optimization into 3 chunks of size 1048576, using 8 cores (total: 2.05 MB)
.
.
.
emcc: step took 2.74 seconds
emcc: total time: 13.79 seconds
BUILD SUCCESSFUL
Total time: 16.548 secs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment