-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Add --enable-OPTIONALSPKG options to configure #28095
Comments
comment:1
+1 that's a good idea. |
comment:2
It seems tricky to generate AC_ARG_ENABLE macro invocations for all packages: it would have to be done during |
comment:3
well, we do things like collecting spkg-configure.m4 files for each package in ./bootstrap, nothing wrong with doing more at this stage... |
comment:4
Yes, you could do it during bootstrap, in principle. I have tried in the past to get m4 itself to loop over package directories and generate this stuff (as opposed to the current approach of generating bits of m4 in |
comment:5
Ticket retargeted after milestone closed |
New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:8
how is the actual installation of the enabled packages triggered? |
comment:9
Oh, the ticket is not ready for review. So far there is only a sufficiently pretty interface. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Now it's ready. |
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
comment:14
Anyone interested in reviewing this? |
This comment has been minimized.
This comment has been minimized.
Reviewer: Dima Pasechnik |
comment:17
Very nice! It works, but I don't like that ./configure does not output which packages are tagged for installation/deletion. |
comment:18
Also, I don't understand the difference between |
comment:20
Replying to @jhpalmieri:
Yes. |
comment:21
Replying to @dimpase:
That's caused by another misclassification, for historical reasons, of package types (like the one for
These should actually be |
comment:22
Fix on this ticket or follow up? |
comment:23
here, I guess. It would be good to check that this change in the package types won't cause broken builds, with both gmp and mpir getting installed... |
comment:25
Done. Works for me |
comment:27
Thanks for reviewing! |
comment:28
Interesting, I didn't know this syntax:
+1 from me. This is an idea that had crossed my mind before but I wasn't really sure how to go about it. Thanks! |
comment:29
Replying to @mkoeppe:
This has always annoyed me too. I tried to fix it a while ago but I think my approach to the problem was too complicated at the time. I think now we have a better solution. |
Changed branch from u/mkoeppe/add___enable_optionalspkg_options_to_configure to |
This ticket adds options such as
--enable-lrslib
,--enable-topcom
for all optional and experimental packages toconfigure
. As perconfigure --help
:Subsequent
make
will then install or uninstall these packages.This is an interface alternative to
sage -i OPTIONALSPKG
/make OPTIONALSPKG
andmake 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:
sage -i SPKG
for optional/experimental packages asconfigure --enable-SPKG && make build
#29113: Reimplementsage -i SPKG
asconfigure --enable-SPKG && make build
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
The text was updated successfully, but these errors were encountered: