summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/env_inteloneapi_common.sh
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-15 18:52:25 (GMT)
committerBrad King <brad.king@kitware.com>2021-03-17 15:41:26 (GMT)
commit1610c0f0345959e388a7b106969e972889815ec6 (patch)
tree3f2f2a6824222dbff2a1ac8c858c4b060dcace09 /.gitlab/ci/env_inteloneapi_common.sh
parentc07683331052bf5bd29788a73563930dd5ff2349 (diff)
downloadCMake-1610c0f0345959e388a7b106969e972889815ec6.zip
CMake-1610c0f0345959e388a7b106969e972889815ec6.tar.gz
CMake-1610c0f0345959e388a7b106969e972889815ec6.tar.bz2
gitlab-ci: add jobs testing Intel oneAPI compilers on Linux
Diffstat (limited to '.gitlab/ci/env_inteloneapi_common.sh')
-rw-r--r--.gitlab/ci/env_inteloneapi_common.sh7
1 files changed, 7 insertions, 0 deletions
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