Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 317483

Summary: dev-libs/boost support for icc
Product: Gentoo Linux Reporter: Jacek Szafarkiewicz <hadogenes+gentoo>
Component: Current packagesAssignee: David Seifert <soap>
Status: RESOLVED WONTFIX    
Severity: normal CC: cpp+disabled, dschridde+gentoobugs, jstein
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild with working ICC support

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