Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapt linux-mingw build for clang with mingw #1343

Open
dneto0 opened this issue Jul 17, 2023 · 2 comments
Open

adapt linux-mingw build for clang with mingw #1343

dneto0 opened this issue Jul 17, 2023 · 2 comments
Assignees

Comments

@dneto0
Copy link
Collaborator

dneto0 commented Jul 17, 2023

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.

@dneto0
Copy link
Collaborator Author

dneto0 commented Aug 8, 2023

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

@dneto0
Copy link
Collaborator Author

dneto0 commented Aug 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant