Skip to content

Commit

Permalink
wasm-opt 03
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso committed Sep 15, 2023
1 parent f42e2cf commit cd0eb46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
define ic-wasm
echo "Aggressive optimize with ic-wasm"; \
for f in $(1)/*/*.wasm; do ic-wasm -o $$f $$f optimize O4 --inline-functions-with-loops --always-inline-max-function-size 100 --keep-name-section; done
echo "optimize with ic-wasm O3"; \
for f in $(1)/*/*.wasm; do ic-wasm -o $$f $$f optimize O3 --keep-name-section; done
endef

define build_with_mops
Expand Down

0 comments on commit cd0eb46

Please sign in to comment.