freenode/#lisp - IRC Chatlog
Search
21:53:45
fiddlerwoaroof
If anyone wants a docker image with sbcl built to work with CFFI:STATIC-IMAGE-OP, here's a Dockerfile: https://fwoar.co/pastebin/9b30249f564662b48b1612759c2328204fe4bb04.nil.html
21:54:58
fiddlerwoaroof
This will essentially let you generate a binary that has no dependencies on any shared objects loaded by CFFI
21:58:59
fiddlerwoaroof
That one's slightly wrong, this one's better: https://fwoar.co/pastebin/7893627c963cdbd4b63de76ef72240dd22bb58e9.nil.html
23:35:44
fiddlerwoaroof
The reason I did all this work is that CFFI generates runtime dependencies on shared objects that make it hard to transfer a dumped lisp image to someone else's system
23:36:08
fiddlerwoaroof
(osicat is the worst offender here, ime, because it generates a so as part of its build in the ASDF cache directories)
23:37:58
fiddlerwoaroof
(you asked me about it a couple months ago, but things have been kinda crazy around here)
3:51:27
LdBeth
Currently it is https://github.com/LdBeth/CLFSWM/blob/f3250a3dde2c8b2a6fb1017210f2c614abee5c0d/src/xlib-util.lisp#L202
3:52:16
no-defun-allowed
is there a print depth variable which has the levels of recursion that the printer has done to get to print the current object?
3:53:38
no-defun-allowed
damn! i guess i could wrap my own depth value since the conditions when it'll be printed shouldn't be too broad