mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add LoongArch64 architecture LSX support.(build/test )
This commit is contained in:
committed by
Charles Schlosser
parent
c486af5ad3
commit
e986838464
@@ -296,6 +296,30 @@ build:linux:cross:ppc64le:clang-12:default:
|
||||
EIGEN_CI_CXX_COMPILER: clang++-12
|
||||
EIGEN_CI_CROSS_INSTALL: g++-10-powerpc64le-linux-gnu clang-12
|
||||
|
||||
######## loongarch64 #################################################
|
||||
|
||||
.build:linux:cross:loongarch64:
|
||||
extends: .build:linux:cross
|
||||
variables:
|
||||
EIGEN_CI_TARGET_ARCH: loongarch64
|
||||
EIGEN_CI_CROSS_TARGET_TRIPLE: loongarch64-linux-gnu
|
||||
tags:
|
||||
- eigen-runner
|
||||
- linux
|
||||
- x86-64
|
||||
|
||||
# GCC-14 (minimum on Ubuntu 24)
|
||||
build:linux:cross:loongarch64:gcc-14:default:
|
||||
extends: .build:linux:cross:loongarch64
|
||||
image: ubuntu:24.04
|
||||
variables:
|
||||
EIGEN_CI_C_COMPILER: gcc-14
|
||||
EIGEN_CI_CXX_COMPILER: g++-14
|
||||
EIGEN_CI_CROSS_INSTALL: g++-14-loongarch64-linux-gnu gcc-14-loongarch64-linux-gnu
|
||||
EIGEN_CI_CROSS_C_COMPILER: loongarch64-linux-gnu-gcc-14
|
||||
EIGEN_CI_CROSS_CXX_COMPILER: loongarch64-linux-gnu-g++-14
|
||||
EIGEN_CI_ADDITIONAL_ARGS: "-DEIGEN_TEST_LSX=on"
|
||||
|
||||
######## MR Smoke Tests ########################################################
|
||||
|
||||
build:linux:cross:x86-64:gcc-10:default:smoketest:
|
||||
|
||||
@@ -415,6 +415,37 @@ test:linux:ppc64le:clang-12:default:unsupported:
|
||||
variables:
|
||||
EIGEN_CI_TEST_LABEL: Unsupported
|
||||
|
||||
##### loongarch64 ###################################################################
|
||||
.test:linux:loongarch64:
|
||||
extends: .test:linux
|
||||
variables:
|
||||
EIGEN_CI_TARGET_ARCH: loongarch64
|
||||
EIGEN_CI_CROSS_TARGET_TRIPLE: loongarch64-linux-gnu
|
||||
# Install QEMU and set up the execution environment in the image
|
||||
EIGEN_CI_BEFORE_SCRIPT: "apt-get update && apt-get install g++-14-loongarch64-linux-gnu gcc-14-loongarch64-linux-gnu qemu-user-static -y && \
|
||||
ln -sf /usr/loongarch64-linux-gnu/lib64/ld-linux-loongarch-lp64d.so.1 /lib64/ld-linux-loongarch-lp64d.so.1 && \
|
||||
export LD_LIBRARY_PATH=/usr/loongarch64-linux-gnu/lib:$LD_LIBRARY_PAT"
|
||||
tags:
|
||||
- eigen-runner
|
||||
- linux
|
||||
- x86-64
|
||||
|
||||
# GCC-14 (Ubuntu 24)
|
||||
.test:linux:loongarch64:gcc-14:default:
|
||||
extends: .test:linux:loongarch64
|
||||
image: ubuntu:24.04
|
||||
needs: [ build:linux:cross:loongarch64:gcc-14:default ]
|
||||
|
||||
test:linux:loongarch64:gcc-14:default:official:
|
||||
extends: .test:linux:loongarch64:gcc-14:default
|
||||
variables:
|
||||
EIGEN_CI_TEST_LABEL: Official
|
||||
|
||||
test:linux:loongarch64:gcc-14:default:unsupported:
|
||||
extends: .test:linux:loongarch64:gcc-14:default
|
||||
variables:
|
||||
EIGEN_CI_TEST_LABEL: Unsupported
|
||||
|
||||
##### MR Smoke Tests ###########################################################
|
||||
|
||||
test:linux:x86-64:gcc-10:default:smoketest:
|
||||
|
||||
Reference in New Issue
Block a user