Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/buildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: false
update: true
install: >-
mingw-w64-x86_64-gcc-fortran
mingw-w64-x86_64-ninja
Expand Down Expand Up @@ -365,10 +365,10 @@ jobs:
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: false
update: true
install: >-
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-ninja
mingw-w64-x86_64-gcc
mingw-w64-x86_64-ninja
m4

- if: matrix.os == 'windows-latest'
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,10 @@ if (APPLE)
endif()
if (WIN32)
target_link_libraries(_PyPartMC PRIVATE -static gcc stdc++ winpthread quadmath -dynamic)
target_link_options(_PyPartMC PRIVATE -Wl,--whole-archive)
endif()
if(CMAKE_CXX_COMPILER_ID STREQUAL GNU)
target_link_options(_PyPartMC PRIVATE -flto=auto)
target_link_options(_PyPartMC PRIVATE -flto=auto)
endif()

### pedantics ######################################################################################
Expand Down
Loading