-
-
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
Task ticket: Replace use of SAGE_ROOT by more specific environment variables #21591
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Thanks--yeah I've encountered a ton of this. Likewise there are misuses of |
This comment has been minimized.
This comment has been minimized.
comment:4
Has anyone done any work on this yet? I'm in the mood for a (somewhat) mindless and tedious task. |
comment:5
Be my guest! I historically reduced the use of |
comment:6
fbissey: Will improvements on this front then cut down on the amount of contortions sage-on-gentoo needs to go through? |
comment:7
If done right, yes. Although looking at the list of files there are a variety of issues. I would move In a lot of other instances |
comment:8
Replying to @embray:
Please go ahead! |
comment:10
For I would think instead the current working directory is appropriate in general--for running the tests I would just put it in |
Dependencies: #21571 |
comment:11
I think #21571 should be considered a dependency, since it's definitely a piece of this puzzle. |
This comment has been minimized.
This comment has been minimized.
comment:13
See also: #25150 |
comment:14
This is outdated/completed, should be closed |
Reviewer: John Palmieri |
comment:15
Okay |
#21501, #21534 replace $SAGE_ROOT/local by $SAGE_LOCAL (to make SAGE_LOCAL customizable via
configure --prefix
, #21479).But there are also other direct uses of
$SAGE_ROOT
that should be replaced by something more specific, in particular insrc/
.This is preparation for #21469 (Enable VPATH builds) and #21507 (Make sagelib a pip-installable Python source package, listed on PyPI).
See also #15105 - hardwired paths in
src/sage
.The following list needs review.
(The above line is #21572.)
The above is #21571.
Depends on #21571
Depends on #21572
Depends on #15105
CC: @jdemeyer @embray @kiwifb @jhpalmieri @tscrim
Component: build
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/21591
The text was updated successfully, but these errors were encountered: