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
install script stores start time of build #6744
Comments
Attachment: install_script_stores_start_time.patch.gz |
comment:1
The patch should be applied against the file |
comment:2
note: don't forget to update this file on the master-mirror, too! it lives in |
comment:3
I don't see how this can hurt anything. Tried building anyways, no problem. |
Merged: Sage 4.1.2.alpha0 |
Author: Harald Schilly |
Reviewer: Tim Dumol |
comment:5
Although this is marked as fixed, it should be noted that it makes use of a non-portable option to the http://www.opengroup.org/onlinepubs/009695399/utilities/date.html for a list of portable options. Since the file created is not actually used by anything it's not a big problem, but if anyone tried using it on a Unix system, it would likely fail. A better method is:
|
In order to track the build progress, it is necessary to store the start time of the build process. (elapsed time, estimate of remaining time, ...)
This patch inserts a line in "install" which stores the seconds since 1970-1-1 in a hidden file
.BUILDSTART
in%SAGE_ROOT
when the build process starts. This could also be useful for other applications.Component: distribution
Author: Harald Schilly
Reviewer: Tim Dumol
Merged: Sage 4.1.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6744
The text was updated successfully, but these errors were encountered: