Hi, just wanted to switch over to the master (FKA incoming) version to check out the new WebGPU stuff, and I'm getting an error trying to compile:
shared:ERROR: BINARYEN_ROOT is not defined in /Users/floh/projects/fips-sdks/emsdk/.emscripten
When activating the "sdk-upstream-master-64bit" SDK version I can see that BINARYEN_ROOT is indeed not written:
The Emscripten configuration file /Users/floh/projects/fips-sdks/emsdk/.emscripten has been rewritten with the following contents:
import os
emsdk_path=os.path.dirname(os.environ.get('EM_CONFIG')).replace('\\', '/')
LLVM_ROOT = '' + emsdk_path + '/llvm/git/build_master_64/bin'
NODE_JS = '' + emsdk_path + '/node/12.9.1_64bit/bin/node'
EMSCRIPTEN_ROOT = '' + emsdk_path + '/emscripten/master'
EMSCRIPTEN_NATIVE_OPTIMIZER = '' + emsdk_path + '/emscripten/master_64bit_optimizer/optimizer'
TEMP_DIR = '' + emsdk_path + '/tmp'
COMPILER_ENGINE = NODE_JS
JS_ENGINES = [NODE_JS]
When switching to "latest" it's there:
The Emscripten configuration file /Users/floh/projects/fips-sdks/emsdk/.emscripten has been rewritten with the following contents:
import os
emsdk_path=os.path.dirname(os.environ.get('EM_CONFIG')).replace('\\', '/')
NODE_JS = '' + emsdk_path + '/node/12.9.1_64bit/bin/node'
LLVM_ROOT = '' + emsdk_path + '/upstream/bin'
BINARYEN_ROOT = '' + emsdk_path + '/upstream'
EMSCRIPTEN_ROOT = '' + emsdk_path + '/upstream/emscripten'
TEMP_DIR = '' + emsdk_path + '/tmp'
COMPILER_ENGINE = NODE_JS
JS_ENGINES = [NODE_JS]
Is this a known issue, or should I write a ticket in the emsdk github repo? (a casual search didn't find and existing bug there)
Cheers,
-Floh.