commit: e9276f91166f047f67d5987bf1f7c24f9e1793da Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Dec 26 16:52:21 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Jan 7 11:37:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9276f91
dev-libs/pocl: [QA] Remove invalid USE=lto USE=lto in this package only appends -flto flag. This is not a valid use of the USE flag, as lto in Gentoo is enabled via setting flags manually. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34490 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-libs/pocl/pocl-4.0.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-libs/pocl/pocl-4.0.ebuild b/dev-libs/pocl/pocl-4.0.ebuild index 2ffb95bda051..e8e313759963 100644 --- a/dev-libs/pocl/pocl-4.0.ebuild +++ b/dev-libs/pocl/pocl-4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc64" # TODO: hsa tce -IUSE="accel +conformance cuda debug examples float-conversion hardening +hwloc memmanager lto test" +IUSE="accel +conformance cuda debug examples float-conversion hardening +hwloc memmanager test" # Tests not yet passing, fragile in Portage environment(?) RESTRICT="!test? ( test ) test" @@ -69,7 +69,8 @@ src_configure() { -DPOCL_ICD_ABSOLUTE_PATH=ON -DPOCL_INSTALL_PUBLIC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/OpenCL/vendors/pocl" - -DENABLE_IPO=$(usex lto) + # only appends -flto + -DENABLE_IPO=OFF -DENABLE_POCL_BUILDING=ON -DKERNELLIB_HOST_CPU_VARIANTS="${host_cpu_variants}"
