commit:     99594b75e43dcb09056c07ffb3bd4270a916913d
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  8 01:15:04 2022 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 02:05:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99594b75

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 <AT> gentoo.org>

 .../{gmp-ecm-7.0.5.ebuild => gmp-ecm-7.0.5-r1.ebuild}   | 17 +++++------------
 sci-mathematics/gmp-ecm/metadata.xml                    |  3 ---
 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
similarity index 84%
rename from sci-mathematics/gmp-ecm/gmp-ecm-7.0.5.ebuild
rename to 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

Reply via email to