On Sun, Oct 29, 2023 at 05:13:58PM +0800, Qian Yun wrote:
> I need the patch posted in thread "FriCAS and GCL" (February 11 2023)
> to compile FriCAS with gcl-2.6.14.
> 
> So shall we include it?

Have you tried to set GCL_MEM_MULTIPLE so that GCL uses slightly
less than 2Gb of memory?  With such setting patch below should
be not needed.   And IME parallel builds with GCL are usable
only with sufficiently small GCL_MEM_MULTIPLE (otherwise
system is thrashing).

Setting *default-large-memory-model-p* means that generated
code is slower.  I do not know how much slower, old info
said that about 7-10% slower.  We should do some testing
to know.

> 
> - Qian
> 
> 
> --- trunk/src/lisp/Makefile.in  2022-07-16 14:43:58.443666098 +0200
> +++ dist/src/lisp/Makefile.in   2023-02-11 15:36:50.248556407 +0100
> @@ -68,7 +68,8 @@
>                                         ' (compiler::emit-fn t))' \
>                                    ' (when (fboundp (quote si::sgc-on))' \
>                                          ' (si::sgc-on nil))' \
> -                                  ' (setq compiler::*default-system-p*
> t))"' \
> +                                  ' (setq compiler::*default-system-p* t)'
> \
> +                     ' (setq compiler::*default-large-memory-model-p* t))"'
> \
>                        ' si::*system-directory* (quote (list ".lsp")))' \
>                 '  "$(lisp_c_objects) $(fricas_c_runtime_extra)")' \
>              | $(FRICAS_LISP)
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/fricas-devel/318057da-c7ff-47da-9614-9d6b3ba198b2%40gmail.com.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ZT8GwTWQllbqFiDF%40fricas.org.

Reply via email to