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
[cmake] Run normal compiler auto-detection by default
This change disables `EMSCRIPTEN_FORCE_COMPILERS` by default which means
cmake will run all the normal compiler detection phases. This has the
advantage that things get setup correctly without taking any shortcuts.
See emscripten-core#23444.
The downside is the that cmake phase itself is now slower since its
needs to compiler, link and run a bunch of test binaries.
On my machine running all the cmake tests went from 27 to 36 seconds.
Running a single empty cmake project when from 1s to 4.5s. Since
running cmake is normally rare compared to building the project itself I
think this slowdown is worth it, but I've left the
`EMSCRIPTEN_FORCE_COMPILERS` setting in place for now that folks that
want fast cmake.
Also, remember that cmake itself caches all this stuff so its only the
first run that get slowed down.
0 commit comments