all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Wingo <wingo@igalia.com>
To: "Taylan Ulrich \"Bayırlı/Kammer\"" <taylanbayirli@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Building Guix with Guile 2.1
Date: Thu, 22 Sep 2016 11:22:45 +0200	[thread overview]
Message-ID: <87k2e4e1ay.fsf@igalia.com> (raw)
In-Reply-To: <87vaxpnf11.fsf@T420.taylan> ("Taylan Ulrich \"Bayırlı/Kammer\""'s message of "Wed, 21 Sep 2016 23:01:30 +0200")

On Wed 21 Sep 2016 23:01, taylanbayirli@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes:

> With the attached quick-and-dirty patch, 'make' runs to completion.

LGTM.

> I think we can keep the (compile 'dummy) hack.  That leaves two issues
> which may be solved in a cleaner manner than in this patch:
>
> - The (define foo (@@ (bar) foo)) parts.
> - Making %tty-gid public.  (The above didn't work for this one...)
>
> Both fixes may become unnecessary if Guile 2.2 goes back to allowing
> #:select to import private bindings.  Otherwise, recommendations for
> cleaner solutions welcome.

I think allowing access to private bindings via #:select was simply an
error and is unlikely to be reinstated.

> By the way, compile time seems to increase greatly with 2.2, to the
> point I wondered if it's really compiling in parallel, but it does seem
> to as evidenced by top(1).  Maybe package modules could be compiled with
> certain optims turned off, since they mostly just consist of package
> object definitions and not procedures whose performance would matter.

How much?

I think turning off most optimizations for the packages is a good idea.
There is not a nice way to do this however.  What `guild compile -O1
...` does is:

  http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob;f=module/scripts/compile.scm;h=939fb2564ec344de5f4a531b2041383730262d4f;hb=HEAD#l55

The default is -O2.

Andy

  reply	other threads:[~2016-09-22  9:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21  8:23 Building Guix with Guile 2.1 Ludovic Courtès
2016-09-21 17:03 ` Andy Wingo
2016-09-21 19:40   ` Taylan Ulrich Bayırlı/Kammer
2016-09-21 19:48     ` Taylan Ulrich Bayırlı/Kammer
2016-09-24  3:31   ` Ludovic Courtès
2016-09-21 21:01 ` Taylan Ulrich Bayırlı/Kammer
2016-09-22  9:22   ` Andy Wingo [this message]
2016-09-22 20:45     ` Taylan Ulrich Bayırlı/Kammer
2016-09-30 11:51       ` Ludovic Courtès
2016-09-27  9:48   ` Ludovic Courtès
2016-09-28 14:56     ` Taylan Ulrich Bayırlı/Kammer
2016-09-28 15:14       ` Andy Wingo
2016-09-29 22:02         ` Taylan Ulrich Bayırlı/Kammer

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=87k2e4e1ay.fsf@igalia.com \
    --to=wingo@igalia.com \
    --cc=guix-devel@gnu.org \
    --cc=taylanbayirli@gmail.com \
    /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.