mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 21:06:58 -05:00
ci/windows: Revert to using GCC for MinGW builds
Using MinGW in the future may not be ideal as it does not work very well with crash dumps (#8682). Switch back to GCC on MinGW. This also gives CI a way to check GCC 12 (as of writing, or whatever version of mingw-gcc Arch happens to be shipping on a given week).
This commit is contained in:
parent
c3cae9d992
commit
682c50715c
1 changed files with 1 additions and 5 deletions
|
@ -10,13 +10,9 @@ set -e
|
||||||
ccache -sv
|
ccache -sv
|
||||||
|
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
export LDFLAGS="-fuse-ld=lld"
|
|
||||||
# -femulated-tls required due to an incompatibility between GCC and Clang
|
|
||||||
# TODO(lat9nq): If this is widespread, we probably need to add this to CMakeLists where appropriate
|
|
||||||
export CXXFLAGS="-femulated-tls"
|
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_TOOLCHAIN_FILE="${PWD}/../CMakeModules/MinGWClangCross.cmake" \
|
-DCMAKE_TOOLCHAIN_FILE="${PWD}/../CMakeModules/MinGWCross.cmake" \
|
||||||
-DDISPLAY_VERSION="$1" \
|
-DDISPLAY_VERSION="$1" \
|
||||||
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
||||||
-DENABLE_QT_TRANSLATION=ON \
|
-DENABLE_QT_TRANSLATION=ON \
|
||||||
|
|
Loading…
Reference in a new issue