summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-26 17:52:21 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-07 12:37:44 +0100
commite9276f91166f047f67d5987bf1f7c24f9e1793da (patch)
tree64c1c2735b1089dbc16ac5e9f1832ef94348f304 /dev-libs/pocl
parentdev-cpp/benchmark: [QA] Remove invalid USE=lto (diff)
downloadgentoo-e9276f91166f047f67d5987bf1f7c24f9e1793da.tar.gz
gentoo-e9276f91166f047f67d5987bf1f7c24f9e1793da.tar.bz2
gentoo-e9276f91166f047f67d5987bf1f7c24f9e1793da.zip
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@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34490 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/pocl')
-rw-r--r--dev-libs/pocl/pocl-4.0.ebuild7
1 files 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}"