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
Integrate prereq in the new build system #15580
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Actually |
comment:3
Replying to @ohanar:
OK, I see that. But it's not distributed by default. |
comment:4
If somebody can merge the prereq tarball contents in the git repo, I can easily do the rest. |
comment:5
I've exported New commits:
|
Branch: u/ohanar/prereq |
Commit: |
comment:6
I have a patch ready, but I need to rebuild Sage before it can be uploaded... |
Author: R. Andrew Ohana, Jeroen Demeyer |
Changed branch from u/ohanar/prereq to u/jdemeyer/ticket/15580 |
comment:8
Not yet ready for review, requires more work. |
Changed branch from u/jdemeyer/ticket/15580 to u/ohanar/prereq |
Changed branch from u/ohanar/prereq to u/jdemeyer/ticket/15580 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Dependencies: #15596 |
Reviewer: R. Andrew Ohana |
comment:14
Looks fine to me, so long as someone can review my reviewer commit. (It is just restoring a small regression of New commits:
|
Changed branch from u/jdemeyer/ticket/15580 to u/ohanar/prereq |
comment:15
One comment I have is that having a toplevel configure script might confuse those not familiar with sage's odd build system. Maybe we should move it to be under the build directory? |
comment:16
Replying to @ohanar:
My hope is to converge to a more standard build system, so having |
comment:92
How is that supposed to change anything? The `aclocal.m4' is not in the confball, so you need aclocal to generate it. The job of the "missing" script is to mangle the timestamps as if aclocal has run, but you still need the file whose timestamp is to be changed. |
comment:93
PS: What running with bash does give you is the proper warning before it errors out:
|
comment:94
PPS: any thoughts on enabling |
Changed branch from u/jdemeyer/ticket/15580 to u/vbraun/ticket/15580 |
comment:96
I guess disabling maintainer mode is only interesting when you actually run the automake-generated makefile. But we probably should, then. I'll put it in for now. In any case, we should only run autotools from the bootstrap script. As long as we don't use the automake output there are no timestamp issues. New commits:
|
comment:97
I disagree with Also, what was wrong with bootstrapping from the top-level |
comment:98
Replying to @vbraun:
OK, I forgot to add that file, no big deal. |
comment:99
Hmm, it seems that |
Changed branch from u/vbraun/ticket/15580 to u/jdemeyer/ticket/15580 |
comment:101
Volker, this patch simply stops using the New commits:
|
comment:102
bootstrap shouldn't call make to do its business, usually it would run automake to generate the makefile. But we can also disentangle that later if you prefer. AFAIK we do guarantee that "sage -f" works even before building Sage, so that you can install replacements for certain optional build-time dependencies (e.g. ccache). Not using that mechanism means that "make download" won't work, for example. Not to mention that it duplicates the sagemath upstream url, doesn't verify the checksum, etc. I don't necessarily care so much about using it, just wanted to make sure that you thought about the potential downsides of downloading the confball manually. |
comment:103
PS: I agree that missing changed and should be treated as implementation details for the autotools, i.e., do not call directly. |
comment:104
Replying to @vbraun:
I was thinking of moving towards a more typical "configure + make" model. Then
|
comment:105
Replying to @vbraun:
Perhaps you are right. But I would indeed prefer to do that later, especially since #15606 changes the bootstrap process also. |
comment:106
Replying to @jdemeyer:
Sounds good to me, but does not have to prevent |
comment:107
Replying to @vbraun:
I'd say: let's see how things evolve. I will not actively prevent |
Changed reviewer from R. Andrew Ohana to R. Andrew Ohana, Volker Braun |
comment:108
fine with me... |
comment:109
Another side effect of treating the confball different:
|
After downloading Sage 6.0 either from git or from the
.tar.gz
sdist tarball, the prereq tarballprereq-1.2.tar.gz
is missing. This is a huge problem, because many checks are skipped because of this.Integrating this was probably overlooked in the sage-git build system. I think the best solution is not have prereq as a tarball at all and simply integrate the contents of the former prereq tarball in the git repo.
Depends on #15596
CC: @ohanar @vbraun
Component: distribution
Author: R. Andrew Ohana, Jeroen Demeyer
Branch/Commit: u/jdemeyer/ticket/15580 @
2e27abb
Reviewer: R. Andrew Ohana, Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/15580
The text was updated successfully, but these errors were encountered: