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@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-26 14:46:51 +02:00
parent a982ad56b8
commit f91c26c045
4 changed files with 56 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Michał Górny <mgorny@gentoo.org> (2025-09-28)
# Required DT_AUXILIARY support in the dynamic linker.
sci-libs/blas-lapack-aux-wrappers
# PPN-SD <nicolas.parlant@parhuet.fr> (2025-07-28)
# Bundled pcap-thread, not ported to musl
# bug #713498, https://github.com/DNS-OARC/pcap-thread/issues/128

View File

@@ -0,0 +1 @@
DIST blas-lapack-aux-wrapper-0.tar.xz 8356 BLAKE2B 765c1efad487d449064892ba8213232b245cb33159dcc35c3fda2552f72d8097ff8e21e711b81c4598a9c76a6ce2314fd86a5a1f171917f079ddb008d5547d64 SHA512 412662a79f2c01a12a0ac4e656710675487036172704ab88093f04626c5adb4770503b65184ce8546ac10d8b522ee2241cb6e638ccfc10a005bf6d55597a3830

View File

@@ -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
}

View File

@@ -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>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
<use>
<flag name="index64">Create ILP64 wrappers as well</flag>
</use>
</pkgmetadata>