[Patches] [ python-Patches-1162023 ] don't add -OPT:Olimit=0 for icc

SourceForge.net noreply at sourceforge.net
Fri Apr 14 17:13:20 CEST 2006


Patches item #1162023, was opened at 2005-03-12 16:58
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1162023&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
>Status: Closed
>Resolution: Out of Date
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: Martin v. Löwis (loewis)
Date: 2006-04-14 17:13

Message:
Logged In: YES 
user_id=21627

Ok, something like this was committed as 41953; closing this
patch as out-of-date.

----------------------------------------------------------------------

Comment By: Michael Hoffman (hoffmanm)
Date: 2005-04-04 18: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 19: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 14: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 23: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