leif wrote:
> leif wrote:
>> leif wrote:
>>> Vincent Delecroix wrote:
>>>> Hello,
>>>>
>>>> In the optional package giacpy there are some extension classes that
>>>> depend on SageObject. Hence if I do some modification to SageObject and
>>>> perform "make" the giacpy package is broken. Is there a solution to
>>>> rebuild external packages that depends on sagelib when doing "make"?
>>>
>>> Try adding $(SAGERUNTIME) to its dependencies file, *before* the '|'.
> 
> Next suggestion (hopefully the last, and a working one):
> 
> Instead of $(SAGERUNTIME), add
> 
> $(SAGE_SRC)/build/cythonized/sage/structure/sage_object.c
> 
> (again, *before* the pipe, but still put $(SAGERUNTIME) after it).

P.S.:  (Sorry, forgot to mention:)

You obviously have to recreate Sage's Makefile after changing giacpy's
dependencies of course.


The probably easiest, but also the cleanest way is to bump giacpy's
(Sage) patch level (in its package-version.txt), i.e., append a '.p0' there.

I haven't tried with giacpy (as I don't want to spam my Sage
installations with further optional packages), but otherwise works for
me.  If I touch src/build/cythonized/sage/structure/sage_object.c (which
will also happen in case you modify sage_object.{pxd,pyx}), running
'make build' rebuilds the extension module and afterwards the package to
whose dependencies I had added what I mentioned above.


-leif


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to