From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/sleef/
Date: Mon, 23 Sep 2024 07:26:03 +0000 (UTC) [thread overview]
Message-ID: <1727076348.2f1e8ab3c0a7fc81092c4b363a408bad193016ee.tupone@gentoo> (raw)
commit: 2f1e8ab3c0a7fc81092c4b363a408bad193016ee
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 07:24:48 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 07:25:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f1e8ab3
dev-libs/sleef: add 3.7
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-libs/sleef/Manifest | 1 +
dev-libs/sleef/sleef-3.7.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/dev-libs/sleef/Manifest b/dev-libs/sleef/Manifest
index 7036f919d1c4..ce9477731f92 100644
--- a/dev-libs/sleef/Manifest
+++ b/dev-libs/sleef/Manifest
@@ -1,2 +1,3 @@
DIST sleef-3.5.1.tar.gz 1210108 BLAKE2B e10e23cb830252dd2ed34e24bfd79b5e812640572afedad899cccd462019c7a4e41c7b3b9f0ff5a77549fc45dbc51ae0ebeeada4c38f011cdac0262d2982ade8 SHA512 e8e4e5028db52998c6b82bd462622c08d670e4e85273327f1c3bdbd900827dd7793b217c2876ca1229b6f672493bb96f40140e14366390cccea0e6780689e128
DIST sleef-3.6.1.tar.gz 1628079 BLAKE2B b4d0c25d1f1425da8cc7ea038810b5bd9601502678c2e53695ff6b38aa2a8522f3f69eb5f949ff60b9e800935e7ab586005dc704c6337f257fa11f9c0569b2b5 SHA512 05ec78763fc89a0ad782b442aad643b75da8787bd7a69e3a2a55ece7883baa1d88a1a342768ccba46997f20eca976d625f24a8c424376d21d84aaa595804fba5
+DIST sleef-3.7.tar.gz 1610462 BLAKE2B 25d7cc2190108d1fafd756e5e38952411f553f01775d58d89dffebf34e873dc2067bbd21bab5f01c059943ef213e09aa61c58a2610e4545d8fd17e59b9ee428b SHA512 0f42c4132523f87c9e214bd9eb965e77b84c80e9a63588ed854796fccd2b9affb849a74e5f95f7b0161ba6281ca7ff509d510b42950dc38a6b8175cf6745ab07
diff --git a/dev-libs/sleef/sleef-3.7.ebuild b/dev-libs/sleef/sleef-3.7.ebuild
new file mode 100644
index 000000000000..c6a5257f0d06
--- /dev/null
+++ b/dev-libs/sleef/sleef-3.7.ebuild
@@ -0,0 +1,47 @@
+# 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="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_x86_fma4 cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? ( >=dev-libs/mpfr-4.2 )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.6.1-musl.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DSLEEF_DISABLE_FFTW=ON
+ -DSLEEF_BUILD_QUAD=ON
+ -DSLEEF_BUILD_TESTS=$(usex test ON OFF)
+ -DSLEEF_DISABLE_AVX=$(usex cpu_flags_x86_avx OFF ON)
+ -DSLEEF_DISABLE_AVX2=$(usex cpu_flags_x86_avx2 OFF ON)
+ -DSLEEF_DISABLE_AVX512F=$(usex cpu_flags_x86_avx512f OFF ON)
+ -DSLEEF_DISABLE_FMA4=$(usex cpu_flags_x86_fma4 OFF ON)
+ -DSLEEF_DISABLE_SSE2=$(usex cpu_flags_x86_sse2 OFF ON)
+ -DSLEEF_DISABLE_SSE4=$(usex cpu_flags_x86_sse4_1 OFF ON)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+
+ local myctestargs=(
+ -E "iut(y)?purec(fma)?_scalar"
+ )
+ cmake_src_test
+}
next reply other threads:[~2024-09-23 7:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 7:26 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-02 13:51 [gentoo-commits] repo/gentoo:master commit in: dev-libs/sleef/ Alfredo Tupone
2025-02-28 19:43 Alfredo Tupone
2024-12-20 20:54 Alfredo Tupone
2024-11-25 3:01 Sam James
2024-11-15 7:11 Alfredo Tupone
2024-09-15 17:36 Alfredo Tupone
2024-09-09 10:23 Alfredo Tupone
2024-09-08 16:14 Alfredo Tupone
2023-05-08 21:10 Alfredo Tupone
2023-04-07 19:14 Alfredo Tupone
2023-02-25 18:20 Arthur Zamarin
2023-02-25 18:19 Arthur Zamarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1727076348.2f1e8ab3c0a7fc81092c4b363a408bad193016ee.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox