Skip to content

Add --enable-OPTIONALSPKG options to configure #28095

@mkoeppe

Description

@mkoeppe

This ticket adds options such as --enable-lrslib, --enable-topcom for all optional and experimental packages to configure. As per configure --help:

  ...
  --enable-lie={no|if_installed|yes}
                          enable build and use of the experimental package lie
                          (default: "if_installed")
                          package information: ./sage -info lie
  --disable-lie           disable build and uninstall if previously installed
                          by Sage in PREFIX; same as --enable-lie=no
  ...

Subsequent make will then install or uninstall these packages.

This is an interface alternative to sage -i OPTIONALSPKG / make OPTIONALSPKG and make OPTIONALSPKG-clean.

This will simplify installations of sage with a list of optional packages.

(This was previously discussed in #21538, which did not clearly enough distinguish this proposal from the topic of using system packages, #27567.)

Follow-up:

CC: @dimpase @embray @saraedum @jhpalmieri

Component: build: configure

Author: Matthias Koeppe

Branch/Commit: 4ed7b05

Reviewer: Dima Pasechnik

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions