dev-util/spirv-llvm-translator: Fix some tests

Closes: https://bugs.gentoo.org/933775
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2024-06-07 17:59:17 -04:00
parent ddcb820441
commit c63dfeafaa
4 changed files with 12 additions and 0 deletions

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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() {