libera/#clasp - IRC Chatlog
Search
15:02:50
drmeister
I haven't had time to try it yet. I need to get my lab going on their inventory again. That requires a brew upgrade to cando on their system.
16:09:12
yitzi
Bike: bump! I just realized we could just have more translations. Just add one when a path can't be put directly into a logical path. For example `/usr/share/clasp/src/lisp/kernel/contrib/Acclimation/packages.lisp` becomes `SYS:SRC;LISP;KERNEL;CONTRIB;ACCLIMATION;PACKAGES.LISP` with a translation mapping of `SYS:SRC;LISP;KERNEL;CONTRIB;ACCLIMATION;**;*.*.*` -> `/usr/share/clasp/src/lisp/kernel/contrib/Acclimation/**/*.*`
16:28:22
yitzi
When the scrapper finds a path that has upper case letters or underscores or periods it adds a logical host translation in generate-expose-one-source-info-helper.
16:29:04
yitzi
Obviously, trying to not add too many. Like adding a single one for a case sensitive directory (if we had ones).
16:29:46
yitzi
Then koga does the same when it runs the ASDF groveler to get the source file list for cclasp (and eclasp).
16:33:10
Bike
could we also do this for underscores? although i guess t hose are more for files than for directories.
16:38:55
yitzi
I am thinking anything that is not a letter or a hyphen just change it to a hyphen in the logical pathname.
16:39:44
yitzi
So `include/clasp/core/fu_bar.fwd.h" would become "SYS:INCLUDE;CLASP;CORE;FU-BAR-FWD.H"
0:36:41
drmeister
yitzi: If I try yitzchak_eclasp - I need that branch in both clasp and cando - correct?
0:37:57
yitzi
I don't want it to junk up your working tree. The dependencies have moved around in the tree.
0:39:25
yitzi
On a side note... I might actually be close to getting logical paths to work in clasp-builder, thereby avoiding absolute paths in the packaged images.
0:40:39
drmeister
What will that allow us to do? Does it allow us to move things around with quicklisp installed?
0:42:58
yitzi
Don't specify the default target and just do `ninja -C build`. Once you build eclasp (and run cando to try it out), then do ninja -C build scando-boehmprecise
0:44:54
yitzi
The logical paths in clasp-builder are attempt to minimize the absolute paths stored in the binary. Instead to rely on bundle.cc to help resolve source info references from the compiler or the scraper. Many packaging programs complain when you have absolute paths in a binary.
0:48:07
yitzi
Also, the source paths in source info references currently refer to the build system, not the installed system.
1:28:24
yitzi
Bike: success for [abc]clasp source files. Scraper logical translations still to do. https://plaster.tymoon.eu/view/3250