diff -Nru openmpi-4.1.2~rc1/debian/changelog openmpi-4.1.2~rc1/debian/changelog --- openmpi-4.1.2~rc1/debian/changelog 2021-10-27 08:08:51.000000000 +0000 +++ openmpi-4.1.2~rc1/debian/changelog 2021-11-02 23:13:56.000000000 +0000 @@ -1,3 +1,11 @@ +openmpi (4.1.2~rc1-5+rpi1) bookworm-staging; urgency=medium + + [changes brought forward from 2.1.1-6+rpi1 by Peter Michael Green at Wed, 05 Jul 2017 00:52:53 +0000] + * Modify arm "detection" for Raspbian. + * Partially fix clean target + + -- Raspbian forward porter Tue, 02 Nov 2021 23:13:56 +0000 + openmpi (4.1.2~rc1-5) unstable; urgency=medium * Drop unused and broken link to libopen-orted-mpir.so diff -Nru openmpi-4.1.2~rc1/debian/patches/raspbian.diff openmpi-4.1.2~rc1/debian/patches/raspbian.diff --- openmpi-4.1.2~rc1/debian/patches/raspbian.diff 1970-01-01 00:00:00.000000000 +0000 +++ openmpi-4.1.2~rc1/debian/patches/raspbian.diff 2021-11-02 23:13:56.000000000 +0000 @@ -0,0 +1,28 @@ +Description: Modify arm "detection" for Raspbian. + +Index: openmpi-2.1.1.try3/config/opal_config_asm.m4 +=================================================================== +--- openmpi-2.1.1.try3.orig/config/opal_config_asm.m4 ++++ openmpi-2.1.1.try3/config/opal_config_asm.m4 +@@ -1037,7 +1037,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[ + OPAL_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)' + ;; + +- armv7*|arm-*-linux-gnueabihf) ++ armv7*) + opal_cv_asm_arch="ARM" + OPAL_ASM_SUPPORT_64BIT=1 + OPAL_ASM_ARM_VERSION=7 +@@ -1046,11 +1046,10 @@ AC_DEFUN([OPAL_CONFIG_ASM],[ + OPAL_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)' + ;; + +- armv6*) ++ armv6*|arm-*-linux-gnueabihf) + opal_cv_asm_arch="ARM" + OPAL_ASM_SUPPORT_64BIT=0 + OPAL_ASM_ARM_VERSION=6 +- CCASFLAGS="$CCASFLAGS -march=armv7-a" + AC_DEFINE_UNQUOTED([OPAL_ASM_ARM_VERSION], [$OPAL_ASM_ARM_VERSION], + [What ARM assembly version to use]) + OPAL_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)' diff -Nru openmpi-4.1.2~rc1/debian/patches/series openmpi-4.1.2~rc1/debian/patches/series --- openmpi-4.1.2~rc1/debian/patches/series 2021-10-27 08:08:51.000000000 +0000 +++ openmpi-4.1.2~rc1/debian/patches/series 2021-11-02 23:13:56.000000000 +0000 @@ -10,3 +10,4 @@ #version-script.patch no-warning-unused.patch ia64.patch +raspbian.diff diff -Nru openmpi-4.1.2~rc1/debian/rules openmpi-4.1.2~rc1/debian/rules --- openmpi-4.1.2~rc1/debian/rules 2021-10-27 08:08:51.000000000 +0000 +++ openmpi-4.1.2~rc1/debian/rules 2021-11-02 23:13:56.000000000 +0000 @@ -111,6 +111,12 @@ find . -name .dirstamp -delete find . -type l -delete find . -name '*.o' -delete + rm -f `find test/ -type f ! -name '*.*' ! -name 'run_tests'` + rm -f `find . -name '*.a'` + rm -f `find . -name '*.class'` + rm -f `find . -name '*.mod'` + rm -f `find . -name '*.jar'` + rm -f `find orte/tools/ -type f ! -name '*.*'` override_dh_update_autotools_config: (cd config && autom4te --language=m4sh opal_get_version.m4sh -o opal_get_version.sh)