summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorGraham✈️✈️ <plicease@cpan.org>2020-07-29 08:57:17 -0600
committerGitHub <noreply@github.com>2020-07-29 08:57:17 -0600
commit8ffcbbbe4a4411bb0971e61a39fa2608a4ef5145 (patch)
treebf3d94af0fc565839733360d7c119521cae9c67d /hints
parent9164a823c0c614eea9b2a81917424bb035d7161a (diff)
downloadperl-8ffcbbbe4a4411bb0971e61a39fa2608a4ef5145.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
Diffstat (limited to 'hints')
-rw-r--r--hints/linux.sh2
1 files changed, 1 insertions, 1 deletions
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