diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild index bdefd6ed9703f..29e6a6ab500fb 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild @@ -40,6 +40,9 @@ PATCHES=( "${FILESDIR}"/${PN}-15.0.0-intel-capability.patch ) src_prepare() { append-flags -fPIC cmake_src_prepare + + # https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2555 + sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die } src_configure() { diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild index 194b82f52b5ff..fb3e58b930a6f 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild @@ -44,6 +44,9 @@ PATCHES=( src_prepare() { append-flags -fPIC cmake_src_prepare + + # https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2555 + sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die } src_configure() { diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.0-r2.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.0-r2.ebuild index 966037d0d7467..f88cc260c9b88 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.0-r2.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.0-r2.ebuild @@ -43,6 +43,9 @@ PATCHES=( src_prepare() { append-flags -fPIC cmake_src_prepare + + # https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2555 + sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die } src_configure() { diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.0.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.0.ebuild index acf2b6f81bde8..63f846f23177b 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.0.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.0.ebuild @@ -41,6 +41,9 @@ PATCHES=( src_prepare() { append-flags -fPIC cmake_src_prepare + + # https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2555 + sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die } src_configure() {