diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2021-12-26 09:56:17 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2021-12-26 09:56:17 -0500 |
commit | 7b7653340a8e949003c038a3bc6cb9c2703fbe4c (patch) | |
tree | 37a761e40cd1c95717a925b56f50e2e7d17fe610 /sci-mathematics | |
parent | app-portage/portage-utils-0.93.2: bump for qlop -Ev regr, fix #816141 (diff) | |
download | gentoo-7b7653340a8e949003c038a3bc6cb9c2703fbe4c.tar.gz gentoo-7b7653340a8e949003c038a3bc6cb9c2703fbe4c.tar.bz2 gentoo-7b7653340a8e949003c038a3bc6cb9c2703fbe4c.zip |
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@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/primecount/primecount-7.2-r1.ebuild (renamed from sci-mathematics/primecount/primecount-7.2.ebuild) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sci-mathematics/primecount/primecount-7.2.ebuild b/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 |