Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl.git] branch blead, updated. v5.11.2-57-g77b33db

0 views
Skip to first unread message

H. Merijn Brand

unread,
Nov 24, 2009, 3:06:11 AM11/24/09
to perl5-...@perl.org
In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/77b33db630b28c8be044e8973b0a6a8097786158?hp=0be0346991b9897be3779aad45b504f1f1d7c709>

- Log -----------------------------------------------------------------
commit 77b33db630b28c8be044e8973b0a6a8097786158
Author: Tony Cook <to...@develop-help.com>
Date: Tue Nov 24 17:44:56 2009 +1100

record version of Intel C during configure

Currently building with icc records an empty ccversion, the attached
change fixes that.

Tony

Signed-off-by: H.Merijn Brand <h.m....@xs4all.nl>
-----------------------------------------------------------------------

Summary of changes:
hints/linux.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/hints/linux.sh b/hints/linux.sh
index c88f157..d208129 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -87,6 +87,11 @@ esac
# 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"*)
+ # record the version, formats:
+ # icc (ICC) 10.1 20080801
+ # icpc (ICC) 10.1 20080801
+ # followed by a copyright on the second line
+ ccversion=`${cc:-cc} --version | sed -n -e 's/^icp\?c \((ICC) \)\?//p'`
# This is needed for Configure's prototype checks to work correctly
# The -mp flag is needed to pass various floating point related tests
# The -no-gcc flag is needed otherwise, icc pretends (poorly) to be gcc

--
Perl5 Master Repository

0 new messages