Skip to content

Commit 4a94ef5

Browse files
RevySRxctan
authored andcommitted
Bump xuantie toolchains V3.0.2 for c910v
Signed-off-by: Han Gao <[email protected]>
1 parent 2f81d6e commit 4a94ef5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/c910v.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
if: "github.repository == 'OpenMathLib/OpenBLAS'"
1515
runs-on: ubuntu-latest
1616
env:
17-
xuetie_toolchain: https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1698113812618
18-
toolchain_file_name: Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.8.0-20231018.tar.gz
17+
xuetie_toolchain: https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1744886347539
18+
toolchain_file_name: Xuantie-900-gcc-linux-6.6.0-glibc-x86_64-V3.0.2-20250410.tar.gz
1919
strategy:
2020
fail-fast: false
2121
matrix:
@@ -77,7 +77,7 @@ jobs:
7777
run: |
7878
wget ${xuetie_toolchain}/${toolchain_file_name}
7979
tar -xvf ${toolchain_file_name} -C /opt
80-
export PATH="/opt/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.8.0/bin:$PATH"
80+
export PATH="/opt/Xuantie-900-gcc-linux-6.6.0-glibc-x86_64-V3.0.2/bin:$PATH"
8181
8282
make CC='ccache ${{ matrix.triple }}-gcc -static' FC='ccache ${{ matrix.triple }}-gfortran -static' ${{ matrix.opts }} HOSTCC='ccache gcc' -j$(nproc)
8383

Makefile.prebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ TARGET_FLAGS = -mips64r6
5252
endif
5353

5454
ifeq ($(TARGET), C910V)
55-
TARGET_FLAGS = -march=rv64gcv0p7_zfh_xtheadc -mabi=lp64d
55+
TARGET_FLAGS = -march=rv64gc_zfh_xtheadc_xtheadvector -mabi=lp64d
5656
endif
5757

5858
ifeq ($(TARGET), CK860FV)

Makefile.riscv64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ifeq ($(CORE), C910V)
2-
CCOMMON_OPT += -march=rv64imafdcv0p7_zfh_xtheadc -mabi=lp64d -mtune=c920
3-
FCOMMON_OPT += -march=rv64imafdcv0p7_zfh_xtheadc -mabi=lp64d -mtune=c920 -static
2+
CCOMMON_OPT += -march=rv64imafdc_zfh_xtheadc_xtheadvector -mabi=lp64d -mtune=c920
3+
FCOMMON_OPT += -march=rv64imafdc_zfh_xtheadc_xtheadvector -mabi=lp64d -mtune=c920 -static
44
endif
55
ifeq ($(CORE), x280)
66
CCOMMON_OPT += -march=rv64imafdcv_zba_zbb_zfh_zvl512b -mabi=lp64d

0 commit comments

Comments
 (0)