Skip to content

Commit 6949756

Browse files
committed
fix gcc 8.1.0 bug
1 parent a63df42 commit 6949756

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ jobs:
5454
shell: powershell
5555
if: ${{ matrix.BUILD_BITS == '32' }}
5656
57+
- run: |
58+
# see https://www.mail-archive.com/[email protected]/msg586184.html
59+
include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/lib/gcc/x86_64-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+
name: Fix gcc bug
62+
if: ${{ matrix.BUILD_BITS != '64' }}
63+
5764
- name: Build
5865
run: |
5966
BITS=${{ matrix.BUILD_BITS }}

0 commit comments

Comments
 (0)