diff options
author | Brad King <brad.king@kitware.com> | 2021-03-15 18:52:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-17 15:41:26 (GMT) |
commit | 1610c0f0345959e388a7b106969e972889815ec6 (patch) | |
tree | 3f2f2a6824222dbff2a1ac8c858c4b060dcace09 /.gitlab | |
parent | c07683331052bf5bd29788a73563930dd5ff2349 (diff) | |
download | CMake-1610c0f0345959e388a7b106969e972889815ec6.zip CMake-1610c0f0345959e388a7b106969e972889815ec6.tar.gz CMake-1610c0f0345959e388a7b106969e972889815ec6.tar.bz2 |
gitlab-ci: add jobs testing Intel oneAPI compilers on Linux
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/configure_inteloneapi_makefiles.cmake | 1 | ||||
-rw-r--r-- | .gitlab/ci/env_inteloneapi_common.sh | 7 | ||||
-rw-r--r-- | .gitlab/ci/env_inteloneapi_makefiles.sh | 1 | ||||
-rw-r--r-- | .gitlab/os-linux.yml | 16 |
4 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_inteloneapi_makefiles.cmake b/.gitlab/ci/configure_inteloneapi_makefiles.cmake new file mode 100644 index 0000000..20863a2 --- /dev/null +++ b/.gitlab/ci/configure_inteloneapi_makefiles.cmake @@ -0,0 +1 @@ +include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/env_inteloneapi_common.sh b/.gitlab/ci/env_inteloneapi_common.sh new file mode 100644 index 0000000..beaf3fe --- /dev/null +++ b/.gitlab/ci/env_inteloneapi_common.sh @@ -0,0 +1,7 @@ +source .gitlab/ci/env_intelcompiler_license.sh + +if test -r /opt/intel/oneapi/setvars.sh; then + source /opt/intel/oneapi/setvars.sh +fi + +export CC=icx CXX=icpx FC=ifx diff --git a/.gitlab/ci/env_inteloneapi_makefiles.sh b/.gitlab/ci/env_inteloneapi_makefiles.sh new file mode 100644 index 0000000..eefcdda --- /dev/null +++ b/.gitlab/ci/env_inteloneapi_makefiles.sh @@ -0,0 +1 @@ +source .gitlab/ci/env_inteloneapi_common.sh diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index 158f107..0229bc0 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -155,6 +155,12 @@ CMAKE_CONFIGURATION: intelclassic_makefiles CMAKE_GENERATOR: "Unix Makefiles" +.inteloneapi_makefiles: + extends: .intelcompiler + variables: + CMAKE_CONFIGURATION: inteloneapi_makefiles + CMAKE_GENERATOR: "Unix Makefiles" + ### CUDA builds .cuda10.2: @@ -352,3 +358,13 @@ - .needs_centos6_x86_64 variables: CMAKE_CI_JOB_NIGHTLY: "true" + +.cmake_test_linux_inteloneapi_makefiles: + extends: + - .inteloneapi_makefiles + - .cmake_test_linux_release + - .linux_builder_tags_qt + - .run_manually + - .needs_centos6_x86_64 + variables: + CMAKE_CI_JOB_NIGHTLY: "true" |