Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c0aea7d

Browse files
committed
update multibuild, fix windows CI steps
1 parent 5072399 commit c0aea7d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,11 @@ jobs:
5454
5555
- run: |
5656
# see https://www.mail-archive.com/[email protected]/msg586184.html
57-
if [ "${{ matrix.BUILD_BITS }}" != "64" ];
58-
# latest mingw64 is using gcc11
59-
include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/avx512fintrin.h
60-
sed -i -e"s/_mm512_abs_pd (__m512 __A)/_mm512_abs_pd (__m512d __A)/" $include
61-
fi
57+
# latest mingw64 is using gcc11, 32 is using gcc8
58+
include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/avx512fintrin.h
59+
sed -i -e"s/_mm512_abs_pd (__m512 __A)/_mm512_abs_pd (__m512d __A)/" $include
6260
name: Fix gcc bug
61+
if: ${{ matrix.BUILD_BITS == '32' }}
6362
6463
- name: Build
6564
run: |

0 commit comments

Comments
 (0)