texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Guile 3!


From: Massimiliano Gubinelli
Subject: Re: [Texmacs-dev] Guile 3!
Date: Mon, 23 Mar 2020 12:11:20 +0100

I think the final solution could just be that the files are compiled at the moment the package is installed or prepared. The user will not see the compilation process.


M


On 23. Mar 2020, at 12:03, Sam Liddicott <address@hidden> wrote:

I think that first-use compile should be disabled by default. 

Because of the time it takes before the user can start work, it is something the user should deliberately choose.

Maybe it could happen in the background during use and become active on the next use after it is complete?

Sam

On Sun, 22 Mar 2020 at 16:36, Massimiliano Gubinelli <address@hidden> wrote:
It should be possible. One can also turn off compilation. I still haven't improved on this side. Also the compiled files are machine independent so they can be shipped with the package.

Guile 2.x is very slow in compiling. But also with Guile 3.x the full compilation will take some time. 
m


On 22. Mar 2020, at 16:42, Marco Atzeri <address@hidden> wrote:

back to the development list

Am 21.03.2020 um 18:25 schrieb Massimiliano Gubinelli:
You have to patch configure as follows:
diff --git a/src/configure b/src/configure
index a070f36fd..f8f625884 100755
--- a/src/configure
+++ b/src/configure
@@ -8305,7 +8305,7 @@ $as_echo "#define GUILE_B 1" >>confdefs.h
       (1.8 | 1.9)
 $as_echo "#define GUILE_C 1" >>confdefs.h
  ;;
-      (2.*)
+      (2.* | 3.*)
 $as_echo "#define GUILE_D 1" >>confdefs.h
               # Check whether --enable-guile2 was given.
It is now in the git repository.
Max

Thank Max
it buils fine and I made a test package for cygwin,
but at first use I see

...
;;; compiling /usr/share/TeXmacs/progs/convert/latex/init-latex.scm
;;; compiled /home/Marco/.cache/guile/ccache/3.0-LE-8-4.2/usr/share/TeXmacs/progs/convert/latex/init-latex.scm.go
;;; compiling /usr/share/TeXmacs/progs/convert/tmml/init-tmml.scm
;;; compiled /home/Marco/.cache/guile/ccache/3.0-LE-8-4.2/usr/share/TeXmacs/progs/convert/tmml/init-tmml.scm.go
;;; compiling /usr/share/TeXmacs/progs/convert/rewrite/init-rewrite.scm
;;; compiled /home/Marco/.cache/guile/ccache/3.0-LE-8-4.2/usr/share/TeXmacs/progs/convert/rewrite/init-rewrite.scm.go
;;; compiling /usr/share/TeXmacs/progs/prog/prog-format.scm
;;; compiled /home/Marco/.cache/guile/ccache/3.0-LE-8-4.2/usr/share/TeXmacs/progs/prog/prog-format.scm.go

that is taking a bit, still running.
There is a way to pre-compile at installation so that
I can avoid users to re-compile every first use ?

Regards
Marco

_______________________________________________
Texmacs-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/texmacs-dev
_______________________________________________
Texmacs-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/texmacs-dev


reply via email to

[Prev in Thread] Current Thread [Next in Thread]