public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/
Date: Sun, 26 Dec 2021 14:57:25 +0000 (UTC)	[thread overview]
Message-ID: <1640530577.7b7653340a8e949003c038a3bc6cb9c2703fbe4c.mjo@gentoo> (raw)

commit:     7b7653340a8e949003c038a3bc6cb9c2703fbe4c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 14:56:17 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 14:56:17 2021 +0000
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 <mjo <AT> 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


             reply	other threads:[~2021-12-26 14:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-26 14:57 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-29  0:23 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/ Michael Orlitzky
2025-04-28 17:49 Sam James
2024-08-20 14:13 Michael Orlitzky
2024-07-27 23:14 Michael Orlitzky
2023-02-07 19:33 Michael Orlitzky
2023-02-07 19:33 Michael Orlitzky
2022-12-20 21:18 Michael Orlitzky
2022-10-20 20:02 Michael Orlitzky
2022-10-20 20:02 Michael Orlitzky
2022-08-22 15:06 Michael Orlitzky
2022-08-06 13:14 Michael Orlitzky
2022-08-06 13:14 Michael Orlitzky
2022-06-13 11:31 Michael Orlitzky
2022-05-16  8:12 David Seifert
2022-01-30 14:37 Michael Orlitzky
2021-12-24 13:24 Michael Orlitzky

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=1640530577.7b7653340a8e949003c038a3bc6cb9c2703fbe4c.mjo@gentoo \
    --to=mjo@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