commit: e9ada035b24d8e2effc690464d7eb8ca32e06295
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 2 18:23:41 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 2 18:25:17 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ada035
dev-util/spirv-llvm-translator: Unblock LLVM 20.1.x
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../spirv-llvm-translator-20.0.0_pre20250122.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/dev-util/spirv-llvm-translator/spirv-llvm-translator-20.0.0_pre20250122.ebuild
b/dev-util/spirv-llvm-translator/spirv-llvm-translator-20.0.0_pre20250122.ebuild
index c5b5f3125ce7..6f3ffe143671 100644
---
a/dev-util/spirv-llvm-translator/spirv-llvm-translator-20.0.0_pre20250122.ebuild
+++
b/dev-util/spirv-llvm-translator/spirv-llvm-translator-20.0.0_pre20250122.ebuild
@@ -40,6 +40,10 @@ BDEPEND="
src_prepare() {
append-flags -fPIC
cmake_src_prepare
+
+ # do not force a specific LLVM version to find_package(), this only
+ # causes issues and we force a specific path anyway
+ sed -i -e '/find_package/s:${BASE_LLVM_VERSION}::' CMakeLists.txt || die
}
multilib_src_configure() {