-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Meta-ticket: Update other packages to using the sage-dist-helpers functions + DESTDIR where applicable #24024
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:4
Note that for #22509 there will have be a second round of updates to DESTDIR support for some packages that manually copy files to locations in |
This comment has been minimized.
This comment has been minimized.
comment:6
Added classifications to several of the packages that still need to be converted over to sdh-helpers/SAGE_DESTDIR support. Still not an exhaustive list. |
This comment has been minimized.
This comment has been minimized.
comment:8
cysignals should be easy... it is only unusual because it uses autoconf in a Python package but |
comment:9
Replying to @jdemeyer:
Indeed. Most of them are easy and are already done in my old branch for this. The only reason many of these packages were separated out from #24025 is that they required one or two more other changes. |
comment:10
At this point, now that DESTDIR support is available, there's no reason not to handle adding DESTDIR support, at least at a basic level, at the same time as implementing use of sage-dist-helpers. |
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.
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.
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:23
|
Open as of Sage 10.3.beta0:
|
<!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> Most normal SPKGs are installed by staging in `DESTDIR`. When copying to the final install location in `SAGE_LOCAL`, an installation record is created, which is used later in package uninstallation. However, when SPKG installation was switched to using staging in `DESTDIR` (Meta-ticket sagemath#24024), the parts of `spkg-install` scripts that used to be responsible for removing an old version of the installed package were either kept in place or moved to `spkg-legacy-uninstall` scripts. This was done to enable incremental builds from older installations. By passage of time, this is no longer needed. Some of the removals are a partial cherry-pick from sagemath#25140 by @embray. We also switch `frobby` to `DESTDIR` staging and *add* an `spkg-legacy- uninstall` script. Resolves sagemath#25140. Resolves sagemath#30480. <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> - Depends on sagemath#36778 (merged here to resolve merge conflict) <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36839 Reported by: Matthias Köppe Reviewer(s): Dima Pasechnik
This is a meta-ticket for tickets that address updating other packages to use the helper functions in
sage-dist-helpers
where possible. There area few advantages to doing this:
The second bullet point is especially motivated right now by #22509. Since it requires updates to nearly every package in Sage anyways, it makes more sense to update most packages to use the helper functions, and then add
DESTDIR
support through the helper functions. In particular, the vast majority of Python and autotools packages can be givenDESTDIR
support en masse by this approach.pip
to usesdh_pip_install
sdh_configure
,sdh_make
, andsdh_install
. By "trivial" I mean packages with very simple build scripts that can be mechanically updated with simple replacements.Upgrade GDB #24692 - gdb (optional)tides does not build on 32-bit systems #26021 - tides (optional)gfortran breaks parallel build #25001 DESTDIR support for gcc, improvements to gfortran #27016 - gfortran (optional)configure
from a very old autoconf)install-strip
instead ofinstall
and one can see why: the debugging info for this library is quite large for some reason; need an alternative tosdh_make_install
that allows alternate install targets)configure
but they still usemake
in such a way that can be replaced withsdh_make
). It might also be possible to narrow down one or two other classes of packages that can be simplified with new helper functions.configure
scriptconfigure
scriptconfigure
scriptconfigure
scriptconfigure
scriptconfigure
is just a wrapper for a custom Python script calledmakemakefile.py
pip install
does not suffice:$SAGE_DESTDIR_LOCAL
.Component: build
Issue created by migration from https://trac.sagemath.org/ticket/24024
The text was updated successfully, but these errors were encountered: