| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.9.0 | 8 | ~amd64 ~arm64 ~riscv | 0 |
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Implements vectorized versions of C standard math functions"
HOMEPAGE="https://sleef.org/"
SRC_URI="https://github.com/shibatch/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv"
IUSE="test"
RESTRICT="
!test? ( test )
x86? ( test )
"
DEPEND="
>=dev-cpp/tlfloat-1.15.0
"
BDEPEND="
test? (
>=dev-libs/mpfr-4.2
)
"
PATCHES=(
"${FILESDIR}"/${PN}-3.6.1-musl.patch
"${FILESDIR}"/${P}-cmake.patch
)
src_configure() {
local mycmakeargs=(
-DSLEEF_BUILD_QUAD=ON
-DSLEEF_BUILD_TESTS=$(usex test ON OFF)
-DSLEEF_DISABLE_FFTW=ON
-DSLEEF_DISABLE_OPENMP=ON
)
cmake_src_configure
}
src_test() {
local myctestargs=(
-E "iut(y)?purec(fma)?_scalar"
)
cmake_src_test
}
>=dev-cpp/tlfloat-1.15.0
test? ( >=dev-libs/mpfr-4.2 )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sleef-3.9.0.tar.gz | 1808227 bytes | https://github.com/shibatch/sleef/archive/refs/tags/3.9.0.tar.gz |