Skip to content

Commit

Permalink
check compiler feature detection in loongarch builds
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Apr 2, 2024
1 parent 29995b2 commit 292d790
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/loongarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,16 @@ jobs:
echo -n > utest/test_dsdot.c
echo "Due to the qemu versions 7.2 causing utest cases to fail,"
echo "the utest dsdot:dsdot_n_1 have been temporarily disabled."
- name: Test compiler
run: |
ccache ${{ matrix.triple }}-gcc -static -mabi=lp64d -c cpuid_loongarch64.c -o /dev/null && echo "lp64d supported"
./c_check mak conf 'ccache ${{ matrix.triple }}-gcc -static' 'ccache ${{ matrix.triple }}-gfortran -static'
- name: 'Upload generated makefile.conf'
uses: actions/upload-artifact@v4
with:
name: makefile-artifact
path: mak
retention-days: 5
- name: Build OpenBLAS
run: make CC='ccache ${{ matrix.triple }}-gcc -static' FC='ccache ${{ matrix.triple }}-gfortran -static' ${{ matrix.opts }} HOSTCC='ccache gcc' -j$(nproc)

Expand Down

0 comments on commit 292d790

Please sign in to comment.