Closed akien-mga closed 3 years ago
Emscripten patching fails, as recent Emscripten no longer write ~/.emscripten. Instead, they expect you to source emsdk_env.sh which sets the PATH, etc.
This makes current CI fail BTW.
The current build script is actually OK as the new Emscripten setup does define EM_CONFIG
, so as long as env_emsdk.sh
has been sourced, it should work.
If we drop support for older Emscripten versions (which we can likely do eventually), most of get_emsdk_root()
can be removed to keep only the new os.getenv('EMSDK')
(+ validation), and maybe os.getenv('EM_CONFIG')
as fallback (which is also defined).
As of #15 it seems everything builds fine with Mono 6.12.
OS/device including version: Fedora 32 Mono 6.12.0.102 Emscripten 1.39.7 (nominal version supported by Mono 6.12.x)
Issue description: Mono 6.12 has been released (currently 6.12.0.102), and I'm rebuild official containers to use it, based on Fedora 32.
The scripts in this repo will likely need to be updated (as well as the CI) to target Mono 6.12.x and Emscripten 1.39.7.
Current issues I found:
~/.emscripten
. Instead, they expect you to sourceemsdk_env.sh
which sets thePATH
, etc. So this needs an update: https://github.com/godotengine/godot-mono-builds/blob/33622ee670cc5edd0f8762156e619f3467c42082/os_utils.py#L115-L134