Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1692 - icc-5.0.1.ebuild (New) Intel C++ Compiler
Summary: icc-5.0.1.ebuild (New) Intel C++ Compiler
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL: http://www.intel.com/software/product...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-12 00:56 UTC by Sandy McArthur
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
icc-5.0.1 ebuild and related files. (icc-5.0.1.tar.gz,1.97 KB, application/octet-stream)
2002-04-12 00:58 UTC, Sandy McArthur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandy McArthur 2002-04-12 00:56:30 UTC
Here is an ebuild to install the Intel C++ Compiler for linux. I haven't used it
to compile anything in an ebuild yet but I hope to do that soon. I've only
compiled a few apps I've written. A few informal bechmarks I came across showed
icc to be quite faster than gcc on high end pentium hardware. (The ones I
remember was a scene in PovRay that took 200 seconds to render when compiled
with gcc only took 150 seconds when comiled with icc. And lame was about 5%
faster wehn compiled with icc which is impressive considering how optimized lame
is already.)

I suggest dev-lang/icc

icc is not 100% gcc compatible but it works with a lot of apps. I think it might
be desirable to have some way for an ebuild to show that it is safe to compile
this app with icc for a more optimized version. (That is why you installed
Gentoo right?) Or maybe the ebuild should detect icc and choose to use it. I
dunno yet, just some thoughts.
Comment 1 Sandy McArthur 2002-04-12 00:58:03 UTC
Created attachment 534 [details]
icc-5.0.1 ebuild and related files.

# tar tzf icc-5.0.1.tar.gz
icc/
icc/files/
icc/files/5.0.1/
icc/files/5.0.1/05icc
icc/files/digest-icc-5.0.1
icc/ChangeLog
icc/icc-5.0.1.ebuild
Comment 2 Sandy McArthur 2002-04-13 02:46:18 UTC
For the curious I've done two bechmarks so far, both on a Dual Pentium II 400
with 754 megs of ram on a tmpfs file system using the same 33669120 byte source
file. In both cases I simply changed the make file to use icc instead of gcc. No
tweaking of parameters was use so the gcc options were being used with icc even
when it didn't understand that option. In otherwords, I'm sure better could be
gotten if I put more effort into it.

`bzip2 -9` compiled with gcc took 1m42.662s to compress.
`bzip2 -9` compiled with icc took 1m35.825s to compress.
This is about a 7.1% speed increase.

`gzip -9` compiled with gcc took 0m18.172s to compress.
`gzip -9` compiled with icc took 0m16.882s to compress.
This is about a 7.8% speed increase.

Also I checked that icc created the exact same output a the gcc version of each app.

When I get time I'll see if I can get mozilla, X, and/or artsd to work with icc
for some noticable improvements. (Those were choosen because `top` when sorted
by cpu time (press T) have used the most.)
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-04-13 15:24:01 UTC
Available as dev-lang/icc-5.0.1