ggerganov / whisper.cpp

Port of OpenAI's Whisper model in C/C++
MIT License
35.38k stars 3.61k forks source link

ci: windows-msys2 CLANG64 builds are failing #2098

Closed przemoc closed 6 months ago

przemoc commented 6 months ago

I've noticed that recently windows-msys2 CLANG64 builds of whisper.cpp are failing.

Looking at older passing vs recent failing runs, it's clear that mingw-w64-clang-x86_64-gcc-compat is no longer installed by default with the toolchain (older was 18.1.3-1, newer is 18.1.4-1).

mingw-w64-clang-x86_64-gcc-compat provides GCC compatibility aliases for Clang.

One of the solutions is to add it to installed packages, and I will do it if superior solution will fail.

Superior solution is to actually fix building so that it would not assume g++ is the default C++ compiler (which is the sin of GNU make). I'm running checkers in my branch. But if there will be issues in some build environments to make it work (pun intended), I may end up going with inferior solution.

Anyway, expect PR fixing the situation, one way or another, possibly today or next week.

przemoc commented 6 months ago

Fixed in 8fac6455ffeb0a0950a84e790ddb74f7290d33c4.