From: Andy Wingo <wingo@pobox.com>
To: Ian Hulin <ian@hulin.org.uk>
Cc: guile-user@gnu.org, "lilypond-devel@gnu.org" <lilypond-devel@gnu.org>
Subject: Re: Generating compiled scm (.go) files as part of LilyPond build
Date: Tue, 19 Jul 2011 16:28:41 +0200 [thread overview]
Message-ID: <8762myjqee.fsf@pobox.com> (raw)
In-Reply-To: <4E25843A.2000803@hulin.org.uk> (Ian Hulin's message of "Tue, 19 Jul 2011 14:18:50 +0100")
Hi Ian,
On Tue 19 Jul 2011 15:18, Ian Hulin <ian@hulin.org.uk> writes:
> It may boil down to a matter of taste, but I find double and triple
> extensions on a filename intrinsically nasty. I've normally come across
> them before on Windows systems where a filename such as thing.htm.exe
> usually means there's malware or a trojan or suchlike on your system.
> See also comments below.
Consider it an opaque key into a cache. We could change in the future
to default to the SHA1 of the whole path. That does have some
advantages regarding flattening the directory hierarchy, resulting in
fewer stat operations.
> ian@nanny-ogg:~/src/Guile/guile-2.0.2$ meta/guile -L $PWD
This will set XDG_CACHE_HOME=${top_builddir}/cache.
> The problem is knowing where the cache is. For Lilypond, we need to have
> a common root directory off of which we can hang the compiled files in
> scm/out.
Why do you care? (Honest question.)
To me there are two cases:
1) You compile the files yourself. You either ensure that the .go
files end up in the right places, or adjust
GUILE_LOAD_COMPILED_PATH.
2) You rely on autocompilation. In this case there is no guarantee
about where the files go, besides residing in the
XDG_CACHE_DIR/guile.
Regards,
Andy
--
http://wingolog.org/
next prev parent reply other threads:[~2011-07-19 14:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-27 17:42 Generating compiled scm (.go) files as part of LilyPond build Ian Hulin
2010-11-28 12:01 ` Neil Jerram
2010-11-30 18:02 ` Ian Hulin
2010-11-29 21:17 ` Andy Wingo
2010-12-01 21:21 ` Ian Hulin
2010-12-01 22:08 ` Andy Wingo
2010-12-30 11:43 ` Ian Hulin
2011-01-28 16:17 ` Andy Wingo
[not found] ` <4D433723.50501@hulin.org.uk>
2011-01-29 11:21 ` Andy Wingo
2011-07-19 13:18 ` Ian Hulin
2011-07-19 14:28 ` Andy Wingo [this message]
2011-07-19 23:08 ` Ian Hulin
2011-07-20 17:38 ` Andy Wingo
2011-07-21 12:43 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762myjqee.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=guile-user@gnu.org \
--cc=ian@hulin.org.uk \
--cc=lilypond-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).