Add patch to hopefully fix mips64el build

This commit is contained in:
Gianfranco Costamagna 2023-09-12 09:06:58 +02:00
parent 443f08468c
commit 665dec9292
2 changed files with 11 additions and 0 deletions

10
debian/patches/mips64el-ompt.patch vendored Normal file
View File

@ -0,0 +1,10 @@
--- llvm-toolchain-16-16.0.6.orig/openmp/runtime/cmake/config-ix.cmake
+++ llvm-toolchain-16-16.0.6/openmp/runtime/cmake/config-ix.cmake
@@ -328,6 +329,7 @@ else()
(LIBOMP_ARCH STREQUAL aarch64) OR
(LIBOMP_ARCH STREQUAL aarch64_a64fx) OR
(LIBOMP_ARCH STREQUAL ppc64le) OR
+ (LIBOMP_ARCH STREQUAL mips64) OR
(LIBOMP_ARCH STREQUAL ppc64) OR
(LIBOMP_ARCH STREQUAL riscv64) OR
(LIBOMP_ARCH STREQUAL loongarch64))

View File

@ -153,3 +153,4 @@ ubuntu-releases.patch
new-cmake-build-fix.patch
HIP-search-path-fix.patch
D158066.patch
mips64el-ompt.patch