Сравнение pmix-4.2.2-r1 с pmix-5.0.4-r2

/usr/portage/sys-cluster/pmix/pmix-5.0.4-r2.ebuild 2026-11-03 20:01:06.227025368 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit flag-o-matic libtool
7

  
6 8
DESCRIPTION="The Process Management Interface (PMI) Exascale"
7 9
HOMEPAGE="https://openpmix.github.io/"
8 10
SRC_URI="https://github.com/openpmix/openpmix/releases/download/v${PV}/${P}.tar.bz2"
9 11

  
10 12
LICENSE="BSD"
11
SLOT="0"
12
KEYWORDS="~amd64 ~x86"
13
# https://github.com/openpmix/openpmix/issues/4322
14
#
15
# > the .so number is based on the official API symbols, not on all symbols in
16
# > the library. [...] Unfortunately, abidiff doesn't understand any of that - it's
17
# > just a blind symbol comparison. PMIx has quite a few symbols exposed because
18
# > PRRTE re-uses them. This saves on maintenance for us and causes no harm to
19
# > anyone else.
20
#
21
# So, impossible situation. Export subslot for prrte, instead. In theory, nothing else
22
# should need subslot rebuilds, as they say the official API is "never modified,
23
# forever".
24
SLOT="0/${PV}"
25
# No support for 32-bit systems as of 4.2.8 (https://github.com/open-mpi/ompi/issues/11248)
26
KEYWORDS="amd64 arm64 ppc64 -x86"
13 27
IUSE="debug +munge pmi"
14 28

  
15 29
RDEPEND="
......
22 36
"
23 37
DEPEND="${RDEPEND}"
24 38

  
39
src_prepare() {
40
	default
41
	elibtoolize
42
}
43

  
25 44
src_configure() {
26
	econf \
27
		$(use_enable debug) \
45
	# -Werror=lto-type-mismatch
46
	# https://github.com/openpmix/openpmix/issues/3350
47
	filter-lto
48

  
49
	local myeconfargs=(
50
		# These are alternatives. We must use the one in DEPEND, and also
51
		# prevent automagic fallbacks.
52
		--with-libevent
53
		--without-libev
54

  
55
		# tries to build both zlib and zlib-ng
56
		--without-zlibng
57

  
58
		$(use_enable debug)
28 59
		$(use_with munge)
60
	)
61

  
62
	econf "${myeconfargs[@]}"
29 63
}
30 64

  
31 65
src_install() {
32 66
	default
33 67

  
68
	find "${ED}" -name '*.la' -delete || die
69

  
34 70
	# bug #884765
35 71
	mv "${ED}"/usr/bin/pquery "${ED}"/usr/bin/pmix-pquery || die
36 72
}
Спасибо!