Opened 3 years ago

Last modified 4 months ago

#27330 new task

Try to use as many system packages as possible — at Version 76

Reported by: embray Owned by:
Priority: major Milestone: sage-9.7
Component: build: configure Keywords: spkg-configure, sd111
Cc: tmonteil, mjo, gh-timokau, fbissey, isuruf, mmezzarobba, thansen, gh-tobiasdiez Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by mjo)

#24919 implemented a mechanism for checking for checking for sagelib's direct and indirect dependencies at the time of running the main ./configure script. This was already done in an ad-hoc manner for a handful of packages (e.g. gcc, git, yasm, curl), but we wanted to be able to do the same for other packages, especially those that are common on Linux-like systems.

This has now been implemented for many other packages, or is in the process of being implemented. Those packages are listed below. However, there are many others yet to be done, and this ticket will attempt to list them in some rough order of priority. Unfortunately there is still not good documentation for how to implement these configure-time dependency checks. The documentation question is tracked at #26668.

Already Done

The following packages already have spkg-configure.m4 checks that are working on most or all supported platforms:

In Progress

The following packages have in-progress tickets to provide configure-time detection on the system:

Have Tickets

The following packages have tickets for their conversions, but don't have working prototypes (i.e. branches) yet:

  • BLAS (atlas and other non-openblas): resolving how to handle finding a usable BLAS should be one of the highest priorities; it faces many of the same issues we faced with MPIR/GMP in #27212, but perhaps with even more complexity). One can already use system's openblas, though (#27870)
  • gc (#28991)
  • iml (#27272)
  • lrslib (#27804)
  • python2/3 (#27824) this one is of course a very special case; see the ticket for details.

No Tickets yet

  • bliss
  • cypari (depends on pari)
  • singular
  • gap (using the system GAP is obviously desirable, but non-trivial, esp. now that we need a working libgap)
  • zn_poly
  • ecl
  • ppl
  • planarity
  • linbox
  • libhomfly
  • libbraiding
  • brial

Other high priority packages:

  • boost_cropped / boost (many systems should already have boost headers available)
  • maxima
  • numpy
  • scipy

Bug-fixing

A number of bugs/deficiencies has been uncovered in spkg-configure.m4 files and related configuration, and a number of tickets opened/closed

Change History (76)

comment:1 Changed 3 years ago by embray

Note: The list of packages in the description is not yet exhaustive; please add others that are missing as you see fit and/or reprioritize. This is just a rough sketch.

comment:2 Changed 3 years ago by embray

  • Description modified (diff)

#27271 is the ticket for ecm.

comment:3 Changed 3 years ago by tmonteil

  • Cc tmonteil added

comment:4 Changed 3 years ago by mjo

  • Cc mjo added

comment:5 Changed 3 years ago by gh-timokau

  • Cc gh-timokau added

comment:6 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:7 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:8 Changed 3 years ago by dimpase

  • Description modified (diff)

There is also #27373, which concerns packages that change build/run environment, e.g. mpir/gmp/mpfr, that should be resolved in some way.

comment:9 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:10 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:11 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:12 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:13 Changed 3 years ago by embray

  • Milestone changed from sage-8.7 to sage-pending

Removing most of the rest of my open tickets out of the 8.7 milestone, which should be closed.

comment:14 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:15 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:16 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:17 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:18 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:19 Changed 3 years ago by dimpase

  • Cc fbissey added
  • Description modified (diff)

comment:20 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:21 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:22 Changed 3 years ago by mjo

  • Description modified (diff)

comment:23 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:24 Changed 3 years ago by embray

  • Description modified (diff)

comment:25 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:26 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:27 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:28 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:29 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:30 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:31 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:32 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:33 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:34 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:35 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:36 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:37 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:38 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:39 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:40 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:41 Changed 3 years ago by isuruf

  • Cc isuruf added

comment:42 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:43 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:44 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:45 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:46 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:47 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:48 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:49 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:50 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:51 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:52 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:53 Changed 3 years ago by jdemeyer

  • Description modified (diff)

comment:54 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:55 Changed 3 years ago by mmezzarobba

  • Cc mmezzarobba added
  • Description modified (diff)

comment:56 Changed 3 years ago by mmezzarobba

  • Description modified (diff)

comment:57 Changed 3 years ago by mmezzarobba

  • Description modified (diff)

comment:58 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:59 Changed 3 years ago by embray

  • Description modified (diff)

comment:60 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:61 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:62 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:63 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:64 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:65 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:66 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:67 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:68 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:69 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:70 Changed 3 years ago by embray

Nice to see so much progress on this. I'm sorry I haven't had more time to help, but I'm glad to see that the infrastructure I put in place has continued to be useful as support for more packages is added.

comment:71 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:72 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:73 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:74 Changed 3 years ago by mjo

  • Description modified (diff)

comment:75 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:76 Changed 3 years ago by mjo

  • Description modified (diff)
Note: See TracTickets for help on using tickets.