[Bug 2932] New: [IcedTea8] Support ccache in a non-automagic manner
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Tue Apr 12 20:53:58 UTC 2016
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2932
Bug ID: 2932
Summary: [IcedTea8] Support ccache in a non-automagic manner
Product: IcedTea
Version: 8-hg
Hardware: all
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea
Assignee: gnu.andrew at redhat.com
Reporter: chewi at gentoo.org
CC: unassigned at icedtea.classpath.org
OpenJDK doesn't allow you to use ccache via wrapper symlinks added to the PATH,
even though this is normally how it is setup. This affects Gentoo, where
FEATURES="ccache" automatically adds these wrappers to the PATH for you.
Gentoo's ebuild therefore currently strips the PATH like this.
PATH=$(sed 's#[^:]*/ccache/bin:##g' <<< "${PATH}")
This alone is insufficient as ccache is still detected automagically. Since
IcedTea currently doesn't pass through the --disable-ccache option, the only
way to explicitly disable it right now is to set enable_ccache=no.
Andrew has suggested that IcedTea not support the option but supply it to
OpenJDK based on whether wrappers are found in the PATH, while stripping the
PATH for you. This would work well for Gentoo though others may find it odd.
I'll let him decide!
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20160412/ca515fe9/attachment.html>
More information about the distro-pkg-dev
mailing list