On Tue, May 24, 2022 at 11:07 AM Dima Pasechnik <dimp...@gmail.com> wrote:
>
> On Tue, May 24, 2022 at 10:04 AM Samuel Lelievre
> <samuel.lelie...@gmail.com> wrote:
> >
> > Side note: if using `sage -i`, prepending `V=0` will
> > suppress most of the build's verbosity. Example:
> > ```
> > $ V=0 sage -i jupyterlab_widgets
> > ```
> >
> > I cannot answer the following two questions:
> >
> > - why does installing JupyterLab after building Sage
> >   trigger recompilation of all Cython files in src/sage?
> >
> sagelib (including all Cython files in src/sage) has dependencies on
> e.g. jupyter-core
> (no idea why). Perhaps building jupyterlab leads to touching this or
> some other dependency of sagelib, in turn triggering its rebuilding.

On sage 9.7.beta0, running `make jupyterlab_widgets` triggers (re)builds of
ipympl  jupyterlab  jupyterlab_widgets  jupyter_packaging
nodeenv  nodejs-12.18.3  sagelib-9.7.beta0

it does not look like the rebuild of sagelib is triggered via
build/pkgs/*/dependencies

It's probably some Python packages magic I have no idea about.


>
> Dima
>
>
> > - how can that be fixed?
> >
> > but there might be a workaround consisting in
> > configuring the build so that JupyterLab is built
> > along with the rest, rather than afterwards.
> >
> > After getting a new development release of Sage
> > (with `git pull origin develop --tags` or by getting
> > and unpacking the source tarball), do this:
> >
> > ```
> > $ export MAKE='make -j8'
> > $ ./bootstrap
> > $ ./configure --enable-jupyterlab_widgets
> > $ make -s V=0
> > ```
> >
> > instead of something like
> >
> > ```
> > $  export MAKE='make -j8'
> > $ ./bootstrap
> > $ ./configure
> > $ make -s V=0
> > $ ./sage -i jupyterlab_widgets
> > ```
> >
> > Maybe fixing the unwanted recompilation of all
> > cython files deserves a ticket?
> >
> > --
> > 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 view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-devel/e9011f7c-6126-439c-90ef-718e35e82cd1n%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3sNQobiiQhVe%3DwEhXapcu-VfgtAJNvNwTUE9fc4%3Dsp6w%40mail.gmail.com.

Reply via email to