-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
/usr/bin/time should be a pre-req #37832
Comments
This comment was marked as abuse.
This comment was marked as abuse.
The issue is not (only) about a missing In #37785 (comment) I outlined an idea of how to use the bash builtin for The fix in #37785 is not good IMO because it just disables the feature for a lot of platforms (i.e. it won't show the build time if (I'm still available to talk about it, but I can't really run the code since I don't normally build sage-the-distro, I don't even run @dimpase I hope this satisfies you, if so, maybe closing this issue is a good move. |
I opened the issue because I cannot comment on or review code in PRs opened by mkoeppe. I think the solution there just sweeps the problem under the carpet, and this is not good. I suppose that every system supported by Sage has /usr/bin/time, so it can be a prereq |
I know that is inconvenient, and I hope @mkoeppe will rethink about this, but I doubt it will happen if you keep triggering. Please, keep stating your concerns, your viewpoints, and your opposition, but in a more constructive tone (this also applies to others, each one will know... I've reported myself to sage-conduct in the past so I'm not free from mistakes either)
I agree and I said so in that PR, and I outlined a way for a better fix. Maybe an issue can be opened from my comment in the PR.
As I said, this would not fix the problem, since the code uses
But please read the discussion in #37785 and feel free to create an issue from my comment to discuss further (that PR is not the place anyway since it's a temporary workaround). You can freely copy anything I said there. |
This comment was marked as abuse.
This comment was marked as abuse.
Thanks @tornaria for speaking up. I appreciate it. |
…sh keyword `time` <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Follow-up after - sagemath#37391 - sagemath#37785 ... to make the display of package build times available on Linux too. Fixes sagemath#37785 (comment), closes sagemath#37832. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [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 and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> - Depends on sagemath#37785 URL: sagemath#37840 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
…sh keyword `time` <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Follow-up after - sagemath#37391 - sagemath#37785 ... to make the display of package build times available on Linux too. Fixes sagemath#37785 (comment), closes sagemath#37832. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [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 and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> - Depends on sagemath#37785 URL: sagemath#37840 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
…sh keyword `time` <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Follow-up after - sagemath#37391 - sagemath#37785 ... to make the display of package build times available on Linux too. Fixes sagemath#37785 (comment), closes sagemath#37832. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [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 and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> - Depends on sagemath#37785 URL: sagemath#37840 Reported by: Matthias Köppe Reviewer(s): Gonzalo Tornaría, Kwankyu Lee, Matthias Köppe
from #37785
Instead of suppressing things, just make
time
a pre-req. In particular, as it appears to cause breakage beyond warnings only, seehttps://groups.google.com/g/sage-devel/c/l2MFDazkpMQ/m/_t9LFC06BAAJ
The text was updated successfully, but these errors were encountered: