Developing for Sage without running "./sage -br" too often?

52 views
Skip to first unread message

Jing Guo

unread,
Jun 11, 2022, 11:16:28 AM6/11/22
to sage-devel
Dear all,

As it's written in the developer guide [0]:

> Once you have made any changes you of course want to build Sage and try out your edits. As long as you only modified the Sage library (that is, Python and Cython files under src/sage/...) you just have to run: "./sage -br"

Because of some issues in my old Mac, I need to compile Sage code in my Debian VM, which implies that sometimes even running "./sage -br" can take some time.

So I was wondering that do you have any advice or suggetions regarding how one could compile/build newly modified code without having to run "./sage -br" too often, hence speed up the whole process? (I think I read in the documentation that Gitpod is one of possible solutions?)

Thank you for your time.


Jing

Matthias Koeppe

unread,
Jun 11, 2022, 2:05:18 PM6/11/22
to sage-devel

Jing Guo

unread,
Jun 12, 2022, 9:13:44 AM6/12/22
to sage-devel
Thank you, Matthias.

After using this, I typed and ran "./sage -br" and for some reason it could not build... So I run "make" again and am waiting for it to finish.

Dima Pasechnik

unread,
Jun 12, 2022, 9:31:27 AM6/12/22
to sage-devel


On Sun, 12 Jun 2022, 14:13 Jing Guo, <dev....@gmail.com> wrote:
Thank you, Matthias.

After using this, I typed and ran "./sage -br" and for some reason it could not build... So I run "make" again and am waiting for it to finish.

make build

will be enough - unless you want to test docs build too 



在2022年6月12日星期日 UTC+8 02:05:18<Matthias Koeppe> 写道:
Use "./configure --enable-editable"

On Saturday, June 11, 2022 at 8:16:28 AM UTC-7 dev....@gmail.com wrote:
Dear all,

As it's written in the developer guide [0]:

> Once you have made any changes you of course want to build Sage and try out your edits. As long as you only modified the Sage library (that is, Python and Cython files under src/sage/...) you just have to run: "./sage -br"

Because of some issues in my old Mac, I need to compile Sage code in my Debian VM, which implies that sometimes even running "./sage -br" can take some time.

So I was wondering that do you have any advice or suggetions regarding how one could compile/build newly modified code without having to run "./sage -br" too often, hence speed up the whole process? (I think I read in the documentation that Gitpod is one of possible solutions?)

Thank you for your time.


Jing

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/e8eb456a-18ea-4603-94b3-80ec1210230bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages