diff options
author | Graham✈️✈️ <plicease@cpan.org> | 2020-07-29 08:57:17 -0600 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2020-12-26 15:26:34 +0000 |
commit | 674eb0a640083b907f47b17387d6f762ad08e865 (patch) | |
tree | 599bd29d67bd8a83559a7589df866bb4b18a51d0 | |
parent | 34dc60bd4686f40c97875aca456e333b23fafdbd (diff) | |
download | perl-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-- | AUTHORS | 1 | ||||
-rw-r--r-- | hints/linux.sh | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 |