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
base packages except configure should be standard; gcc optional #18441
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:4
Hello Jeroen! I obviously have nothing against what you plan on doing, and I will probably give you a confirmation that what you want to do makes sense: the reason why I created this 'base' category is that indeed not all packages were listed in the "Standard packages" list in the (former) build/install script. Some, like configure, bzip2 and others, were handled differently. In particular, all standard packages appear in the 'all-sage' Makefile rule, while the base ones do not. That's the only reason. I know that I do not know enough about how this all works to change the Makefile's behaviour, so I kept trying to write scripts that generate a Makefile equivalent to the former version. Thus 'basic' packages, which you can of course remove as you know what you are doing far better than me. Nathann |
comment:5
Replying to @nathanncohen:
That doesn't really matter. If those packages are dependencies of a standard package, they will be built anyway. So adding them to the |
comment:6
Oh, cool. That will simplify the code indeed, then. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Nathann Cohen |
comment:14
Okay that's smart: we do not have to differentiate so often the standard/optional packages, we can just generate the rules and if some are never called, well, we do not have to care. Much cleaner code as a result, thanks! Was it in 'needs_review'? If so, you can switch it to Nathann |
comment:15
I'm still testing the ticket. I am currently doing a |
comment:16
Works for me! Nathann |
comment:17
Dupe of #18431. |
Changed reviewer from Nathann Cohen to Jeroen Demeyer, Nathann Cohen |
Changed author from Jeroen Demeyer to none |
There is really no reason to make a difference between
base
andstandard
packages, except for the only truly "base" packageconfigure
. Andgcc
isn't needed for Sage, so it should be optional.Also make various changes to #18431:
prereq
before other packages, remove explicit dependencies onprereq
.cat >&5 "# Standard packages"
filtered_packages_list
function.build/Makefile
.$(INST)/$(SAGE_MP_LIBRARY)
Depends on #18431
CC: @nathanncohen
Component: build
Branch/Commit: u/jdemeyer/base_packages_except_configure_should_be_standard @
f83b0c4
Reviewer: Jeroen Demeyer, Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/18441
The text was updated successfully, but these errors were encountered: