You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOG_VERBOSE("Set size level to 1 for Windows or MacOS AOT file");
option.size_level=1;
}
#endif
}
if (sgx_mode) {
option.size_level=1;
option.is_sgx_platform= true;
}
i guess it's more straightforward to do such a tweak in the backend (eg. aot_create_comp_context) instead because we have a better target knowledge there.
also, considering cross-aot-compiling, it's better to avoid decisions based on macros like _WIN32.
currently wamrc frontend has some logic to tweak size_level.
wasm-micro-runtime/wamr-compiler/main.c
Lines 566 to 589 in a36c7d5
i guess it's more straightforward to do such a tweak in the backend (eg. aot_create_comp_context) instead because we have a better target knowledge there.
also, considering cross-aot-compiling, it's better to avoid decisions based on macros like _WIN32.
related: #3164
The text was updated successfully, but these errors were encountered: