mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix loongarch64 emulated tests.
This commit is contained in:
@@ -313,12 +313,13 @@ 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_INSTALL: g++-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"
|
||||
EIGEN_CI_ADDITIONAL_ARGS: >-
|
||||
-DCMAKE_SYSTEM_NAME=Linux
|
||||
-DCMAKE_CROSSCOMPILING_EMULATOR=qemu-loongarch64-static;-L;/usr/loongarch64-linux-gnu
|
||||
-DEIGEN_TEST_LSX=on
|
||||
|
||||
######## MR Smoke Tests ########################################################
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
# Call script in current shell - it sets up some environment variables.
|
||||
- . ci/scripts/common.linux.before_script.sh
|
||||
artifacts:
|
||||
when: always
|
||||
name: "$CI_JOB_NAME_SLUG-$CI_COMMIT_REF_SLUG"
|
||||
paths:
|
||||
- ${EIGEN_CI_BUILDDIR}/
|
||||
@@ -32,6 +33,7 @@
|
||||
before_script:
|
||||
- . ci/scripts/common.windows.before_script.ps1
|
||||
artifacts:
|
||||
when: always
|
||||
name: "$CI_JOB_NAME_SLUG-$CI_COMMIT_REF_NAME"
|
||||
paths:
|
||||
- ${EIGEN_CI_BUILDDIR}/
|
||||
|
||||
@@ -424,8 +424,6 @@ test:linux:ppc64le:clang-12:default:unsupported:
|
||||
EIGEN_CI_CROSS_TARGET_TRIPLE: loongarch64-linux-gnu
|
||||
# Install QEMU and set up the execution environment in the image
|
||||
EIGEN_CI_CROSS_INSTALL: g++-14-loongarch64-linux-gnu qemu-user-static
|
||||
EIGEN_CI_BEFORE_SCRIPT: "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_PATH"
|
||||
tags:
|
||||
- eigen-runner
|
||||
- linux
|
||||
|
||||
Reference in New Issue
Block a user