[Patches] [ python-Patches-1162023 ] don't add -OPT:Olimit=0 for icc
SourceForge.net
noreply at sourceforge.net
Mon Apr 4 18:09:24 CEST 2005
Patches item #1162023, was opened at 2005-03-12 15:58
Message generated for change (Comment added) made by hoffmanm
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1162023&group_id=5470
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hoffman (hoffmanm)
Assigned to: Nobody/Anonymous (nobody)
Summary: don't add -OPT:Olimit=0 for icc
Initial Comment:
Patch to configure.in to fix problem described in:
http://sourceforge.net/tracker/?func=detail&aid=1162001&group_id=5470&atid=105470
----------------------------------------------------------------------
>Comment By: Michael Hoffman (hoffmanm)
Date: 2005-04-04 16:09
Message:
Logged In: YES
user_id=987664
Well, it probably can be done but that would really require
a completely different patch. I unfortunately have not had
the time to produce such a patch.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2005-03-18 18:27
Message:
Logged In: YES
user_id=21627
Hmm. I would really like to see something still more
general, but am willing to commit this if you assert that
nothing more general exists.
Eg. what if somebody links /usr/bin/cc to icc? You really
should find out whether the compiler *is* ICC, not whether
its name is icc (or, better yet, whether the compiler really
does support -OPT:Olimit). For example, if 'icc --version'
prints "Intel Compiler version 9.0" or some such, that would
be a reliable test for icc.
----------------------------------------------------------------------
Comment By: Michael Hoffman (hoffmanm)
Date: 2005-03-18 13:17
Message:
Logged In: YES
user_id=987664
OK, here's another attempt at it that uses the autoconf
AS_BASENAME macro. Additionally it removes libm from the
default libraries if you are using icc. Intel has their own
math library which is automatically linked, and using -lm
causes problems.
Sorry this took so long--anonymous CVS access had been down
for several days.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2005-03-13 22:42
Message:
Logged In: YES
user_id=21627
This test is too weak. If CC is, say, "/opt/intel/bin/icc",
the test would fail, right?
So please come up with a separate test to determine if the
compiler is icc, and then skip the entire test whether it
accepts -OPT:Olimit.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1162023&group_id=5470
More information about the Patches
mailing list