mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add NVHPC (nvc++) compiler support and CI build/test jobs
libeigen/eigen!2186 Closes #3032 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -140,6 +140,20 @@ build:linux:docs:
|
||||
# -DEIGEN_TEST_CUSTOM_CXX_FLAGS=-fsanitize=memory
|
||||
# -DEIGEN_TEST_CUSTOM_LINKER_FLAGS=-fsanitize=memory
|
||||
|
||||
######## NVHPC #################################################################
|
||||
|
||||
# NVHPC (nvc++) uses NVIDIA's HPC SDK container image with the compilers
|
||||
# pre-installed. We override EIGEN_CI_INSTALL to avoid trying to apt-get
|
||||
# install the compiler.
|
||||
build:linux:x86-64:nvhpc-25.1:default:
|
||||
extends: .build:linux:cross:x86-64
|
||||
image: nvcr.io/nvidia/nvhpc:25.1-devel-cuda12.6-ubuntu22.04
|
||||
variables:
|
||||
EIGEN_CI_C_COMPILER: nvc
|
||||
EIGEN_CI_CXX_COMPILER: nvc++
|
||||
EIGEN_CI_INSTALL: ""
|
||||
EIGEN_CI_CROSS_INSTALL: ""
|
||||
|
||||
######## CUDA ##################################################################
|
||||
|
||||
.build:linux:cuda:
|
||||
@@ -312,3 +326,4 @@ build:linux:cross:x86-64:clang-12:default:smoketest:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
tags:
|
||||
- saas-linux-medium-amd64
|
||||
|
||||
|
||||
@@ -220,6 +220,25 @@ test:linux:x86-64:clang-19:generic:avx512dq:unsupported:
|
||||
variables:
|
||||
EIGEN_CI_CTEST_LABEL: Unsupported
|
||||
|
||||
##### NVHPC ####################################################################
|
||||
|
||||
.test:linux:x86-64:nvhpc-25.1:default:
|
||||
extends: .test:linux:x86-64
|
||||
image: nvcr.io/nvidia/nvhpc:25.1-devel-cuda12.6-ubuntu22.04
|
||||
needs: [ build:linux:x86-64:nvhpc-25.1:default ]
|
||||
variables:
|
||||
EIGEN_CI_INSTALL: ""
|
||||
|
||||
test:linux:x86-64:nvhpc-25.1:default:official:
|
||||
extends: .test:linux:x86-64:nvhpc-25.1:default
|
||||
variables:
|
||||
EIGEN_CI_CTEST_LABEL: Official
|
||||
|
||||
test:linux:x86-64:nvhpc-25.1:default:unsupported:
|
||||
extends: .test:linux:x86-64:nvhpc-25.1:default
|
||||
variables:
|
||||
EIGEN_CI_CTEST_LABEL: Unsupported
|
||||
|
||||
##### CUDA #####################################################################
|
||||
.test:linux:cuda:
|
||||
extends: .test:linux
|
||||
@@ -420,3 +439,4 @@ test:linux:x86-64:clang-12:default:smoketest:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
tags:
|
||||
- saas-linux-medium-amd64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user