[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/, sci-mathematics/primecount/files/
commit: d67b9030c502912749bc458fea717f9bd3be16f4 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Jul 30 20:22:02 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Jul 30 20:28:25 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d67b9030 sci-mathematics/primecount: backport gcc-15 build fix Closes: https://bugs.gentoo.org/936498 Signed-off-by: Michael Orlitzky gentoo.org> .../files/primecount-7.13-gcc-15-buildfix.patch| 30 ++ ...count-7.13.ebuild => primecount-7.13-r1.ebuild} | 2 ++ 2 files changed, 32 insertions(+) diff --git a/sci-mathematics/primecount/files/primecount-7.13-gcc-15-buildfix.patch b/sci-mathematics/primecount/files/primecount-7.13-gcc-15-buildfix.patch new file mode 100644 index ..6f483ba401ce --- /dev/null +++ b/sci-mathematics/primecount/files/primecount-7.13-gcc-15-buildfix.patch @@ -0,0 +1,30 @@ +From a4512db281754a487314b64fadf4537f4620396d Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Tue, 30 Jul 2024 16:19:25 -0400 +Subject: [PATCH] include/libdivide.h: backport gcc-15 fix + +This is commit 572d2408 to upstream libdivide, backported to the copy +bundled with primecount. The issue is also fixed in primecount but +won't arrive until v7.14. +--- + include/libdivide.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/libdivide.h b/include/libdivide.h +index 3779ebd..7336efb 100644 +--- a/include/libdivide.h b/include/libdivide.h +@@ -2015,8 +2015,8 @@ public: + } + + bool operator==(const divider& other) const { +-return div.denom.magic == other.denom.magic && +- div.denom.more == other.denom.more; ++return div.denom.magic == other.div.denom.magic && ++ div.denom.more == other.div.denom.more; + } + + bool operator!=(const divider& other) const { +-- +2.44.2 + diff --git a/sci-mathematics/primecount/primecount-7.13.ebuild b/sci-mathematics/primecount/primecount-7.13-r1.ebuild similarity index 95% rename from sci-mathematics/primecount/primecount-7.13.ebuild rename to sci-mathematics/primecount/primecount-7.13-r1.ebuild index c6490b03ae75..2408ad36320b 100644 --- a/sci-mathematics/primecount/primecount-7.13.ebuild +++ b/sci-mathematics/primecount/primecount-7.13-r1.ebuild @@ -18,6 +18,8 @@ RESTRICT="!test? ( test )" DEPEND=">=sci-mathematics/primesieve-12.0:=" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${P}-gcc-15-buildfix.patch" ) + DOCS=( ChangeLog README.md
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 30f0165c7d521196df0daeecb165d25ee46b130c Author: Michael Orlitzky gentoo org> AuthorDate: Sat Jul 27 22:40:28 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Jul 27 23:12:17 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f0165c sci-mathematics/primecount: add 7.13 Closes: https://bugs.gentoo.org/936503 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/Manifest | 1 + sci-mathematics/primecount/primecount-7.13.ebuild | 53 +++ 2 files changed, 54 insertions(+) diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest index 1e26ee5dd234..cfec9e09faf2 100644 --- a/sci-mathematics/primecount/Manifest +++ b/sci-mathematics/primecount/Manifest @@ -1 +1,2 @@ +DIST primecount-7.13.tar.gz 431676 BLAKE2B a02ba71af2b545f2a89e83018c3e9f2ab6ad5e567e5e72e3a0e85ccc132f1bc54b7dcc8b51ccdb1e727f6edcf050a856cee15e4180cc46a54fa8c5fe834d8cd8 SHA512 836c181e586a691708049d3ba04672e1dd4922160e17b3b03737ea55512186d3a529e003af08ff2e78f7bf7349cce0819c98144cfb89bd8208e4bad8124ae17b DIST primecount-7.6.tar.gz 382074 BLAKE2B f665db8724b32b2f057db96fdd6421d7a996ed4bda7f43cd405e6c05b59abab8672407c41b6fafdd9c68dae3f51b65305112c0724c95ce3fdb33b9dbfaadfbff SHA512 643372d9a011dba8a49f21eabc00068b77a5ef5dc6d12e6b55230b97f14dc9d1d855bb7ad662beda548e4ff1396f1b06d473e2fe4b81e7dbe9926aaadc4da360 diff --git a/sci-mathematics/primecount/primecount-7.13.ebuild b/sci-mathematics/primecount/primecount-7.13.ebuild new file mode 100644 index ..c6490b03ae75 --- /dev/null +++ b/sci-mathematics/primecount/primecount-7.13.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Highly optimized CLI and library to count primes" +HOMEPAGE="https://github.com/kimwalisch/primecount; +SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/7" # subslot is first component of libprimecount.so version +KEYWORDS="~amd64" +IUSE="+executable openmp test" +RESTRICT="!test? ( test )" + +DEPEND=">=sci-mathematics/primesieve-12.0:=" +RDEPEND="${DEPEND}" + +DOCS=( + ChangeLog + README.md + doc/Credits.md + doc/Easy-Special-Leaves.md + doc/Hard-Special-Leaves.md + doc/Records.md + doc/References.md + doc/alpha-factor-dr.pdf + doc/alpha-factor-gourdon.pdf + doc/alpha-factor-lmo.pdf + doc/libprimecount.md +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local mycmakeargs=( + -DBUILD_LIBPRIMESIEVE="OFF" + -DBUILD_PRIMECOUNT="$(usex executable)" + -DBUILD_STATIC_LIBS="OFF" + -DBUILD_TESTS="$(usex test)" + -DWITH_OPENMP="$(usex openmp)" + ) + + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 00aca8ba0d0a6d9ebd3651ec9b4af5c4478e24d2 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Feb 7 19:30:50 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Feb 7 19:31:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00aca8ba sci-mathematics/primecount: drop 7.4 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/Manifest | 1 - sci-mathematics/primecount/primecount-7.4.ebuild | 54 2 files changed, 55 deletions(-) diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest index 108b8d583077..1e26ee5dd234 100644 --- a/sci-mathematics/primecount/Manifest +++ b/sci-mathematics/primecount/Manifest @@ -1,2 +1 @@ -DIST primecount-7.4.tar.gz 372374 BLAKE2B ca16004e1a1fe209452d1c4aa9d4dfe7816ff581ffbb9717ae9a8224815df0b672871ec3d74999a91c8ee50bcc3c43cea3dcb9ff999436544bed2c2f5fde SHA512 20b33a1c0d2338f422a0da8723bafd35689f9c93918c7dcf64068aee1cd5e03f41d0ef49e39a7e920828b478e8faeda4fea477dacca1145c852f24d1f5e6ab5b DIST primecount-7.6.tar.gz 382074 BLAKE2B f665db8724b32b2f057db96fdd6421d7a996ed4bda7f43cd405e6c05b59abab8672407c41b6fafdd9c68dae3f51b65305112c0724c95ce3fdb33b9dbfaadfbff SHA512 643372d9a011dba8a49f21eabc00068b77a5ef5dc6d12e6b55230b97f14dc9d1d855bb7ad662beda548e4ff1396f1b06d473e2fe4b81e7dbe9926aaadc4da360 diff --git a/sci-mathematics/primecount/primecount-7.4.ebuild b/sci-mathematics/primecount/primecount-7.4.ebuild deleted file mode 100644 index 457c9e552afa.. --- a/sci-mathematics/primecount/primecount-7.4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Highly optimized CLI and library to count primes" -HOMEPAGE="https://github.com/kimwalisch/primecount; -SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0/7" # subslot is first component of libprimecount.so version -KEYWORDS="amd64" -IUSE="cpu_flags_x86_popcnt +executable openmp test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-mathematics/primesieve-8.0:=" -RDEPEND="${DEPEND}" - -DOCS=( - ChangeLog - README.md - doc/Credits.md - doc/Easy-Special-Leaves.md - doc/Hard-Special-Leaves.md - doc/Records.md - doc/References.md - doc/alpha-factor-dr.pdf - doc/alpha-factor-gourdon.pdf - doc/alpha-factor-lmo.pdf - doc/libprimecount.md -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - local mycmakeargs=( - -DBUILD_LIBPRIMESIEVE="OFF" - -DBUILD_PRIMECOUNT="$(usex executable)" - -DBUILD_STATIC_LIBS="OFF" - -DBUILD_TESTS="$(usex test)" - -DWITH_OPENMP="$(usex openmp)" - -DWITH_POPCNT="$(usex cpu_flags_x86_popcnt)" - ) - - cmake_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 5724b860a7656aeca1098dbd28ed300b6c1b3dd6 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Feb 7 19:30:40 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Feb 7 19:31:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5724b860 sci-mathematics/primecount: stabilize 7.6 for amd64 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/primecount-7.6.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/primecount/primecount-7.6.ebuild b/sci-mathematics/primecount/primecount-7.6.ebuild index 4675e44b1d5d..7ea70f3af335 100644 --- a/sci-mathematics/primecount/primecount-7.6.ebuild +++ b/sci-mathematics/primecount/primecount-7.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD-2" SLOT="0/7" # subslot is first component of libprimecount.so version -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="cpu_flags_x86_popcnt +executable openmp test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 442b53f090f22d3816aa9ff58834aee0c0007130 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Dec 20 21:08:49 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Dec 20 21:17:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442b53f0 sci-mathematics/primecount: add 7.6 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/Manifest | 1 + sci-mathematics/primecount/primecount-7.6.ebuild | 54 2 files changed, 55 insertions(+) diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest index f9dc8e98b19c..108b8d583077 100644 --- a/sci-mathematics/primecount/Manifest +++ b/sci-mathematics/primecount/Manifest @@ -1 +1,2 @@ DIST primecount-7.4.tar.gz 372374 BLAKE2B ca16004e1a1fe209452d1c4aa9d4dfe7816ff581ffbb9717ae9a8224815df0b672871ec3d74999a91c8ee50bcc3c43cea3dcb9ff999436544bed2c2f5fde SHA512 20b33a1c0d2338f422a0da8723bafd35689f9c93918c7dcf64068aee1cd5e03f41d0ef49e39a7e920828b478e8faeda4fea477dacca1145c852f24d1f5e6ab5b +DIST primecount-7.6.tar.gz 382074 BLAKE2B f665db8724b32b2f057db96fdd6421d7a996ed4bda7f43cd405e6c05b59abab8672407c41b6fafdd9c68dae3f51b65305112c0724c95ce3fdb33b9dbfaadfbff SHA512 643372d9a011dba8a49f21eabc00068b77a5ef5dc6d12e6b55230b97f14dc9d1d855bb7ad662beda548e4ff1396f1b06d473e2fe4b81e7dbe9926aaadc4da360 diff --git a/sci-mathematics/primecount/primecount-7.6.ebuild b/sci-mathematics/primecount/primecount-7.6.ebuild new file mode 100644 index ..4675e44b1d5d --- /dev/null +++ b/sci-mathematics/primecount/primecount-7.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Highly optimized CLI and library to count primes" +HOMEPAGE="https://github.com/kimwalisch/primecount; +SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/7" # subslot is first component of libprimecount.so version +KEYWORDS="~amd64" +IUSE="cpu_flags_x86_popcnt +executable openmp test" +RESTRICT="!test? ( test )" + +DEPEND=">=sci-mathematics/primesieve-11.0:=" +RDEPEND="${DEPEND}" + +DOCS=( + ChangeLog + README.md + doc/Credits.md + doc/Easy-Special-Leaves.md + doc/Hard-Special-Leaves.md + doc/Records.md + doc/References.md + doc/alpha-factor-dr.pdf + doc/alpha-factor-gourdon.pdf + doc/alpha-factor-lmo.pdf + doc/libprimecount.md +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local mycmakeargs=( + -DBUILD_LIBPRIMESIEVE="OFF" + -DBUILD_PRIMECOUNT="$(usex executable)" + -DBUILD_STATIC_LIBS="OFF" + -DBUILD_TESTS="$(usex test)" + -DWITH_OPENMP="$(usex openmp)" + -DWITH_POPCNT="$(usex cpu_flags_x86_popcnt)" + ) + + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 616e4e2f954efa8a8157e700f40c16b27473e93a Author: Michael Orlitzky gentoo org> AuthorDate: Thu Oct 20 20:01:17 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Oct 20 20:01:17 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=616e4e2f sci-mathematics/primecount: drop 7.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/Manifest | 1 - sci-mathematics/primecount/primecount-7.3.ebuild | 54 2 files changed, 55 deletions(-) diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest index d9f757a35818..f9dc8e98b19c 100644 --- a/sci-mathematics/primecount/Manifest +++ b/sci-mathematics/primecount/Manifest @@ -1,2 +1 @@ -DIST primecount-7.3.tar.gz 360921 BLAKE2B 0d9ad7c791dba12b05e4c88703dc4bfc1f557a1443c8430f3921f1a6e99b740b437cb53f39e832d69c4148b597960b028e0f38e4f4d96e50434b1d020f4ea620 SHA512 56dcae60460c88368214e01f8e3618e6b61b13f2730bfd1f281721ef71d6136308ba6832e4bd25a1885e2c6142009c5772d6102f82c65e8522e990cb62c55e71 DIST primecount-7.4.tar.gz 372374 BLAKE2B ca16004e1a1fe209452d1c4aa9d4dfe7816ff581ffbb9717ae9a8224815df0b672871ec3d74999a91c8ee50bcc3c43cea3dcb9ff999436544bed2c2f5fde SHA512 20b33a1c0d2338f422a0da8723bafd35689f9c93918c7dcf64068aee1cd5e03f41d0ef49e39a7e920828b478e8faeda4fea477dacca1145c852f24d1f5e6ab5b diff --git a/sci-mathematics/primecount/primecount-7.3.ebuild b/sci-mathematics/primecount/primecount-7.3.ebuild deleted file mode 100644 index 617ab1e08c27.. --- a/sci-mathematics/primecount/primecount-7.3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Highly optimized CLI and library to count primes" -HOMEPAGE="https://github.com/kimwalisch/primecount; -SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0/7" # subslot is first component of libprimecount.so version -KEYWORDS="amd64" -IUSE="cpu_flags_x86_popcnt +executable openmp test" -RESTRICT="!test? ( test )" - -DEPEND="sci-mathematics/primesieve:=" -RDEPEND="${DEPEND}" - -DOCS=( - ChangeLog - README.md - doc/Credits.md - doc/Easy-Special-Leaves.md - doc/Hard-Special-Leaves.md - doc/Records.md - doc/References.md - doc/alpha-factor-dr.pdf - doc/alpha-factor-gourdon.pdf - doc/alpha-factor-lmo.pdf - doc/libprimecount.md -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - local mycmakeargs=( - -DBUILD_LIBPRIMESIEVE="OFF" - -DBUILD_PRIMECOUNT="$(usex executable)" - -DBUILD_STATIC_LIBS="OFF" - -DBUILD_TESTS="$(usex test)" - -DWITH_OPENMP="$(usex openmp)" - -DWITH_POPCNT="$(usex cpu_flags_x86_popcnt)" - ) - - cmake_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: edb2eb4243ad966f365ce0b55c6c91043776b4b1 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Oct 20 20:01:06 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Oct 20 20:01:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edb2eb42 sci-mathematics/primecount: stabilize 7.4 for amd64 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/primecount-7.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/primecount/primecount-7.4.ebuild b/sci-mathematics/primecount/primecount-7.4.ebuild index b96647e98b8f..457c9e552afa 100644 --- a/sci-mathematics/primecount/primecount-7.4.ebuild +++ b/sci-mathematics/primecount/primecount-7.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD-2" SLOT="0/7" # subslot is first component of libprimecount.so version -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="cpu_flags_x86_popcnt +executable openmp test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 988e3ef2f9cd8d54659fc4dc3df9b8fb078429b2 Author: Michael Orlitzky gentoo org> AuthorDate: Mon Aug 22 15:03:27 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Aug 22 15:05:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=988e3ef2 sci-mathematics/primecount: add 7.4 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/Manifest | 1 + sci-mathematics/primecount/primecount-7.4.ebuild | 54 2 files changed, 55 insertions(+) diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest index 658be43dc959..d9f757a35818 100644 --- a/sci-mathematics/primecount/Manifest +++ b/sci-mathematics/primecount/Manifest @@ -1 +1,2 @@ DIST primecount-7.3.tar.gz 360921 BLAKE2B 0d9ad7c791dba12b05e4c88703dc4bfc1f557a1443c8430f3921f1a6e99b740b437cb53f39e832d69c4148b597960b028e0f38e4f4d96e50434b1d020f4ea620 SHA512 56dcae60460c88368214e01f8e3618e6b61b13f2730bfd1f281721ef71d6136308ba6832e4bd25a1885e2c6142009c5772d6102f82c65e8522e990cb62c55e71 +DIST primecount-7.4.tar.gz 372374 BLAKE2B ca16004e1a1fe209452d1c4aa9d4dfe7816ff581ffbb9717ae9a8224815df0b672871ec3d74999a91c8ee50bcc3c43cea3dcb9ff999436544bed2c2f5fde SHA512 20b33a1c0d2338f422a0da8723bafd35689f9c93918c7dcf64068aee1cd5e03f41d0ef49e39a7e920828b478e8faeda4fea477dacca1145c852f24d1f5e6ab5b diff --git a/sci-mathematics/primecount/primecount-7.4.ebuild b/sci-mathematics/primecount/primecount-7.4.ebuild new file mode 100644 index ..b96647e98b8f --- /dev/null +++ b/sci-mathematics/primecount/primecount-7.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Highly optimized CLI and library to count primes" +HOMEPAGE="https://github.com/kimwalisch/primecount; +SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/7" # subslot is first component of libprimecount.so version +KEYWORDS="~amd64" +IUSE="cpu_flags_x86_popcnt +executable openmp test" +RESTRICT="!test? ( test )" + +DEPEND=">=sci-mathematics/primesieve-8.0:=" +RDEPEND="${DEPEND}" + +DOCS=( + ChangeLog + README.md + doc/Credits.md + doc/Easy-Special-Leaves.md + doc/Hard-Special-Leaves.md + doc/Records.md + doc/References.md + doc/alpha-factor-dr.pdf + doc/alpha-factor-gourdon.pdf + doc/alpha-factor-lmo.pdf + doc/libprimecount.md +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local mycmakeargs=( + -DBUILD_LIBPRIMESIEVE="OFF" + -DBUILD_PRIMECOUNT="$(usex executable)" + -DBUILD_STATIC_LIBS="OFF" + -DBUILD_TESTS="$(usex test)" + -DWITH_OPENMP="$(usex openmp)" + -DWITH_POPCNT="$(usex cpu_flags_x86_popcnt)" + ) + + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 585cf7c629e274126c5b3bb4887ccfb5dfcc6a3c Author: Michael Orlitzky gentoo org> AuthorDate: Sat Aug 6 13:09:18 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Aug 6 13:13:20 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=585cf7c6 sci-mathematics/primecount: stabilize 7.3 for amd64 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/primecount-7.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/primecount/primecount-7.3.ebuild b/sci-mathematics/primecount/primecount-7.3.ebuild index eb88741f1621..617ab1e08c27 100644 --- a/sci-mathematics/primecount/primecount-7.3.ebuild +++ b/sci-mathematics/primecount/primecount-7.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD-2" SLOT="0/7" # subslot is first component of libprimecount.so version -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="cpu_flags_x86_popcnt +executable openmp test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: aa24ec9a00d32320219926409db17f6c36dc02ec Author: Michael Orlitzky gentoo org> AuthorDate: Sat Aug 6 13:09:32 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Aug 6 13:13:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa24ec9a sci-mathematics/primecount: drop 7.2-r1 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/Manifest| 1 - .../primecount/primecount-7.2-r1.ebuild| 54 -- 2 files changed, 55 deletions(-) diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest index 5f86f3ae8775..658be43dc959 100644 --- a/sci-mathematics/primecount/Manifest +++ b/sci-mathematics/primecount/Manifest @@ -1,2 +1 @@ -DIST primecount-7.2.tar.gz 340799 BLAKE2B 5ce3661e322be363e2fe79de1dd134b5c3009269cbb10d36dc69bee4c23c9f41d2117b3ed7aa4c5f852e494832573c84a8d9c37cbe92cf80a5024bdec9b22c69 SHA512 df14929012434eddfab94410ba9165642094327f8abd139a6a1ba87e508bba56df91cb0dc9411e873e90a9aa4aa3ba4007396c930d593f5954be8c715fa26e84 DIST primecount-7.3.tar.gz 360921 BLAKE2B 0d9ad7c791dba12b05e4c88703dc4bfc1f557a1443c8430f3921f1a6e99b740b437cb53f39e832d69c4148b597960b028e0f38e4f4d96e50434b1d020f4ea620 SHA512 56dcae60460c88368214e01f8e3618e6b61b13f2730bfd1f281721ef71d6136308ba6832e4bd25a1885e2c6142009c5772d6102f82c65e8522e990cb62c55e71 diff --git a/sci-mathematics/primecount/primecount-7.2-r1.ebuild b/sci-mathematics/primecount/primecount-7.2-r1.ebuild deleted file mode 100644 index 617ab1e08c27.. --- a/sci-mathematics/primecount/primecount-7.2-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Highly optimized CLI and library to count primes" -HOMEPAGE="https://github.com/kimwalisch/primecount; -SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0/7" # subslot is first component of libprimecount.so version -KEYWORDS="amd64" -IUSE="cpu_flags_x86_popcnt +executable openmp test" -RESTRICT="!test? ( test )" - -DEPEND="sci-mathematics/primesieve:=" -RDEPEND="${DEPEND}" - -DOCS=( - ChangeLog - README.md - doc/Credits.md - doc/Easy-Special-Leaves.md - doc/Hard-Special-Leaves.md - doc/Records.md - doc/References.md - doc/alpha-factor-dr.pdf - doc/alpha-factor-gourdon.pdf - doc/alpha-factor-lmo.pdf - doc/libprimecount.md -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - local mycmakeargs=( - -DBUILD_LIBPRIMESIEVE="OFF" - -DBUILD_PRIMECOUNT="$(usex executable)" - -DBUILD_STATIC_LIBS="OFF" - -DBUILD_TESTS="$(usex test)" - -DWITH_OPENMP="$(usex openmp)" - -DWITH_POPCNT="$(usex cpu_flags_x86_popcnt)" - ) - - cmake_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 5a1a7b1619c27f64b2a9d8a861ac94300cb7695b Author: Michael Orlitzky gentoo org> AuthorDate: Mon Jun 13 11:20:59 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Jun 13 11:30:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a1a7b16 sci-mathematics/primecount: new upstream v7.3. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/Manifest | 1 + sci-mathematics/primecount/primecount-7.3.ebuild | 54 2 files changed, 55 insertions(+) diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest index f723765658e3..5f86f3ae8775 100644 --- a/sci-mathematics/primecount/Manifest +++ b/sci-mathematics/primecount/Manifest @@ -1 +1,2 @@ DIST primecount-7.2.tar.gz 340799 BLAKE2B 5ce3661e322be363e2fe79de1dd134b5c3009269cbb10d36dc69bee4c23c9f41d2117b3ed7aa4c5f852e494832573c84a8d9c37cbe92cf80a5024bdec9b22c69 SHA512 df14929012434eddfab94410ba9165642094327f8abd139a6a1ba87e508bba56df91cb0dc9411e873e90a9aa4aa3ba4007396c930d593f5954be8c715fa26e84 +DIST primecount-7.3.tar.gz 360921 BLAKE2B 0d9ad7c791dba12b05e4c88703dc4bfc1f557a1443c8430f3921f1a6e99b740b437cb53f39e832d69c4148b597960b028e0f38e4f4d96e50434b1d020f4ea620 SHA512 56dcae60460c88368214e01f8e3618e6b61b13f2730bfd1f281721ef71d6136308ba6832e4bd25a1885e2c6142009c5772d6102f82c65e8522e990cb62c55e71 diff --git a/sci-mathematics/primecount/primecount-7.3.ebuild b/sci-mathematics/primecount/primecount-7.3.ebuild new file mode 100644 index ..eb88741f1621 --- /dev/null +++ b/sci-mathematics/primecount/primecount-7.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Highly optimized CLI and library to count primes" +HOMEPAGE="https://github.com/kimwalisch/primecount; +SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/7" # subslot is first component of libprimecount.so version +KEYWORDS="~amd64" +IUSE="cpu_flags_x86_popcnt +executable openmp test" +RESTRICT="!test? ( test )" + +DEPEND="sci-mathematics/primesieve:=" +RDEPEND="${DEPEND}" + +DOCS=( + ChangeLog + README.md + doc/Credits.md + doc/Easy-Special-Leaves.md + doc/Hard-Special-Leaves.md + doc/Records.md + doc/References.md + doc/alpha-factor-dr.pdf + doc/alpha-factor-gourdon.pdf + doc/alpha-factor-lmo.pdf + doc/libprimecount.md +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local mycmakeargs=( + -DBUILD_LIBPRIMESIEVE="OFF" + -DBUILD_PRIMECOUNT="$(usex executable)" + -DBUILD_STATIC_LIBS="OFF" + -DBUILD_TESTS="$(usex test)" + -DWITH_OPENMP="$(usex openmp)" + -DWITH_POPCNT="$(usex cpu_flags_x86_popcnt)" + ) + + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: d2e8ea401edf0f3290c3bc3600df0bfa68418430 Author: David Seifert gentoo org> AuthorDate: Mon May 16 08:12:27 2022 + Commit: David Seifert gentoo org> CommitDate: Mon May 16 08:12:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e8ea40 sci-mathematics/primecount: [QA] use tc-check-openmp correctly Signed-off-by: David Seifert gentoo.org> sci-mathematics/primecount/primecount-7.2-r1.ebuild | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/primecount/primecount-7.2-r1.ebuild b/sci-mathematics/primecount/primecount-7.2-r1.ebuild index f84b7b7ea831..617ab1e08c27 100644 --- a/sci-mathematics/primecount/primecount-7.2-r1.ebuild +++ b/sci-mathematics/primecount/primecount-7.2-r1.ebuild @@ -8,6 +8,7 @@ inherit cmake toolchain-funcs DESCRIPTION="Highly optimized CLI and library to count primes" HOMEPAGE="https://github.com/kimwalisch/primecount; SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + LICENSE="BSD-2" SLOT="0/7" # subslot is first component of libprimecount.so version KEYWORDS="amd64" @@ -32,7 +33,11 @@ DOCS=( ) pkg_pretend() { - use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 6c12167effb341972d3e4e7602a42510c4e27ac9 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Jan 30 14:36:47 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Jan 30 14:36:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c12167e sci-mathematics/primecount: maintainer stabilize on amd64. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/primecount-7.2-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/primecount/primecount-7.2-r1.ebuild b/sci-mathematics/primecount/primecount-7.2-r1.ebuild index 4a994b461a06..f84b7b7ea831 100644 --- a/sci-mathematics/primecount/primecount-7.2-r1.ebuild +++ b/sci-mathematics/primecount/primecount-7.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/kimwalisch/primecount; SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0/7" # subslot is first component of libprimecount.so version -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="cpu_flags_x86_popcnt +executable openmp test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 7b7653340a8e949003c038a3bc6cb9c2703fbe4c Author: Michael Orlitzky gentoo org> AuthorDate: Sun Dec 26 14:56:17 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Dec 26 14:56:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b765334 sci-mathematics/primecount: new revision to fix popcnt usage. I completely forgot this was part of cpu_flags_x86. Now we disable it when the CPU does not support it. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> .../primecount/{primecount-7.2.ebuild => primecount-7.2-r1.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/primecount/primecount-7.2.ebuild b/sci-mathematics/primecount/primecount-7.2-r1.ebuild similarity index 91% rename from sci-mathematics/primecount/primecount-7.2.ebuild rename to sci-mathematics/primecount/primecount-7.2-r1.ebuild index 1e394a48459e..4a994b461a06 100644 --- a/sci-mathematics/primecount/primecount-7.2.ebuild +++ b/sci-mathematics/primecount/primecount-7.2-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD-2" SLOT="0/7" # subslot is first component of libprimecount.so version KEYWORDS="~amd64" -IUSE="+executable openmp test" +IUSE="cpu_flags_x86_popcnt +executable openmp test" RESTRICT="!test? ( test )" DEPEND="sci-mathematics/primesieve:=" @@ -42,6 +42,7 @@ src_configure() { -DBUILD_STATIC_LIBS="OFF" -DBUILD_TESTS="$(usex test)" -DWITH_OPENMP="$(usex openmp)" + -DWITH_POPCNT="$(usex cpu_flags_x86_popcnt)" ) cmake_src_configure
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
commit: 59700e9c437870c74b498e5f214571c4be5ea3a6 Author: Michael Orlitzky gentoo org> AuthorDate: Fri Dec 24 00:51:27 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Fri Dec 24 13:05:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59700e9c sci-mathematics/primecount: new fast CLI/library to count primes. This is a new dependency of SageMath. The SageMath ./configure script will detect primecount on the system and use it (rather than rebuilding a bundled copy) if installed. Based on the sage-on-gentoo ebuild contributed by François Bissey. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primecount/Manifest | 1 + sci-mathematics/primecount/metadata.xml | 24 sci-mathematics/primecount/primecount-7.2.ebuild | 48 3 files changed, 73 insertions(+) diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest new file mode 100644 index ..f723765658e3 --- /dev/null +++ b/sci-mathematics/primecount/Manifest @@ -0,0 +1 @@ +DIST primecount-7.2.tar.gz 340799 BLAKE2B 5ce3661e322be363e2fe79de1dd134b5c3009269cbb10d36dc69bee4c23c9f41d2117b3ed7aa4c5f852e494832573c84a8d9c37cbe92cf80a5024bdec9b22c69 SHA512 df14929012434eddfab94410ba9165642094327f8abd139a6a1ba87e508bba56df91cb0dc9411e873e90a9aa4aa3ba4007396c930d593f5954be8c715fa26e84 diff --git a/sci-mathematics/primecount/metadata.xml b/sci-mathematics/primecount/metadata.xml new file mode 100644 index ..524d8bf2ac66 --- /dev/null +++ b/sci-mathematics/primecount/metadata.xml @@ -0,0 +1,24 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +m...@gentoo.org + + + +frp.bis...@gmail.com +François Bissey + + +proxy-ma...@gentoo.org +Proxy Maintainers + + + +Build the primecount CLI executable + + + +kimwalisch/primecount + + diff --git a/sci-mathematics/primecount/primecount-7.2.ebuild b/sci-mathematics/primecount/primecount-7.2.ebuild new file mode 100644 index ..1e394a48459e --- /dev/null +++ b/sci-mathematics/primecount/primecount-7.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Highly optimized CLI and library to count primes" +HOMEPAGE="https://github.com/kimwalisch/primecount; +SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD-2" +SLOT="0/7" # subslot is first component of libprimecount.so version +KEYWORDS="~amd64" +IUSE="+executable openmp test" +RESTRICT="!test? ( test )" + +DEPEND="sci-mathematics/primesieve:=" +RDEPEND="${DEPEND}" + +DOCS=( + ChangeLog + README.md + doc/Credits.md + doc/Easy-Special-Leaves.md + doc/Hard-Special-Leaves.md + doc/Records.md + doc/References.md + doc/alpha-factor-dr.pdf + doc/alpha-factor-gourdon.pdf + doc/alpha-factor-lmo.pdf + doc/libprimecount.md +) + +pkg_pretend() { + use openmp && tc-check-openmp +} + +src_configure() { + local mycmakeargs=( + -DBUILD_LIBPRIMESIEVE="OFF" + -DBUILD_PRIMECOUNT="$(usex executable)" + -DBUILD_STATIC_LIBS="OFF" + -DBUILD_TESTS="$(usex test)" + -DWITH_OPENMP="$(usex openmp)" + ) + + cmake_src_configure +}