[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add guile-fibers (needs help)
From: |
Ricardo Wurmus |
Subject: |
Re: [PATCH] Add guile-fibers (needs help) |
Date: |
Mon, 05 Dec 2016 21:44:15 +0100 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Christopher Allan Webber <address@hidden> writes:
> Hello,
>
> I started a patch to add guile-fibers, which I know many of us are
> intertested in giving a spin, but I haven't gotten things to build
> right. The funny thing is I can get it to build fine from the tarball
> itself. I'm missing something in the package, but I don't know what.
With these arguments I can build fibers.
(arguments
`(#:parallel-build? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-epoll-path
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "fibers/epoll.scm"
(("load-extension \"epoll\"")
"load-extension \".libs/epoll\""))
#t)))))
I don’t think that’s right, though, because it probably won’t find epoll
at runtime. Maybe this can be avoided at build time with an environment
variable? In the end I think “epoll” should be replaced with the full
store path of the epoll shared object.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
http://elephly.net