From 940971dd00e09c2f186bace50eaa284abfa58dd0 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sun, 15 Jun 2025 11:39:50 +0000 Subject: [PATCH] dev-libs/roct-thunk-interface: disable lto for tests Closes: https://bugs.gentoo.org/892760 Signed-off-by: Sv. Lockal Part-of: https://github.com/gentoo/gentoo/pull/42608 Signed-off-by: Sam James --- .../roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild index b4d7f2f1f1bf0..c4fbb73216153 100644 --- a/dev-libs/roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild +++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 LLVM_COMPAT=( 19 ) ROCM_SKIP_GLOBALS=1 -inherit cmake linux-info llvm-r1 rocm +inherit cmake flag-o-matic linux-info llvm-r1 rocm if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/ROCm/ROCR-Runtime/" @@ -69,6 +69,9 @@ src_configure() { cmake_src_configure if use test; then + # ODR violations (bug #956958) + filter-lto + export LIBHSAKMT_PATH="${BUILD_DIR}" local mycmakeargs=( -DLLVM_DIR="$(get_llvm_prefix)"