summaryrefslogtreecommitdiff
path: root/.gitlab/ci/env_intelcompiler_license.sh
blob: 54743b28e2ed774e070238e9877d3e46cedf5b55 (plain)
1
2
3
4
5
6
7
8
if test -n "$CMAKE_CI_INTELCOMPILER_LICENSE"; then
  if test -d /opt/intel/licenses; then
    mv "$CMAKE_CI_INTELCOMPILER_LICENSE" /opt/intel/licenses/ci.lic
  else
    rm "$CMAKE_CI_INTELCOMPILER_LICENSE"
  fi
  unset CMAKE_CI_INTELCOMPILER_LICENSE
fi