summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/env_intelclassic_common.sh
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/env_intelclassic_common.sh')
-rw-r--r--.gitlab/ci/env_intelclassic_common.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab/ci/env_intelclassic_common.sh b/.gitlab/ci/env_intelclassic_common.sh
new file mode 100644
index 0000000..22b1d03
--- /dev/null
+++ b/.gitlab/ci/env_intelclassic_common.sh
@@ -0,0 +1,9 @@
+source .gitlab/ci/env_intelcompiler_license.sh
+
+if test -r /opt/intel/oneapi/setvars.sh; then
+ source /opt/intel/oneapi/setvars.sh
+elif test -r /opt/intel/bin/compilervars.sh; then
+ source /opt/intel/bin/compilervars.sh intel64
+fi
+
+export CC=icc CXX=icpc FC=ifort