summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2022-10-07 21:15:04 -0400
committerMichael Orlitzky <mjo@gentoo.org>2022-10-07 22:05:12 -0400
commit99594b75e43dcb09056c07ffb3bd4270a916913d (patch)
tree42291ea053d39f7183ad3524b4d5e4e2c2e8e595 /sci-mathematics/gmp-ecm
parentdev-libs/libtracefs: add 1.5.0 (diff)
downloadgentoo-99594b75e43dcb09056c07ffb3bd4270a916913d.tar.gz
gentoo-99594b75e43dcb09056c07ffb3bd4270a916913d.tar.bz2
gentoo-99594b75e43dcb09056c07ffb3bd4270a916913d.zip
sci-mathematics/gmp-ecm: new revision to drop USE=cuda support.
Our CUDA support doesn't work at the moment, and neither François nor I have access to the hardware. To avoid annoying users, we disable it until someone who has the hardware can tell us how to fix it. And while I'm deleting things... we say goodbye to static-libs, too. They aren't generally useful to end users. Closes: https://bugs.gentoo.org/873289 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics/gmp-ecm')
-rw-r--r--sci-mathematics/gmp-ecm/gmp-ecm-7.0.5-r1.ebuild (renamed from sci-mathematics/gmp-ecm/gmp-ecm-7.0.5.ebuild)17
-rw-r--r--sci-mathematics/gmp-ecm/metadata.xml3
2 files changed, 5 insertions, 15 deletions
diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.5.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.5-r1.ebuild
index 42feb39cf26a..8470285a6df1 100644
--- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.5.ebuild
+++ b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.5-r1.ebuild
@@ -14,16 +14,13 @@ SRC_URI="https://gitlab.inria.fr/zimmerma/ecm/uploads/89f6f0d65d3e980cef33dc9220
LICENSE="GPL-3 LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~ppc-macos ~x64-macos"
-IUSE="cuda +custom-tune openmp static-libs cpu_flags_x86_sse2"
+IUSE="+custom-tune openmp cpu_flags_x86_sse2"
-DEPEND="dev-libs/gmp:=
- cuda? (
- dev-util/nvidia-cuda-toolkit
- x11-drivers/nvidia-drivers
- )
-"
+DEPEND="dev-libs/gmp:="
RDEPEND="${DEPEND}"
-# xsltproc is used to produce the manppage in combination with the appropriate stylesheet
+
+# xsltproc is used to produce the manppage in combination with the
+# appropriate stylesheet
BDEPEND="dev-libs/libxslt
app-text/docbook-xsl-stylesheets"
@@ -52,16 +49,12 @@ src_compile() {
src_configure() {
econf \
--enable-shared \
- $(use_enable static-libs static) \
$(use_enable openmp) \
- $(use_enable cuda gpu) \
$(use_enable cpu_flags_x86_sse2 sse2) \
$(use_enable custom-tune asm-redc)
}
src_install() {
default
-
- # remove .la file
find "${ED}" -name '*.la' -delete || die
}
diff --git a/sci-mathematics/gmp-ecm/metadata.xml b/sci-mathematics/gmp-ecm/metadata.xml
index 3723f0d56e48..e89f3c570a87 100644
--- a/sci-mathematics/gmp-ecm/metadata.xml
+++ b/sci-mathematics/gmp-ecm/metadata.xml
@@ -16,9 +16,6 @@
</maintainer>
<use>
- <flag name="cuda">
- Use NVidia's cuda toolkit for computations
- </flag>
<flag name="custom-tune">
Improve performance of some operations by selecting
machine-specific defaults