Skip to content

Commit 01fcedd

Browse files
committed
try again with gcc8.1.0 on 32-bit
1 parent c95684b commit 01fcedd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,21 @@ jobs:
4747
choco install -y zip
4848
4949
- run: |
50-
# use an older package since the x86 package overrides the x64 one,
51-
# and ends up deleting make.exe
52-
choco install -y mingw --forcex86 --force --version=7.3.0
50+
choco install -y mingw --forcex86 --force --version=8.1.0
51+
choco install -y make
5352
name: Install 32-bit mingw
5453
shell: powershell
5554
if: ${{ matrix.BUILD_BITS == '32' }}
5655
5756
- run: |
5857
# 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
58+
if [ "${{ matrix.BUILD_BITS }}" == "64" ]; then
59+
include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/avx512fintrin.h
60+
else
61+
include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/avx512fintrin.h
62+
fi
6063
sed -i -e"s/_mm512_abs_pd (__m512 __A)/_mm512_abs_pd (__m512d __A)/" $include
6164
name: Fix gcc bug
62-
if: ${{ matrix.BUILD_BITS == '64' }}
6365
6466
- name: Build
6567
run: |

0 commit comments

Comments
 (0)