Closed rgov closed 5 years ago
It seems to build OK if I just clone the repo from WebAssembly/binaryen.
When it messes up, the CMakeCache.txt file says CMAKE_CXX_COMPILER
is pointed to em++
. When it works, it's using the regular compiler.
Was this maybe when using emmake or emconfigure? Or were the env vars CC/CXX set to emcc/em++ manually? It seems like that could cause this. If it's the cause, we should probably prevent that or at least warn about it.
I was doing emcmake cmake {options} .. && cmake --build .
What does cmake --build
do? Perhaps we incorrectly detect it as running cmake's configuration stage.
I don't think I was running emcmake -- build .
just regular cmake --build .
but anyway the command invokes the build tool. It's useful so you don't have to remember how to invoke the specific generator.
I see. Not sure what could cause that, then, but I admit I don't know much about MacOS as well as CMake.
Maybe you can get a set of concrete steps that reproduce this problem consistently?
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.
I passed
-s WASM=1
toemcc
and it kicked off a build ofbinaryen
: