diff options
| author | Brad King <brad.king@kitware.com> | 2021-03-15 14:52:25 -0400 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2021-03-17 11:41:26 -0400 |
| commit | 1610c0f0345959e388a7b106969e972889815ec6 (patch) | |
| tree | 3f2f2a6824222dbff2a1ac8c858c4b060dcace09 /.gitlab | |
| parent | c07683331052bf5bd29788a73563930dd5ff2349 (diff) | |
| download | cmake-1610c0f0345959e388a7b106969e972889815ec6.tar.gz | |
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 0000000000..20863a2fb0 --- /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 0000000000..beaf3feee9 --- /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 0000000000..eefcddaedd --- /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 158f1078ea..0229bc03dc 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" |
