summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-09-08 18:13:16 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-09-08 18:14:25 +0200
commitce95705e071ec0367d36f547c2733e1d04c3c5cc (patch)
tree0ce97e4c4ac5c66d72f8f1b68b1945b18ea44733 /dev-libs
parentsys-devel/clang-toolchain-symlinks: Keyword 18 mips, #939297 (diff)
downloadgentoo-ce95705e071ec0367d36f547c2733e1d04c3c5cc.tar.gz
gentoo-ce95705e071ec0367d36f547c2733e1d04c3c5cc.tar.bz2
gentoo-ce95705e071ec0367d36f547c2733e1d04c3c5cc.zip
dev-libs/sleef: add 3.6.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/sleef/Manifest1
-rw-r--r--dev-libs/sleef/sleef-3.6.1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/sleef/Manifest b/dev-libs/sleef/Manifest
index 7ca5bfa2e46b..7036f919d1c4 100644
--- a/dev-libs/sleef/Manifest
+++ b/dev-libs/sleef/Manifest
@@ -1 +1,2 @@
DIST sleef-3.5.1.tar.gz 1210108 BLAKE2B e10e23cb830252dd2ed34e24bfd79b5e812640572afedad899cccd462019c7a4e41c7b3b9f0ff5a77549fc45dbc51ae0ebeeada4c38f011cdac0262d2982ade8 SHA512 e8e4e5028db52998c6b82bd462622c08d670e4e85273327f1c3bdbd900827dd7793b217c2876ca1229b6f672493bb96f40140e14366390cccea0e6780689e128
+DIST sleef-3.6.1.tar.gz 1628079 BLAKE2B b4d0c25d1f1425da8cc7ea038810b5bd9601502678c2e53695ff6b38aa2a8522f3f69eb5f949ff60b9e800935e7ab586005dc704c6337f257fa11f9c0569b2b5 SHA512 05ec78763fc89a0ad782b442aad643b75da8787bd7a69e3a2a55ece7883baa1d88a1a342768ccba46997f20eca976d625f24a8c424376d21d84aaa595804fba5
diff --git a/dev-libs/sleef/sleef-3.6.1.ebuild b/dev-libs/sleef/sleef-3.6.1.ebuild
new file mode 100644
index 000000000000..9d490a1a98d0
--- /dev/null
+++ b/dev-libs/sleef/sleef-3.6.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022-2024 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 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? ( >=dev-libs/mpfr-4.2 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_FFTW=ON
+ -DBUILD_QUAD=ON
+ -DBUILD_TESTS=$(usex test ON OFF)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+
+ local myctestargs=(
+ -E "iut(y)?purec(fma)?_scalar"
+ )
+ cmake_src_test
+}