From d80b870c42fbe218389ffaf86f0f2a39404deca1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 24 Sep 2024 01:25:20 +0100 Subject: gentoo auto-resync : 24:09:2024 - 01:25:19 --- dev-libs/sleef/Manifest | 2 ++ dev-libs/sleef/sleef-3.7.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-libs/sleef/sleef-3.7.ebuild (limited to 'dev-libs/sleef') diff --git a/dev-libs/sleef/Manifest b/dev-libs/sleef/Manifest index 1ddd1752ec70..52e493cf7169 100644 --- a/dev-libs/sleef/Manifest +++ b/dev-libs/sleef/Manifest @@ -4,7 +4,9 @@ AUX sleef-3.5.1-riscv.patch 529 BLAKE2B ca2669ccae99ca413eb00082efea611186f9d620 AUX sleef-3.6.1-musl.patch 562 BLAKE2B 65b8f8182b3291b32b68f5ece742cb04fb4e302a4772337c5c1685fad7536d3b43a65b4f15d4e65d4e747008d96e29a24ec9b3fe17322f16b9c1cd24e29257dd SHA512 95c78ca346ad9b4bc7626778c648d815e8fcf996cdba3d93d1c04a370f4b2f3f5bb65162783bdeffbf02a018298c310be2a929691eb9ed2999b973910ef6a766 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 EBUILD sleef-3.5.1-r1.ebuild 807 BLAKE2B 6cf8be32ae29f07d3310941c6e6b00b03d5181424f12978fec990a5180c84384ce494b41db930cc371bb84cc1135902b49d2914737aa068274f255731083fb6d SHA512 d59aad93d3385f42cc8a79165c26f63762f02b2793a159a3e92d46b2ff13fc58455ede4af7b4135b7bf3499775946794055a1b7d78871f384c0072add4c5e810 EBUILD sleef-3.6.1-r1.ebuild 758 BLAKE2B 0cb85353f28251c7690b1abfc234ef0b06dbcaf3e70d1832313b33d81178c801425c63743b97b74093d87048ddc4ee8e84b3f65f20fc466789ebc5b2af40b809 SHA512 8b6e1314e496ebabfacdbbbbc8c86529bf763f30e63744e69586b280c2717d8d36bf742a083ffc7ac0213a62e9aaf3726111a79c3f7f30839db09c4a6f3525ac EBUILD sleef-3.6.1-r2.ebuild 1224 BLAKE2B 135d120162eb1a33b5a66b7f0e64ccd69fa2822137dc37d760995491b679249686f2ed683a2379f3b9a2bba04352f3806ad5b312f80532be8ac5a8f4883f7494 SHA512 eee2c4a1deeb58cfbee8f6def3e9fad86e542bb7861a712c576d8873fc8fc6c9aa153c1b7e3ccec5e5384ed93b0be8995af258cf8603c3d0888776dc82962f64 +EBUILD sleef-3.7.ebuild 1231 BLAKE2B b7b2c8ff3cd981cb727e6760939d8dceb50ed0632a74a32ee6b8af8d5e22d4850a7e97e9c1621dc2cbc276d026f1c7e44eda563b78bf361da895498c085a4df6 SHA512 2772eb6a87d7bc3be11fe7e990ac9b8173be33fde03f24cef5ff1ad87e4376f66494d102ce47007dcc12fc453d9bb6fa09e2048acfa4aa06345e77693c4d46f6 MISC metadata.xml 327 BLAKE2B 983705672ddaa295e873a6fe7a7e7caf7c4d3fdd7c587fa2bff53e457e580ad1958108931e50df7f27303aa75937a702f3cae3d830b3f34760b95f06ca15458a SHA512 8cc8e6126c425e73d9431937f2bedc7dbb68f294359beaf4923e4105284465a7cb4c678693afdf3a16469f9d1a846d7543b550bbd5d100f369a0f93b6bd90c7a 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 +} -- cgit v1.2.3