shaderc
shaderc copied to clipboard
adapt linux-mingw build for clang with mingw
The CI-linux-mingw bot is broken. We have a MinGW bot to support the flow used in the build of the Android NDK itself. But the NDK has switched to cross-compiles with clang. Our build is not adapted for that.
The MinGW bot is broken because:
- spirv-tools tools/objdump/objdump.cpp uses
#include <filesystem>
which is a C++17 feature - but the Kokoro bot MinGW toolchain is the default one on that version of ubuntu which is derived from GCC 7.3, and it doesn't fully support C++17. The best it can muster is c++1z
The NDK build uses a prebuilt Clang compiler with runtime libraries from MinGW v4.8, i.e. aligning with features in GCC 4.8. That's too old and not fixable by me.
The MinGW build doesn't have enough benefit to justify maintaining its bots. I'll remove them instead.