From 665dec9292b4a55531dae7cadd2258e557452ab6 Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Tue, 12 Sep 2023 09:06:58 +0200 Subject: [PATCH] Add patch to hopefully fix mips64el build --- debian/patches/mips64el-ompt.patch | 10 ++++++++++ debian/patches/series | 1 + 2 files changed, 11 insertions(+) create mode 100644 debian/patches/mips64el-ompt.patch diff --git a/debian/patches/mips64el-ompt.patch b/debian/patches/mips64el-ompt.patch new file mode 100644 index 00000000..3e84a148 --- /dev/null +++ b/debian/patches/mips64el-ompt.patch @@ -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)) diff --git a/debian/patches/series b/debian/patches/series index 6cbaed91..1f72d367 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -153,3 +153,4 @@ ubuntu-releases.patch new-cmake-build-fix.patch HIP-search-path-fix.patch D158066.patch +mips64el-ompt.patch