summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham✈️✈️ <plicease@cpan.org>2020-07-29 08:57:17 -0600
committerSteve Hay <steve.m.hay@googlemail.com>2020-12-26 15:26:34 +0000
commit674eb0a640083b907f47b17387d6f762ad08e865 (patch)
tree599bd29d67bd8a83559a7589df866bb4b18a51d0
parent34dc60bd4686f40c97875aca456e333b23fafdbd (diff)
downloadperl-674eb0a640083b907f47b17387d6f762ad08e865.tar.gz
Improve detection of Intel C/C++ compilers. (#18001)
* Improve detection of Intel C/C++ compilers. My version of Intel C/C++ reports these versions: ✅ starscream% icc -V Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.1.217 Build 20200306 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY ✅ starscream% icpc -V Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.1.217 Build 20200306 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY * simplified case for detecting Intel C++ compiler * update authors for plicease (cherry picked from commit 8ffcbbbe4a4411bb0971e61a39fa2608a4ef5145)
-rw-r--r--AUTHORS1
-rw-r--r--hints/linux.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index b90d8e5969..581c282098 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -466,6 +466,7 @@ Goro Fuji <gfuji@cpan.org>
Grace Lee <grace@hal.com>
Graham Barr <gbarr@pobox.com>
Graham Knop <haarg@haarg.org>
+Graham Ollis <plicease@cpan.org>
Graham TerMarsch <graham@howlingfrog.com>
Grant McLean <grantm@cpan.org>
Greg Bacon <gbacon@itsc.uah.edu>
diff --git a/hints/linux.sh b/hints/linux.sh
index 8cbe7dc463..c749f0f64a 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -85,7 +85,7 @@ uname_minus_m="${uname_minus_m:-"$targetarch"}"
# Check if we're about to use Intel's ICC compiler
case "`${cc:-cc} -V 2>&1`" in
-*"Intel(R) C++ Compiler"*|*"Intel(R) C Compiler"*)
+*"Intel(R) C"*" Compiler"*)
# record the version, formats:
# icc (ICC) 10.1 20080801
# icpc (ICC) 10.1 20080801