Skip to contentSkip to conversation

mpich: Upgrade to 3.4.1

PATCH New Khem Raj 1 participant 2 messages Mar 3, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/2 mpich: Upgrade to 3.4.1

Add fixes to work with/with-out X

Cc Jose Quaresma <[email protected]>
Cc Andreas Müller <[email protected]>
---
 meta-oe/recipes-devtools/mpich/mpich_3.2.bb   | 47 ----------------
 meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb | 54 +++++++++++++++++++
 2 files changed, 54 insertions(+), 47 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/mpich/mpich_3.2.bb
 create mode 100644 meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb
meta-oe/recipes-devtools/mpich/mpich_3.2.bb deleted +0 -47
deleted file mode 100644
index 51b313cef4..0000000000
@@ -1,47 +0,0 @@
-SUMMARY = "Message Passing Interface (MPI) implementation"
-HOMEPAGE = "http://www.mpich.org/"
-SECTION = "devel"
-
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=2106f0435056f3dd9349747a766e5816"
-
-SRC_URI = " \
-    http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz \
-"
-
-SRC_URI[md5sum] = "f414cfa77099cd1fa1a5ae4e22db508a"
-SRC_URI[sha256sum] = "0778679a6b693d7b7caff37ff9d2856dc2bfc51318bf8373859bfa74253da3dc"
-
-RDEPENDS_${PN} += "bash perl libxml2"
-S = "${WORKDIR}/${BP}"
-
-EXTRA_OECONF = "--enable-debuginfo \
-    --enable-fast \
-    --enable-shared  \
-    --with-pm=gforker  \
-    --disable-rpath \
-    --disable-f77 \
-    --disable-fc \
-    --disable-fortran \
-    --disable-cxx \
-    BASH_SHELL='${USRBINPATH}/env bash' \
-    PERL='${USRBINPATH}/env perl' \
-"
-
-inherit autotools-brokensep gettext
-
-do_configure_prepend() {
-    for d in confdb test/mpi/confdb src/openpa/confdb src/pm/hydra/confdb src/pm/hydra/tools/topo/hwloc/hwloc/config src/pm/hydra/mpl/confdb src/mpl/confdb src/mpi/romio/confdb;  do
-        install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/$d
-        install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/$d
-    done
-
-    autoreconf --verbose --install --force -I . -I confdb/ -I maint/
-    oe_runconf
-    exit
-}
-
-do_install_append() {
-    sed -i 's,${S}/,,g' ${D}/${libdir}/libmpi.la
-    sed -i 's,${DEBUG_PREFIX_MAP},,g' ${D}/${libdir}/pkgconfig/mpich.pc
-}
meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb new file +54 -0

54 lines not on this page · raw message

Signature · 1 line
2.30.1
author
#1 lore raw

PATCH v2 2/2 srt: Backport fix for missing <limits> header

Cc Jose Quaresma <[email protected]>
Cc Andreas Müller <[email protected]>
---
 ...001-core-Fix-build-with-GCC-11.-1806.patch | 26 +++++++++++++++++++
 .../recipes-support/srt/srt_1.4.2.bb          |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 meta-multimedia/recipes-support/srt/srt/0001-core-Fix-build-with-GCC-11.-1806.patch
meta-multimedia/recipes-support/srt/srt/0001-core-Fix-build-with-GCC-11.-1806.patch new file +26 -0
new file mode 100644
index 0000000000..0cb6943ccb
@@ -0,0 +1,26 @@
+From f1b35cbf5b9b42b031e9b119e4c802b5f744468c Mon Sep 17 00:00:00 2001
+From: Christophe Giboudeaux <[email protected]>
+Date: Wed, 10 Feb 2021 12:42:45 +0000
+Subject: [PATCH] [core] Fix build with GCC 11. (#1806)
+
+The 'limits' header must be included explicitly.
+---
+Upstream-Status: Backport [https://github.com/haivision/srt/commit/f1b35cbf5b9b42b031e9b119e4c802b5f744468c]
+ srtcore/sync.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/srtcore/sync.h b/srtcore/sync.h
+index 59c125a7..9f01ca91 100644
+--- a/srtcore/sync.h
++++ b/srtcore/sync.h
+@@ -15,6 +15,7 @@
+ //#define ENABLE_CXX17
+ 
+ #include <cstdlib>
++#include <limits>
+ #ifdef ENABLE_STDCXX_SYNC
+ #include <chrono>
+ #include <thread>
+-- 
+2.30.1
+
meta-multimedia/recipes-support/srt/srt_1.4.2.bb +1 -0
index 567ea68edf..f7dfda28f1 100644
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
 SRCREV = "50b7af06f3a0a456c172b4cb3aceafa8a5cc0036"
 SRC_URI = "git://github.com/Haivision/srt;protocol=https \
            file://0001-don-t-install-srt-ffplay.patch \
+           file://0001-core-Fix-build-with-GCC-11.-1806.patch \
            "
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 S = "${WORKDIR}/git"
Signature · 1 line
2.30.1