public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/4] python eclasses: PyPy3.10 update + cargo LTO strip-flags
@ 2023-07-12 12:22 Michał Górny
  2023-07-12 12:22 ` [gentoo-dev] [PATCH 1/4] python-utils-r1.eclass: Require >=dev-python/pypy3-7.3.12 Michał Górny
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Michał Górny @ 2023-07-12 12:22 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Hi,

Here's a quick patchset on top of vimproved's patchset to remove
`--reflink=auto` calls from the eclasses.  It does two things:

1. Update the eclass to assume PyPy3.10 (and therefore cease supporting
   PyPy3.9 as a target).

2. Strip LTO flags when distutils-r1 is used with cargo.eclass.

The second commit is a bit hacky but I think it's a good enough approach
that doesn't require us to strip LTO unconditionally or add yet another
control variable to tell the eclass if we're dealing with Rust or not.



Michał Górny (4):
  python-utils-r1.eclass: Require >=dev-python/pypy3-7.3.12
  python-utils-r1.eclass: pypy3 is now 3.10-only
  distutils-r1.eclass: Update addpredict for PyPy3.10
  distutils-r1.eclass: Disable LTO when using cargo.eclass

 eclass/distutils-r1.eclass    | 9 ++++++++-
 eclass/python-utils-r1.eclass | 7 +++----
 2 files changed, 11 insertions(+), 5 deletions(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-12 17:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12 12:22 [gentoo-dev] [PATCH 0/4] python eclasses: PyPy3.10 update + cargo LTO strip-flags Michał Górny
2023-07-12 12:22 ` [gentoo-dev] [PATCH 1/4] python-utils-r1.eclass: Require >=dev-python/pypy3-7.3.12 Michał Górny
2023-07-12 12:22 ` [gentoo-dev] [PATCH 2/4] python-utils-r1.eclass: pypy3 is now 3.10-only Michał Górny
2023-07-12 12:22 ` [gentoo-dev] [PATCH 3/4] distutils-r1.eclass: Update addpredict for PyPy3.10 Michał Górny
2023-07-12 12:22 ` [gentoo-dev] [PATCH 4/4] distutils-r1.eclass: Disable LTO when using cargo.eclass Michał Górny
2023-07-12 17:42   ` Ulrich Mueller
2023-07-12 17:48     ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox