Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317483 - dev-libs/boost support for icc
Summary: dev-libs/boost support for icc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2010-04-27 14:26 UTC by Jacek Szafarkiewicz
Modified: 2021-11-08 16:54 UTC (History)
3 users (show)

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


Attachments
ebuild with working ICC support (boost-1.41.0-r4.ebuild,15.12 KB, text/plain)
2010-12-08 02:46 UTC, Soren Harward
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Szafarkiewicz 2010-04-27 14:26:06 UTC
Could you add support for intel compiler, because currently it don't build

The only thing it should be added is:

if [[ ${CHOST} == *-darwin* ]] ; then
    compiler=darwin
    compilerVersion=$(gcc-fullversion)
    compilerExecutable=$(tc-getCXX)
    # we need to add the prefix, and in two cases this exceeds, so prepare
    # for the largest possible space allocation
    append-ldflags -Wl,-headerpad_max_install_names
elif [ "$CC" = "icc" ]; then
    compiler=intel-linux
    compilerVersion=$(gcc-version)
    compilerExecutable=$(tc-getCXX)
else
    compiler=gcc
    compilerVersion=$(gcc-version)
    compilerExecutable=$(tc-getCXX)
fi

Reproducible: Always
Comment 1 Soren Harward 2010-12-08 02:46:05 UTC
Created attachment 256616 [details]
ebuild with working ICC support

The suggested change isn't quite right.  For one, it should be looking for "icpc" as the compiler (since Boost is C++), rather than "icc".  Attached is a working ebuild.
Comment 2 David Seifert gentoo-dev 2021-11-08 16:54:45 UTC
Patches welcome