commit: f91c26c045789dc929e976af339d6361e1f790ea Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Sep 26 12:46:51 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Sep 28 18:19:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f91c26c0
sci-libs/blas-lapack-aux-wrapper: New package, v0 A new package to install BLAS & LAPACK library wrappers that make it possible to use FlexiBLAS while creating Netlib-compatible NEEDED entries. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> profiles/features/musl/package.mask | 4 +++ sci-libs/blas-lapack-aux-wrapper/Manifest | 1 + .../blas-lapack-aux-wrapper-0.ebuild | 40 ++++++++++++++++++++++ sci-libs/blas-lapack-aux-wrapper/metadata.xml | 11 ++++++ 4 files changed, 56 insertions(+) diff --git a/profiles/features/musl/package.mask b/profiles/features/musl/package.mask index 0e745d52990c..653d0b7c7e69 100644 --- a/profiles/features/musl/package.mask +++ b/profiles/features/musl/package.mask @@ -1,6 +1,10 @@ # Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Michał Górny <[email protected]> (2025-09-28) +# Required DT_AUXILIARY support in the dynamic linker. +sci-libs/blas-lapack-aux-wrappers + # PPN-SD <[email protected]> (2025-07-28) # Bundled pcap-thread, not ported to musl # bug #713498, https://github.com/DNS-OARC/pcap-thread/issues/128 diff --git a/sci-libs/blas-lapack-aux-wrapper/Manifest b/sci-libs/blas-lapack-aux-wrapper/Manifest new file mode 100644 index 000000000000..4cf768a27fe8 --- /dev/null +++ b/sci-libs/blas-lapack-aux-wrapper/Manifest @@ -0,0 +1 @@ +DIST blas-lapack-aux-wrapper-0.tar.xz 8356 BLAKE2B 765c1efad487d449064892ba8213232b245cb33159dcc35c3fda2552f72d8097ff8e21e711b81c4598a9c76a6ce2314fd86a5a1f171917f079ddb008d5547d64 SHA512 412662a79f2c01a12a0ac4e656710675487036172704ab88093f04626c5adb4770503b65184ce8546ac10d8b522ee2241cb6e638ccfc10a005bf6d55597a3830 diff --git a/sci-libs/blas-lapack-aux-wrapper/blas-lapack-aux-wrapper-0.ebuild b/sci-libs/blas-lapack-aux-wrapper/blas-lapack-aux-wrapper-0.ebuild new file mode 100644 index 000000000000..8644113f8079 --- /dev/null +++ b/sci-libs/blas-lapack-aux-wrapper/blas-lapack-aux-wrapper-0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) + +inherit meson python-any-r1 + +DESCRIPTION="BLAS/LAPACK wrappers for FlexiBLAS" +HOMEPAGE="https://gitweb.gentoo.org/proj/blas-lapack-aux-wrapper.git/" +SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="index64" + +RDEPEND=" + !sci-libs/lapack[-flexiblas(-)] + sci-libs/flexiblas:=[index64(-)?] +" +DEPEND=" + ${RDEPEND} + sci-libs/lapack:=[flexiblas(-),index64?,lapacke] +" +BDEPEND=" + ${PYTHON_DEPS} +" + +# we do not call the compiler, only the linker +QA_FLAGS_IGNORED=".*" + +src_configure() { + local emesonargs=( + -Dilp64=$(usex index64 true false) + ) + + meson_src_configure +} diff --git a/sci-libs/blas-lapack-aux-wrapper/metadata.xml b/sci-libs/blas-lapack-aux-wrapper/metadata.xml new file mode 100644 index 000000000000..ecbab1c9339f --- /dev/null +++ b/sci-libs/blas-lapack-aux-wrapper/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Michał Górny</name> + </maintainer> + <use> + <flag name="index64">Create ILP64 wrappers as well</flag> + </use> +</pkgmetadata>
