-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At the end of configure, show installation hints for non-enabled optional packages separately #29372
Comments
comment:1
To clarify, they are not "enabled". But the hints certainly make no distinction between enabled and non-enabled packages. This ticket overlaps with #29363 - "At the end of configure, indicate which optional/experimental packages are configured to be installed". Help on this is very welcome! |
comment:2
Yes, the fact that an existing installation in SAGE_LOCAL influences configure's defaults is, of course, a quirk of Sage. |
comment:3
I think it's reasonable to use an existing spkg if one exists, and I guess that's why |
comment:4
No, |
comment:5
"Enabling" an optional package really just means to make sure it is installed as an spkg if the system does not provide it already. |
comment:6
Replying to @mkoeppe:
Oh, OK. That's less crazy to me, then. But in that case, |
comment:7
Replying to @orlitzky:
Yes, I agree that the hint should not be issued for disabled optional packages. Would you like to work on this improvement? Testing for the system packages, on the other hand, is a bit trickier because they might be dependencies of an enabled optional package. |
This comment has been minimized.
This comment has been minimized.
comment:12
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
Commit: |
New commits:
|
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Reviewer: Samuel Lelièvre |
comment:18
Thanks! |
This comment has been minimized.
This comment has been minimized.
comment:20
Setting priority to blocker to bring this ticket to the attention of the release bot. |
comment:21
Not a blocker |
comment:22
Could you please clarify whether you mean that you do not plan to merge this ticket before the 9.4 series? |
When running the configure script,
--enable-foo
and--disable-foo
should be used to control the installation of optional packages.Original wishlist item:
With respect to the system-package support, this means that
./configure
should not try to find any optional packages that I don't want, and it shouldn't tell me to install them. For example,I guess this is partly due to the default of
if_installed
for--enable-foo
(which I think is a bad default, but that's another matter), but the same thing happens if I explicitly pass--disable-gp2c
.In this ticket, as a milder change, we show the list of system packages corresponding to non-enabled optional packages separately.
To test this branch, remember to use
./bootstrap
before./configure
.Critical for Sage 9.3 because there is evidence that users get concerned when too many packages are suggested to be installed.
Related:
CC: @mkoeppe @dimpase @embray @slel @EmmanuelCharpentier
Component: build: configure
Author: Matthias Koeppe
Branch/Commit:
50b1b25
Reviewer: Samuel Lelièvre
Issue created by migration from https://trac.sagemath.org/ticket/29372
The text was updated successfully, but these errors were encountered: