Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spkg-configure.m4 for flintqs #29430

Closed
orlitzky opened this issue Mar 30, 2020 · 37 comments
Closed

spkg-configure.m4 for flintqs #29430

orlitzky opened this issue Mar 30, 2020 · 37 comments

Comments

@orlitzky
Copy link
Contributor

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

@orlitzky orlitzky added this to the sage-9.1 milestone Mar 30, 2020
@orlitzky
Copy link
Contributor Author

Branch: u/mjo/ticket/29430

@orlitzky
Copy link
Contributor Author

New commits:

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

@orlitzky
Copy link
Contributor Author

Commit: 580c0ee

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 30, 2020

comment:2

Needs distros/

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 30, 2020

Changed commit from 580c0ee to 2b1e41b

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 30, 2020

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

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

@orlitzky
Copy link
Contributor Author

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.

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 30, 2020

comment:5

ubuntu uses debian.txt

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 30, 2020

comment:6

See #29130 for nix

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 30, 2020

comment:7

Have you checked arch?

@dimpase
Copy link
Member

dimpase commented Mar 30, 2020

comment:8

on conda it's flintqs too.

@dimpase
Copy link
Member

dimpase commented Mar 30, 2020

comment:9

and on arch, cf https://www.archlinux.org/packages/community/x86_64/flintqs/

@dimpase
Copy link
Member

dimpase commented Mar 30, 2020

comment:10

Fedora does not have flintqs

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 30, 2020

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

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

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 30, 2020

Changed commit from 2b1e41b to b343351

@orlitzky
Copy link
Contributor Author

comment:12

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

@dimpase
Copy link
Member

dimpase commented Mar 30, 2020

Reviewer: Matthias Koeppe, Dima Pasechnik

@dimpase
Copy link
Member

dimpase commented Mar 30, 2020

comment:13

lgtm - but add author's name

@orlitzky
Copy link
Contributor Author

Author: Michael Orlitzky

@orlitzky
Copy link
Contributor Author

orlitzky commented Apr 3, 2020

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.

@dimpase
Copy link
Member

dimpase commented Apr 3, 2020

comment:19

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

@dimpase
Copy link
Member

dimpase commented Apr 3, 2020

comment:20

e.g.

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

@orlitzky
Copy link
Contributor Author

orlitzky commented Apr 3, 2020

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.

@dimpase
Copy link
Member

dimpase commented Apr 3, 2020

Changed commit from b343351 to 1fdea6a

@dimpase
Copy link
Member

dimpase commented Apr 3, 2020

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

@dimpase
Copy link
Member

dimpase commented Apr 3, 2020

Changed branch from u/mjo/ticket/29430 to public/packages/flintqs-config

@dimpase
Copy link
Member

dimpase commented Apr 3, 2020

comment:23

lgtm

@mkoeppe
Copy link
Contributor

mkoeppe commented Apr 3, 2020

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.

@orlitzky
Copy link
Contributor Author

orlitzky commented Apr 3, 2020

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?

@mkoeppe
Copy link
Contributor

mkoeppe commented Apr 3, 2020

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.

@orlitzky
Copy link
Contributor Author

orlitzky commented Apr 3, 2020

Changed branch from public/packages/flintqs-config to u/mjo/ticket/29430

@orlitzky
Copy link
Contributor Author

orlitzky commented Apr 3, 2020

Changed commit from 1fdea6a to 5990654

@orlitzky
Copy link
Contributor Author

orlitzky commented Apr 3, 2020

comment:28

Ok, depcheck is gone.


New commits:

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

@vbraun
Copy link
Member

vbraun commented Apr 9, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants