Install this version:
emerge -a =sys-devel/autofdo-0.18
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-devel/autofdo-0.18
Or alternatively:
emerge --autounmask-write -a =sys-devel/autofdo-0.18
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="System to simplify real-world deployment of feedback-directed optimization"
HOMEPAGE="https://gcc.gnu.org/wiki/AutoFDO"
SRC_URI="https://github.com/google/autofdo/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=">=llvm-core/llvm-5.0.1:*
sys-devel/gcc:*"
RDEPEND="${DEPEND}"
src_prepare(){
#has Google forgot got change it?
sed -i "s|\[0.14\]|\[${PV}\]|" configure.ac
eautoreconf
eapply_user
}
src_configure(){
econf --with-llvm
}
>=llvm-core/llvm-5.0.1:* sys-devel/gcc:*
>=llvm-core/llvm-5.0.1:* sys-devel/gcc:*
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | autofdo-0.18.tar.gz | 62947085 bytes | https://github.com/google/autofdo/archive/0.18.tar.gz |