From e9ada035b24d8e2effc690464d7eb8ca32e06295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 2 Feb 2025 19:23:41 +0100 Subject: [PATCH] dev-util/spirv-llvm-translator: Unblock LLVM 20.1.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../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 c5b5f3125ce73..6f3ffe1436710 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() {