-
-
Notifications
You must be signed in to change notification settings - Fork 654
Description
We refactor the code in sage_spkg_enable.m4
and sage_spkg_collect.m4
so that it becomes possible to add configure --disable-SPKG
options to disable standard packages. This also simplifies build/make/Makefile.in
slightly because it no longer has to make a distinction between standard and optional packages.
We demonstrate this by adding one such option, configure --disable-notebook
, which disables building the Jupyter notebook
package ... and all of its exclusive dependencies. This is useful for people who want to use the system Jupyter notebook -- the Jupyter kernel is still built and can be installed there.
The new option appears before the --enable...
options for optional packages.
We also make the configure help a bit more informative (by including the 1-line descriptions of the optional packages) and prettier.
$ ./configure --help
...
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
...
--enable-experimental-packages
allow installing experimental packages (default: no
= ask for user confirmation for each package)
--enable-download-from-upstream-url
allow downloading packages from their upstream URL
if they cannot be found on the Sage mirrors
--disable-notebook disable build of the Jupyter notebook and related
packages
--enable-4ti2={no|if_installed (default)|yes}
enable build and use of the optional package 4ti2: Algebraic, geometric
and combinatorial problems on linear spaces
* package info: ./sage -info 4ti2
--disable-4ti2 disable build and uninstall if previously installed by Sage in PREFIX;
same as --enable-4ti2=no
--enable-atlas={no|if_installed (default)|yes}
enable build and use of the optional package atlas: Automatically Tuned
Linear Algebra Software (BLAS implementation)
* package info: ./sage -info atlas
--disable-atlas disable build and uninstall if previously installed by Sage in PREFIX;
same as --enable-atlas=no
--enable-awali={no|if_installed (default)|yes}
enable build and use of the experimental package awali: Computation of/with
finite state machines
* package info: ./sage -info awali
--disable-awali disable build and uninstall if previously installed by Sage in PREFIX;
same as --enable-awali=no
This is also preparation for #30556 (packages that will not work without openssl), and for testing modularized installs (#30778, #29864).
CC: @jhpalmieri @orlitzky @slel @seblabbe @dimpase @embray @kliem
Component: build
Keywords: sd111
Author: Matthias Koeppe
Branch/Commit: 4916415
Reviewer: John Palmieri, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/30383