Browse Source

check compiler feature detection in loongarch builds

pull/4596/head
Martin Kroeker GitHub 2 years ago
parent
commit
292d790b57
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      .github/workflows/loongarch64.yml

+ 10
- 1
.github/workflows/loongarch64.yml View File

@@ -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)



Loading…
Cancel
Save