-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
Move memory functions to cysignals #20210
Comments
This comment has been minimized.
This comment has been minimized.
Branch: u/jdemeyer/cysignals_memory |
Commit: |
comment:4
For easier reviewing, I separated the commits:
|
comment:5
Why do we have to |
comment:6
Replying to @malb:
Because |
comment:7
I am currently in Orsay discussing with Erik Bray and Nicolas Thiéry to see if we can use |
Reviewer: Martin Albrecht |
comment:8
Okay, looks good then. I didn't run tests, though. |
Changed branch from u/jdemeyer/cysignals_memory to |
Changed commit from |
comment:10
I've been working on ticket #14304 which now depends on this ticket. Since it's been rebased, it now has doctests failing that aren't touched by the ticket. So I ran all the doctests with just this ticket applied and the following one fails:
However, the following are failing for #14304
Any idea what's up? |
comment:11
What are the actual failures? |
comment:12
They are:
|
comment:13
Well, that doesn't look related to this ticket... Are you sure you ran |
comment:14
Ugg. I think you're right. I'm running make now and will rerun the doctests. |
comment:15
Do you remember which commands you did run and why you ran them instead of something involving |
comment:16
I've been running
for most tickets. I thought I only needed to run make when spkg changed, and just forgot to do so on this ticket out of habit of running the Sage build. Should I more generally run make? |
comment:17
Replying to @adeines:
That is still true. However: most of the time this spkg change is implicit when changing branches. When you move from a branch based on one Sage version to a branch based on a different Sage version, chances are high that some spkg has changed between those branches.
At least when changing branches, yes. Once you did this and you then make changes only to the Sage library, then Note that you can also use |
comment:18
An easy way to run all doctests safely is to use |
comment:19
Awesome! Thanks! I might update some of the developer's guide to make this a bit clearer. :) |
comment:20
Replying to @adeines:
That would be really great! Still, the hard part is making people read it. |
Move all memory-allocation functions like
sage_malloc
to cysignals (renamingsage_
->sig_
).Upstream: https://github.com/sagemath/cysignals/releases/download/1.1.0/cysignals-1.1.0.tar.bz2
CC: @defeo @malb
Component: packages: standard
Author: Jeroen Demeyer
Branch:
4bb8337
Reviewer: Martin Albrecht
Issue created by migration from https://trac.sagemath.org/ticket/20210
The text was updated successfully, but these errors were encountered: