Skip to content

Commit

Permalink
Merge pull request #814 from permaweb/twilson63/chore-dev-cli-update-813
Browse files Browse the repository at this point in the history
chore: update ao build image to use 41 MB stacksize
  • Loading branch information
twilson63 authored Jun 21, 2024
2 parents 7cc5543 + db6d899 commit c8ef041
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions dev-cli/container/src/emcc-lua
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@ def main():
'-g2',
'-s', 'ASYNCIFY=1',
'-s', 'MEMORY64=1',
'-s', 'STACK_SIZE=41943040',
'-s', 'ASYNCIFY_STACK_SIZE=41943040',
'-s', 'ALLOW_MEMORY_GROWTH=1',
'-s', 'INITIAL_MEMORY=6291456',
'-s', 'INITIAL_MEMORY=52428800',
'-s', 'MAXIMUM_MEMORY=524288000',
'-s', 'WASM=1',
'-s', 'MODULARIZE',
Expand All @@ -188,7 +190,7 @@ def main():
cmd.extend([quote(v.filepath) for v in link_libraries])
cmd.extend([quote(v.filepath) for v in link_libraries])

cmd.extend(['-s', 'EXPORTED_FUNCTIONS=["_malloc"]'])
cmd.extend(['-s', 'EXPORTED_FUNCTIONS=["_malloc", "_main"]'])
cmd.extend(['-lm', '-ldl', '-o', definition.get_output_file(), '-s', 'EXPORTED_RUNTIME_METHODS=["cwrap"]'])

debug_print('Compile command is {}'.format(' '.join(cmd)))
Expand Down
2 changes: 1 addition & 1 deletion dev-cli/src/versions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
export const VERSION = {
"CLI": "0.0.58",
"IMAGE": "0.0.38"
"IMAGE": "0.0.39"
}

0 comments on commit c8ef041

Please sign in to comment.