all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Add guile-fibers (needs help)
Date: Mon, 05 Dec 2016 21:44:15 +0100	[thread overview]
Message-ID: <8760myrtr4.fsf@elephly.net> (raw)
In-Reply-To: <87d1h66wvx.fsf@dustycloud.org>


Christopher Allan Webber <cwebber@dustycloud.org> 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

      reply	other threads:[~2016-12-05 20:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-05 18:42 [PATCH] Add guile-fibers (needs help) Christopher Allan Webber
2016-12-05 20:44 ` Ricardo Wurmus [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760myrtr4.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=cwebber@dustycloud.org \
    --cc=guix-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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.