Changes between Version 11 and Version 25 of Ticket #30383


Ignore:
Timestamp:
03/08/21 19:10:00 (8 months ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30383

    • Property Cc slabbe added
    • Property Summary changed from "configure --disable-SPKG" for standard packages to Add "configure --disable-notebook"
    • Property Dependencies changed from #29363 to #31362, #31278
    • Property Keywords sd111 added
    • Property Commit changed from 182c1fd756d75029e2d1885df68af441a56cdac1 to 0a83740c1b3d12dc27a2e3807b7769e42906a2bf
  • Ticket #30383 – Description

    v11 v25  
    1 We add `configure --disable-SPKG` options to disable standard packages.  (They will still be installed if they appear as dependencies.)
     1We 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.
    22
    3 `./configure --help` shows these options before the `--enable` options for optional/experimental packages; and the help string is deliberately brief.
     3We 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.
     4
     5The new option appears before the `--enable...` options for optional packages.
     6
     7We also make the configure help a bit more informative and prettier.
     8
    49
    510{{{
     
    1722                          allow downloading packages from their upstream URL
    1823                          if they cannot be found on the Sage mirrors
    19   --disable-alabaster     disable standard package alabaster
    20   --disable-appnope       disable standard package appnope
    21   --disable-arb           disable standard package arb
    22   --disable-attrs         disable standard package attrs
    23   --disable-babel         disable standard package babel
    24   --disable-backcall      disable standard package backcall
    25 ...
    26   --disable-zeromq        disable standard package zeromq
    27   --disable-zipp          disable standard package zipp
    28   --disable-zlib          disable standard package zlib
    29   --disable-zn_poly       disable standard package zn_poly
    30   --disable-zope_interface
    31                           disable standard package zope_interface
    32   --enable-4ti2={no|if_installed|yes}
    33                           enable build and use of the optional package 4ti2
    34                           (default: "if_installed")
    35                           package information: ./sage -info 4ti2
    36   --disable-4ti2          disable build and uninstall if previously installed
    37                           by Sage in PREFIX; same as --enable-4ti2=no
    38   --enable-atlas={no|if_installed|yes}
    39                           enable build and use of the optional package atlas
    40                           (default: "if_installed")
    41                           package information: ./sage -info atlas
     24  --disable-notebook      disable build of the Jupyter notebook and related
     25                          packages
     26  --enable-4ti2={no|if_installed⁽ᵈᵉᶠᵃᵘˡᵗ⁾|yes}
     27                          enable build and use of the optional package 4ti2: Algebraic, geometric
     28                          and combinatorial problems on linear spaces
     29                          * package info: ./sage -info 4ti2
     30  --disable-4ti2          disable build and uninstall if previously installed by Sage in PREFIX;
     31                          same as --enable-4ti2=no
     32  --enable-atlas={no|if_installed⁽ᵈᵉᶠᵃᵘˡᵗ⁾|yes}
     33                          enable build and use of the optional package atlas: Automatically Tuned
     34                          Linear Algebra Software (BLAS implementation)
     35                          * package info: ./sage -info atlas
     36  --disable-atlas         disable build and uninstall if previously installed by Sage in PREFIX;
     37                          same as --enable-atlas=no
     38  --enable-awali={no|if_installed⁽ᵈᵉᶠᵃᵘˡᵗ⁾|yes}
     39                          enable build and use of the experimental package awali: Computation of/with
     40                          finite state machines
     41                          * package info: ./sage -info awali
     42  --disable-awali         disable build and uninstall if previously installed by Sage in PREFIX;
     43                          same as --enable-awali=no
    4244}}}
    4345
    4446
    45 Needed for #30556 (packages that will not work without openssl), and probably will be helpful for testing modularized installs (#29864)
     47This is also preparation for #30556 (packages that will not work without openssl), and for testing modularized installs (#30778, #29864).