Opened 16 months ago

Last modified 8 months ago

#30383 closed enhancement

"configure --disable-SPKG" for standard packages — at Version 11

Reported by: mkoeppe Owned by:
Priority: critical Milestone: sage-9.3
Component: build Keywords: sd111
Cc: jhpalmieri, mjo, slelievre, slabbe, dimpase, embray, gh-kliem Merged in:
Authors: Matthias Koeppe Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/new_package_type__optional_enabled_by_default (Commits, GitHub, GitLab) Commit: 182c1fd756d75029e2d1885df68af441a56cdac1
Dependencies: #29363 Stopgaps:

Status badges

Description (last modified by mkoeppe)

We add configure --disable-SPKG options to disable standard packages. (They will still be installed if they appear as dependencies.)

./configure --help shows these options before the --enable options for optional/experimental packages; and the help string is deliberately brief.

$ ./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-alabaster     disable standard package alabaster
  --disable-appnope       disable standard package appnope
  --disable-arb           disable standard package arb
  --disable-attrs         disable standard package attrs
  --disable-babel         disable standard package babel
  --disable-backcall      disable standard package backcall
...
  --disable-zeromq        disable standard package zeromq
  --disable-zipp          disable standard package zipp
  --disable-zlib          disable standard package zlib
  --disable-zn_poly       disable standard package zn_poly
  --disable-zope_interface
                          disable standard package zope_interface
  --enable-4ti2={no|if_installed|yes}
                          enable build and use of the optional package 4ti2
                          (default: "if_installed")
                          package information: ./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|yes}
                          enable build and use of the optional package atlas
                          (default: "if_installed")
                          package information: ./sage -info atlas

Needed for #30556 (packages that will not work without openssl), and probably will be helpful for testing modularized installs (#29864)

Change History (11)

comment:1 Changed 15 months ago by mkoeppe

  • Description modified (diff)

comment:2 Changed 15 months ago by mkoeppe

  • Cc mjo slelievre added

comment:3 Changed 15 months ago by mkoeppe

Suggestions for a better name for this new package type are welcome

comment:4 Changed 15 months ago by mkoeppe

Alternatively, we could also make it possible to disable any standard package.

comment:5 Changed 15 months ago by mkoeppe

  • Description modified (diff)
  • Summary changed from New package type: optional-enabled-by-default to "configure --disable-SPKG" for standard packages

comment:6 Changed 15 months ago by mkoeppe

  • Dependencies set to #29363

comment:7 Changed 15 months ago by mkoeppe

  • Branch set to u/mkoeppe/new_package_type__optional_enabled_by_default

comment:8 Changed 15 months ago by mkoeppe

  • Authors set to Matthias Koeppe
  • Commit set to 182c1fd756d75029e2d1885df68af441a56cdac1

New commits:

c73460cAdd options 'configure --disable-SPKG' for standard packages
22d7ae4m4/sage_spkg_*.m4: At the end of configure, indicate which optional/experimental packages are configured to be installed
bd6c109Merge branch 't/29363/at_the_end_of_configure__indicate_which_optional_experimental_packages_are_configured_to_be_installed' into t/30383/new_package_type__optional_enabled_by_default
3c98700Replace SAGE_STANDARD_PACKAGES by use of SAGE_OPTIONAL_INSTALLED_PACKAGES
182c1fdm4/sage_spkg_collect.m4: Reduce verbosity by removing 'does not support check for system package'

comment:9 Changed 15 months ago by mkoeppe

  • Status changed from new to needs_review

comment:10 Changed 15 months ago by mkoeppe

  • Description modified (diff)

comment:11 Changed 15 months ago by mkoeppe

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