guile-user
[Top][All Lists]
Advanced

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

Re: Guile 3.0.7 compile cache messages


From: Olivier Dion
Subject: Re: Guile 3.0.7 compile cache messages
Date: Tue, 01 Jun 2021 08:14:23 -0400

On Mon, 31 May 2021, Zelphir Kaltstahl <zelphirkaltstahl@posteo.de> wrote:
> Hello Guile Users!
>
> It seems my Guile (version 3.0.7, installed via GNU Guile, updated today) is
> doing something weird, or perhaps something correct but unexpected with regard
> to informing about it finding compile caches. When I run a program with `guile
> -L . main.scm`, it displays the following:

I also find it annoying.  I use Guile as a script language for a
video game engine in C.  This interferes with the logging system and it
annoys the hell out of me >:-)


>
> ~~~~
> $ guile -L . main.scm 
> ;;; note: source file ./logging.scm
> ;;;       newer than compiled 
> /home/user/.guix-profile/lib/guile/3.0/site-ccache/logging.go
> ;;; found fresh local cache at 
> /home/user/.cache/guile/ccache/3.0-LE-8-4.5/home/user/dev/guile/lf2-data-files/logging.scm.go
> ;;; note: source file ./file-reader.scm
> ;;;       newer than compiled 
> /home/user/.guix-profile/lib/guile/3.0/site-ccache/file-reader.go
> ;;; found fresh local cache at 
> /home/user/.cache/guile/ccache/3.0-LE-8-4.5/home/user/dev/guile/lf2-data-files/file-reader.scm.go
> 160
> ~~~~
>
> This is displayed every single time I run the same program, without making any
> changes to the program.
>
> Is this intentional?
>
> I think it used to not display this info all the time. It could become quite
> annoying with a bigger program consisting of hundreds of files / modules and
> then Guile displaying a note for every single file.
>
> Even with `--no-auto-compile` as in `guile -L . --no-auto-compile main.scm` it
> keeps displaying that message.
>
> Is there something I can do, to only make it display a note about caches, when
> it finds, that a file needs recompiling, because the cache is not up to date 
> any
> longer?
>
> Here is some more detailed information about my versions:
>
> ~~~~
> $ guix --version
> guix (GNU Guix) 4092813037f9fadb2c1da805dc9117277efc7910
> Copyright (C) 2021 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> $ guile --version
> guile (GNU Guile) 3.0.7
> Copyright (C) 2021 Free Software Foundation, Inc.
>
> License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> ~~~~
>
> Best regards,
> Zelphir
>
> -- 
> repositories: https://notabug.org/ZelphirKaltstahl
>
>
-- 
Olivier Dion
PolyMtl



reply via email to

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