Closed eagleoflqj closed 1 day ago
This seems to be failing on the Chromium CI: https://logs.chromium.org/logs/emscripten-releases/buildbucket/cr-buildbucket/8729603731668921633/+/u/Emscripten_testsuite__other_/stdout
Yes we need to add EMTEST_SKIP_NEW_CMAKE
there too.
I guess the other option would be to just update the install of CMake we have on those builders.
I guess the other option would be to just update the install of CMake we have on those builders.
Maybe .. although then we loose coverage of older cmake versions
Related: https://discourse.cmake.org/t/error-when-crosscompiling-with-whole-archive-target-link/9394
whole-archive support needs to be explicitly declared in toolchain file, see cmake official GNU.
Test:
CMakeLists.txt
lib.cpp
main.cpp
With latest emsdk,
emcmake cmake -B build
complainsAfter overriding emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake, it passes, and
cmake --build build
passes,node build/whole.js
outputsas expected.