Skip to content

Commit

Permalink
upgraded emcc to 3.1.69
Browse files Browse the repository at this point in the history
- build .o files instead of .bc
- related to issue #363
  • Loading branch information
kalwalt committed Oct 23, 2024
1 parent dae41b5 commit 0c53dc3
Show file tree
Hide file tree
Showing 13 changed files with 93,908 additions and 91,322 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build/*.bc
build/*.o
node_modules
docs/*
185,134 changes: 93,859 additions & 91,275 deletions build/artoolkitNFT.debug.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions build/artoolkitNFT.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions build/artoolkitNFT_ES6_wasm.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions build/artoolkitNFT_ES6_wasm.simd.js

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions build/artoolkitNFT_ES6_wasm_td.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/artoolkitNFT_ES6_wasm_td.worker.js

This file was deleted.

12 changes: 6 additions & 6 deletions build/artoolkitNFT_embed_ES6_wasm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/artoolkitNFT_thread.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/artoolkitNFT_thread.worker.js

This file was deleted.

2 changes: 1 addition & 1 deletion build/artoolkitNFT_wasm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/artoolkitNFT_wasm.simd.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions tools/makem.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ var kpm_sources = [
"FreakMatcher/detectors/DoG_scale_invariant_detector.cpp",
"FreakMatcher/detectors/gaussian_scale_space_pyramid.cpp",
"FreakMatcher/detectors/gradients.cpp",
"FreakMatcher/detectors/harris.cpp",
//"FreakMatcher/detectors/harris.cpp",
"FreakMatcher/detectors/orientation_assignment.cpp",
"FreakMatcher/detectors/pyramid.cpp",
"FreakMatcher/facade/visual_database_facade.cpp",
Expand Down Expand Up @@ -222,7 +222,7 @@ FLAGS += " -Wno-warn-absolute-paths";
FLAGS += " -s TOTAL_MEMORY=" + MEM + " ";
FLAGS += " -s USE_ZLIB=1";
FLAGS += " -s USE_LIBJPEG=1";
FLAGS += " --memory-init-file 0"; // for memless file
//FLAGS += " --memory-init-file 0"; // for memless file
FLAGS += ' -s EXPORTED_RUNTIME_METHODS=["FS"]';
FLAGS += " -s ALLOW_MEMORY_GROWTH=1";

Expand Down Expand Up @@ -306,7 +306,7 @@ var compile_arlib = format(
FLAGS +
" " +
DEFINES +
" -r -o {OUTPUT_PATH}libar.bc ",
" -r -o {OUTPUT_PATH}libar.o ",
OUTPUT_PATH,
);

Expand All @@ -319,7 +319,7 @@ var compile_thread_arlib = format(
" " +
"-pthread " +
DEFINES +
" -r -o {OUTPUT_PATH}libar_td.bc ",
" -r -o {OUTPUT_PATH}libar_td.o ",
OUTPUT_PATH,
);

Expand All @@ -332,13 +332,13 @@ var compile_simd_arlib = format(
SIMD128_FLAGS +
" " +
DEFINES +
" -r -o {OUTPUT_PATH}libar_simd.bc ",
" -r -o {OUTPUT_PATH}libar_simd.o ",
OUTPUT_PATH,
);

var ALL_BC = " {OUTPUT_PATH}libar.bc ";
var THREAD_BC = " {OUTPUT_PATH}libar_td.bc ";
var SIMD_BC = " {OUTPUT_PATH}libar_simd.bc ";
var ALL_BC = " {OUTPUT_PATH}libar.o ";
var THREAD_BC = " {OUTPUT_PATH}libar_td.o ";
var SIMD_BC = " {OUTPUT_PATH}libar_simd.o ";

var compile_combine = format(
EMCC +
Expand Down

0 comments on commit 0c53dc3

Please sign in to comment.