sagemath/sage

spkg-configure.m4 for flintqs

Closed this issue · 37 comments

This package only installs the QuadraticSieve executable, which needs to be in the PATH for qsieve() to work in Sage.

CC: @dimpase @embray @mkoeppe @kiwifb

Component: build: configure

Author: Michael Orlitzky

Branch/Commit: 5990654

Reviewer: Matthias Koeppe, Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/29430

New commits:

580c0eeTrac #29430: new spkg-configure.m4 for flintqs.

Commit: 580c0ee

comment:2

Needs distros/

Changed commit from 580c0ee to 2b1e41b

Branch pushed to git repo; I updated commit sha1. New commits:

2b1e41bTrac #29430: add distros/* information for flintqs.
comment:4

I added debian, fedora, and gentoo (I added the Gentoo package a few seconds before opening this ticket) based on repology.org results. Ubuntu and nix have packages too, but I don't see ubuntu.txt or nix.txt anywhere in the tree.

comment:5

ubuntu uses debian.txt

comment:6

See #29130 for nix

comment:7

Have you checked arch?

comment:8

on conda it's flintqs too.

comment:10

Fedora does not have flintqs

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

b343351Trac #29430: add distros/* information for flintqs.

Changed commit from 2b1e41b to b343351

comment:12

Force pushed a rename fedora -> conda. The arch.txt was already there (before I added the m4 file).

Reviewer: Matthias Koeppe, Dima Pasechnik

comment:13

lgtm - but add author's name

Author: Michael Orlitzky

comment:15

Let me run some tests first.

comment:16

well, I did test on Debian. There is basically one version of this packages around.

comment:18

Sorry, I'll have to add "mpir" to the DEPCHECK here. I didn't realize sage installed it in place of gmp with everything renamed mpir->gmp.

comment:19

you need to check for BOTH gmp and mpir, not just one of them.

comment:20

e.g.

SAGE_SPKG_CONFIGURE([givaro], [
    m4_pushdef([SAGE_GIVARO_MINVER],["40101"])
    SAGE_SPKG_DEPCHECK([gmp mpir], [
...
comment:21

Thanks, I see that now. I was rather confused about how all these packages explicitly looking for libgmp in ./configure could use MPIR in sage. I'm halfway through a build test for a ppl spkg-configure but as soon as it finishes I'll fix this up.

Changed commit from b343351 to 1fdea6a

comment:22

added this fix, rebased over latest beta


New commits:

6311b9cTrac #29430: new spkg-configure.m4 for flintqs.
db57b3fTrac #29430: add distros/* information for flintqs.
1fdea6aadding mpir into deps
comment:23

lgtm

comment:24

If this only installs an executable, I don't think we need any depcheck at all because there cannot be a library conflict.

comment:26

The QuadraticSieve executable is the only thing used, and if it exists on the system, it should work fine.. does anyone philosophically object if --without-system-gmp (or mpir) is ignored for some packages?

comment:27

Replying to @orlitzky:

does anyone philosophically object if --without-system-gmp (or mpir) is ignored for some packages?

I don't think this is a concern.

Changed commit from 1fdea6a to 5990654

comment:28

Ok, depcheck is gone.


New commits:

34a9dbfTrac #29430: new spkg-configure.m4 for flintqs.
5990654Trac #29430: add distros/* information for flintqs.

Changed branch from u/mjo/ticket/29430 to 5990654