diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-16 12:11:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-16 12:11:35 +0100 |
commit | b66ecfb4dc09ba76e37787df2f7df1a78c3c1cc9 (patch) | |
tree | 884bce771a1bba8b311dfffbde4acdad07bf2c54 /dev-libs/sleef | |
parent | 08e318096831eb3aae369910ba75e27f59367e2f (diff) |
gentoo auto-resync : 16:09:2024 - 12:11:35
Diffstat (limited to 'dev-libs/sleef')
-rw-r--r-- | dev-libs/sleef/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/sleef/sleef-3.6.1-r2.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/sleef/Manifest b/dev-libs/sleef/Manifest index 6cb44bb2ffe2..1ddd1752ec70 100644 --- a/dev-libs/sleef/Manifest +++ b/dev-libs/sleef/Manifest @@ -6,4 +6,5 @@ DIST sleef-3.5.1.tar.gz 1210108 BLAKE2B e10e23cb830252dd2ed34e24bfd79b5e81264057 DIST sleef-3.6.1.tar.gz 1628079 BLAKE2B b4d0c25d1f1425da8cc7ea038810b5bd9601502678c2e53695ff6b38aa2a8522f3f69eb5f949ff60b9e800935e7ab586005dc704c6337f257fa11f9c0569b2b5 SHA512 05ec78763fc89a0ad782b442aad643b75da8787bd7a69e3a2a55ece7883baa1d88a1a342768ccba46997f20eca976d625f24a8c424376d21d84aaa595804fba5 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 MISC metadata.xml 327 BLAKE2B 983705672ddaa295e873a6fe7a7e7caf7c4d3fdd7c587fa2bff53e457e580ad1958108931e50df7f27303aa75937a702f3cae3d830b3f34760b95f06ca15458a SHA512 8cc8e6126c425e73d9431937f2bedc7dbb68f294359beaf4923e4105284465a7cb4c678693afdf3a16469f9d1a846d7543b550bbd5d100f369a0f93b6bd90c7a diff --git a/dev-libs/sleef/sleef-3.6.1-r2.ebuild b/dev-libs/sleef/sleef-3.6.1-r2.ebuild new file mode 100644 index 000000000000..a96143b5fae7 --- /dev/null +++ b/dev-libs/sleef/sleef-3.6.1-r2.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}"/${P}-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 +} |