From 06f638b09d256d9c07400e81c2449b818e8f00ff Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@Germany>
Date: Fri, 11 Nov 2016 19:25:52 +0100
Subject: [PATCH] STYLE: provide WM_CC, WM_CXX values for Icc.

- since Icc is actually mentioned in bashrc/cshrc it is consistent to
  set these values accordingly.
---
 etc/config.csh/compiler | 4 ++++
 etc/config.sh/compiler  | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/etc/config.csh/compiler b/etc/config.csh/compiler
index 7d8f757b23e..bc19a6ce2a5 100644
--- a/etc/config.csh/compiler
+++ b/etc/config.csh/compiler
@@ -90,6 +90,10 @@ case Clang:
     setenv WM_CC 'clang'
     setenv WM_CXX 'clang++'
     breaksw
+case Icc:
+    setenv WM_CC 'icc'
+    setenv WM_CXX 'icpc'
+    breaksw
 endsw
 
 #------------------------------------------------------------------------------
diff --git a/etc/config.sh/compiler b/etc/config.sh/compiler
index 0f27fab8a68..f49f2857460 100644
--- a/etc/config.sh/compiler
+++ b/etc/config.sh/compiler
@@ -87,6 +87,10 @@ Clang)
     export WM_CC='clang'
     export WM_CXX='clang++'
     ;;
+Icc)
+    export WM_CC='icc'
+    export WM_CXX='icpc'
+    ;;
 esac
 
 #------------------------------------------------------------------------------
-- 
GitLab