Skip to content

Commit d3a07fb

Browse files
committed
try again with gcc8.1.0 on 32-bit [skip travis]
1 parent c95684b commit d3a07fb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: CI
44

55
defaults:
66
run:
7-
shell: bash
7+
shell: bash
88

99
on:
1010
push:
@@ -26,7 +26,7 @@ jobs:
2626
exclude:
2727
- BUILD_BITS: 32
2828
INTERFACE64: 1
29-
29+
fail-fast: false
3030
runs-on: ${{ matrix.os }}
3131

3232
steps:
@@ -39,27 +39,28 @@ jobs:
3939
echo "BUILD_BITS=$BITS" >> $GITHUB_ENV;
4040
if [ "$BITS" == "32" ]; then
4141
echo "PLAT=i686" >> $GITHUB_ENV;
42-
4342
else
4443
echo "PLAT=x86_64" >> $GITHUB_ENV;
4544
fi
4645
echo "START_DIR=$PWD" >> $GITHUB_ENV;
4746
choco install -y zip
4847
4948
- 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
49+
choco install -y mingw --forcex86 --force --version=8.1.0
50+
choco install -y make
5351
name: Install 32-bit mingw
5452
shell: powershell
5553
if: ${{ matrix.BUILD_BITS == '32' }}
5654
5755
- run: |
5856
# 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
57+
if [ "${{ matrix.BUILD_BITS }}" == "64" ]; then
58+
include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/avx512fintrin.h
59+
else
60+
include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/avx512fintrin.h
61+
fi
6062
sed -i -e"s/_mm512_abs_pd (__m512 __A)/_mm512_abs_pd (__m512d __A)/" $include
6163
name: Fix gcc bug
62-
if: ${{ matrix.BUILD_BITS == '64' }}
6364
6465
- name: Build
6566
run: |
@@ -89,11 +90,10 @@ jobs:
8990
./test.exe
9091
cp $(cygpath $OPENBLAS_ROOT)/$BITS/bin/*.dll .
9192
./test_dyn.exe
92-
93+
9394
- name: Upload
9495
env:
9596
OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN: ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
9697
run: |
9798
pip install -q git+https://github.com/Anaconda-Platform/[email protected]
9899
tools/upload_to_anaconda_staging.sh
99-

0 commit comments

Comments
 (0)