-
-
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
./configure --prefix=SAGE_LOCAL #21479
Comments
This comment has been minimized.
This comment has been minimized.
New commits:
|
Commit: |
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:6
(i completely agree with this) a main obstacle is: the build system writes to $prefix during the build... i suggest to do the transition one-package-at-a-time, and after with |
comment:7
On this short term ticket, we do allow "make" to write into $prefix; and "make install" will be a no-op. More ambitious plans are to be discussed on the long term ticket #21495, not on this ticket. Thanks. |
comment:8
i agree that there are intermediate steps to take. but i don't yet fully understand this approach. i think the behaviour of just "make" should not change, regardless of
why would you need/want that? can you please give an example? my feeling is, that entangling prefix and SAGE_LOCAL further complicates the transition considerably. there will be no way to tell whether "this part still uses SAGE_LOCAL" vs. "this has already been cleaned". newcomers tend to grep a variable from the code, see how it is used and use it the same way. for a looong time to come. |
Changed author from Matthias Koeppe to Matthias Koeppe, Jeroen Demeyer |
This comment has been minimized.
This comment has been minimized.
Changed author from Matthias Koeppe, Jeroen Demeyer to Matthias Koeppe |
comment:10
I made a new ticket (#21501) to allow |
Dependencies: #21501 |
comment:11
i wrote
@mkoeppe i've thought about it. it seems, the alternatives are much worse (#21501) or much more ambitious. please go ahead with prefix==SAGE_LOCAL. please consider to add a remark in some documentation (better place: "currently, |
comment:12
Thanks Felix for the discussion. If you want to help, could you work on rebasing #15105. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Here's a first version of what I have in mind. Some concerns:
|
comment:16
I don't like the duplication in Here is a suggestion: add a new file, say Then you can source this file in both And I don't see the point of changing |
comment:119
No, this error disappears if you run |
comment:120
Replying to @mkoeppe:
If only the release manager would do this when testing a ticket... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:123
merge failure |
comment:124
... with the configure tarball version |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
comment:126
Hopefully this is the final thing needed for this ticket... |
This comment has been minimized.
This comment has been minimized.
Changed branch from u/jdemeyer/__configure___prefix_sage_local to |
comment:128
As a consequence of this ticket, with a fresh tarball or after running
Should these commands work out of the box? Running |
Changed commit from |
comment:129
I think its reasonable to ask that one runs at least configure once before trying to launch any scripts in the source tarball. So +1 for changing the error message... |
I propose to support choosing a location for the SAGE_LOCAL tree, using
(the default would be, as before, the
local
subdirectory of SAGE_ROOT - see patch on the ticket).I am fully aware that Sage's build system does not have a separation between 'make' and 'make install'; see #21495 for that.
Nevertheless, SAGE_LOCAL should be considered the same as the
prefix
in the sense of the autotools.This ticket is a step towards #21566.
Release manager configure tarball: http://sage.ugent.be/www/jdemeyer/sage/configure-214.tar.gz
CC: @jdemeyer @embray @kiwifb @nexttime @dimpase
Component: build
Author: Matthias Koeppe, Jeroen Demeyer
Branch:
e5926b1
Reviewer: Jeroen Demeyer, Erik Bray, Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/21479
The text was updated successfully, but these errors were encountered: