mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Christian Melki <christian.melki@t2data.com>
Cc: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>,
	p.zabel@pengutronix.de
Subject: Re: [ptxdist] [PATCH 1/2] host-meson: version bump 0.61.4 -> 1.0.0
Date: Wed, 11 Jan 2023 12:17:49 +0100	[thread overview]
Message-ID: <20230111111749.GJ16340@pengutronix.de> (raw)
In-Reply-To: <8c93d019-973a-f1c8-1506-a4baaef35d1b@t2data.com>

On Wed, Jan 11, 2023 at 12:02:54PM +0100, Christian Melki wrote:
> On 1/11/23 11:19, Philipp Zabel wrote:
> > https://mesonbuild.com/Release-notes-for-1-0-0.html
> > 
> > This bumps the host Python minimum version requirement from 3.6 to 3.7.
> 
> Highly subjective disclaimer here,
> 
> This boils down to when ptxdist starts forcing users to python 3.7+ for
> building. Calling python (as a build tool) outdated when the last 3.6.x
> release was in late 2021, is a stretch.
> I'm pro upgrade, but also really dislike breaking stuff like this.

Currently we have that last meson version that supports Python 3.6.x. I've
been delaying the update for this reason. However, the next GStreamer
release will require a newer meson version, so at that point we'll need to
update.

Michael

> > 
> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> > ---
> > GStreamer 1.22 will require Meson >= 0.62, which already introduced the
> > Python 3.7 dependency.
> > ---
> >  ...-rpaths-for-build-directories-when-cross-co.patch |  6 +++---
> >  .../0002-HACK-enable-NEON-only-for-ARMv7.patch       | 12 ++++++------
> >  patches/{meson-0.61.4 => meson-1.0.0}/series         |  0
> >  rules/host-meson.make                                |  4 ++--
> >  4 files changed, 11 insertions(+), 11 deletions(-)
> >  rename patches/{meson-0.61.4 => meson-1.0.0}/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch (91%)
> >  rename patches/{meson-0.61.4 => meson-1.0.0}/0002-HACK-enable-NEON-only-for-ARMv7.patch (71%)
> >  rename patches/{meson-0.61.4 => meson-1.0.0}/series (100%)
> > 
> > diff --git a/patches/meson-0.61.4/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch b/patches/meson-1.0.0/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch
> > similarity index 91%
> > rename from patches/meson-0.61.4/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch
> > rename to patches/meson-1.0.0/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch
> > index dc4b960b0302..efed46c1df60 100644
> > --- a/patches/meson-0.61.4/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch
> > +++ b/patches/meson-1.0.0/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch
> > @@ -11,10 +11,10 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> >   1 file changed, 6 insertions(+), 2 deletions(-)
> >  
> >  diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py
> > -index c8489dafe11d..7440aa1a7c4e 100644
> > +index 3385dd3dcadd..7c15a212802e 100644
> >  --- a/mesonbuild/linkers/linkers.py
> >  +++ b/mesonbuild/linkers/linkers.py
> > -@@ -640,7 +640,10 @@ class GnuLikeDynamicLinkerMixin:
> > +@@ -660,7 +660,10 @@ class GnuLikeDynamicLinkerMixin:
> >           # Need to deduplicate rpaths, as macOS's install_name_tool
> >           # is *very* allergic to duplicate -delete_rpath arguments
> >           # when calling depfixer on installation.
> > @@ -26,7 +26,7 @@ index c8489dafe11d..7440aa1a7c4e 100644
> >           rpath_dirs_to_remove = set()
> >           for p in all_paths:
> >               rpath_dirs_to_remove.add(p.encode('utf8'))
> > -@@ -668,7 +671,8 @@ class GnuLikeDynamicLinkerMixin:
> > +@@ -688,7 +691,8 @@ class GnuLikeDynamicLinkerMixin:
> >                   paths = padding
> >               else:
> >                   paths = paths + ':' + padding
> > diff --git a/patches/meson-0.61.4/0002-HACK-enable-NEON-only-for-ARMv7.patch b/patches/meson-1.0.0/0002-HACK-enable-NEON-only-for-ARMv7.patch
> > similarity index 71%
> > rename from patches/meson-0.61.4/0002-HACK-enable-NEON-only-for-ARMv7.patch
> > rename to patches/meson-1.0.0/0002-HACK-enable-NEON-only-for-ARMv7.patch
> > index f6c355728034..263e1a76b552 100644
> > --- a/patches/meson-0.61.4/0002-HACK-enable-NEON-only-for-ARMv7.patch
> > +++ b/patches/meson-1.0.0/0002-HACK-enable-NEON-only-for-ARMv7.patch
> > @@ -6,14 +6,14 @@ NEON detection is broken, so just skip it for anything that is not ARMv7.
> >  
> >  Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> >  ---
> > - mesonbuild/modules/unstable_simd.py | 3 +++
> > + mesonbuild/modules/simd.py | 3 +++
> >   1 file changed, 3 insertions(+)
> >  
> > -diff --git a/mesonbuild/modules/unstable_simd.py b/mesonbuild/modules/unstable_simd.py
> > -index 3339cea5a03f..da2e740d4cd3 100644
> > ---- a/mesonbuild/modules/unstable_simd.py
> > -+++ b/mesonbuild/modules/unstable_simd.py
> > -@@ -64,6 +64,9 @@ class SimdModule(ExtensionModule):
> > +diff --git a/mesonbuild/modules/simd.py b/mesonbuild/modules/simd.py
> > +index a33022d0435b..d40be3443776 100644
> > +--- a/mesonbuild/modules/simd.py
> > ++++ b/mesonbuild/modules/simd.py
> > +@@ -63,6 +63,9 @@ class SimdModule(ExtensionModule):
> >                   continue
> >               iset_fname = kwargs[iset] # Might also be an array or Files. static_library will validate.
> >               args = compiler.get_instruction_set_args(iset)
> > diff --git a/patches/meson-0.61.4/series b/patches/meson-1.0.0/series
> > similarity index 100%
> > rename from patches/meson-0.61.4/series
> > rename to patches/meson-1.0.0/series
> > diff --git a/rules/host-meson.make b/rules/host-meson.make
> > index 038db5570d89..c94b885641e6 100644
> > --- a/rules/host-meson.make
> > +++ b/rules/host-meson.make
> > @@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_MESON) += host-meson
> >  #
> >  # Paths and names
> >  #
> > -HOST_MESON_VERSION	:= 0.61.4
> > -HOST_MESON_MD5		:= e894ff3492fd8a1ab4587b4f8e91f28f
> > +HOST_MESON_VERSION	:= 1.0.0
> > +HOST_MESON_MD5		:= 009b78125467cd9ee4d467175a5c12e1
> >  HOST_MESON		:= meson-$(HOST_MESON_VERSION)
> >  HOST_MESON_SUFFIX	:= tar.gz
> >  HOST_MESON_URL		:= https://github.com/mesonbuild/meson/releases/download/$(HOST_MESON_VERSION)/$(HOST_MESON).$(HOST_MESON_SUFFIX)
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



  parent reply	other threads:[~2023-01-11 11:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-11 10:19 Philipp Zabel
2023-01-11 10:19 ` [ptxdist] [PATCH 2/2] pre/Rules.make: let Meson generate relocatable .pc files Philipp Zabel
2023-02-08 11:49   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-01-11 11:02 ` [ptxdist] [PATCH 1/2] host-meson: version bump 0.61.4 -> 1.0.0 Christian Melki
2023-01-11 11:15   ` Ladislav Michl
2023-01-11 11:20     ` Christian Melki
2023-01-11 11:20     ` Michael Olbrich
2023-01-11 13:14       ` Ladislav Michl
2023-01-11 11:17   ` Michael Olbrich [this message]
2023-02-08 11:49 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230111111749.GJ16340@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=christian.melki@t2data.com \
    --cc=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox