mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Update done using: ``` git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Plus reverts in sys-libs/minizip-ng and sys-libs/zlib-ng. Signed-off-by: Michał Górny <mgorny@gentoo.org>
59 lines
1.2 KiB
Bash
59 lines
1.2 KiB
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit flag-o-matic libtool
|
|
|
|
DESCRIPTION="The Process Management Interface (PMI) Exascale"
|
|
HOMEPAGE="https://openpmix.github.io/"
|
|
SRC_URI="https://github.com/openpmix/openpmix/releases/download/v${PV}/${P}.tar.bz2"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
# No support for 32-bit systems as of 4.2.8 (https://github.com/open-mpi/ompi/issues/11248)
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 -x86 ~amd64-linux"
|
|
IUSE="debug +munge pmi"
|
|
|
|
RDEPEND="
|
|
dev-libs/libevent:=
|
|
sys-apps/hwloc:=
|
|
sys-cluster/ucx
|
|
virtual/zlib:=
|
|
munge? ( sys-auth/munge )
|
|
pmi? ( !sys-cluster/slurm )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
default
|
|
elibtoolize
|
|
}
|
|
|
|
src_configure() {
|
|
# -Werror=lto-type-mismatch
|
|
# https://github.com/openpmix/openpmix/issues/3350
|
|
filter-lto
|
|
|
|
local myeconfargs=(
|
|
# These are alternatives. We must use the one in DEPEND, and also
|
|
# prevent automagic fallbacks.
|
|
--with-libevent
|
|
--without-libev
|
|
|
|
$(use_enable debug)
|
|
$(use_with munge)
|
|
)
|
|
|
|
econf "${myeconfargs[@]}"
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
find "${ED}" -name '*.la' -delete || die
|
|
|
|
# bug #884765
|
|
mv "${ED}"/usr/bin/pquery "${ED}"/usr/bin/pmix-pquery || die
|
|
}
|