Sounds like a bug, yeah, BINARYEN_ROOT should be written, please file an issue.
Btw, instead of "sdk-upstream-master-64bit" you can install "tot" which is the latest tip of tree build - that's a nice way to get prebuilt binaries of very new code (the very last thing that passed CI). On Tue, Jan 28, 2020 at 5:29 AM Floh <[email protected]> wrote: > 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. > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/196ba734-220d-4282-a9ef-d0dd9ed5a476%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/196ba734-220d-4282-a9ef-d0dd9ed5a476%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpTA4_mOnhpH-9jJiwmG%2BQeZvc6RgGb%2Br2L17bG2k3HZOg%40mail.gmail.com.
