From: Alex Vong <alexvong1995@gmail.com>
To: Feng Shu <tumashu@163.com>
Cc: guix-guix-devel <guix-devel@gnu.org>
Subject: Re: compiling guix is too slow?
Date: Thu, 29 Jun 2017 12:28:03 +0800 [thread overview]
Message-ID: <87lgobh0z0.fsf@gmail.com> (raw)
In-Reply-To: <8760ffg1nv.fsf@163.com> (Feng Shu's message of "Thu, 29 Jun 2017 06:58:28 +0800")
[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]
"Feng Shu" <tumashu@163.com> writes:
> Now I have found that 'guix pull' is too slow,
> I need 3 hours to compile guix, is it possible to speed it ?
Maybe you can try building from git instead? I used to run
'$ guix pull && guix package --upgrade', but it gets slower as the
number of packages of guix increases. So now I use
'$ git pull && make -j`nproc` && ./pre-inst-env guix package --upgrade'.
You can read the manual[0] for more info.
If you use emacs-guix, you need to tell emacs-guix the location of your
git repository as well. I am unware of how others do it. Here is how I
do it:
(require 'guix-autoloads)
(guix-prettify-global-mode)
(setq-default guix-current-profile
(file-chase-links "~/.guix-profile" 1))
(setq-default guix-directory "~/scm/guix/")
(require 'guix-build-config)
(let ((guix-src-dir (expand-file-name "~/scm/guix/")))
(setq-default guix-config-image-directory guix-src-dir)
(setq-default guix-config-guix-scheme-compiled-directory guix-src-dir))
[0]: https://www.gnu.org/software/guix/manual/html_node/Building-from-Git.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-06-29 4:28 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-28 22:58 compiling guix is too slow? Feng Shu
2017-06-29 1:23 ` Adonay Felipe Nogueira
2017-06-29 2:56 ` Leo Famulari
2017-07-01 13:33 ` Ludovic Courtès
2017-07-03 7:50 ` Andy Wingo
2017-07-03 8:06 ` ng0
2017-07-03 10:19 ` Ludovic Courtès
2017-07-03 12:15 ` ng0
2017-07-04 9:17 ` Ricardo Wurmus
2017-07-04 9:23 ` ng0
2017-07-03 10:18 ` Ludovic Courtès
2017-06-29 4:28 ` Alex Vong [this message]
2017-07-02 20:38 ` Alex Kost
2017-07-04 8:16 ` Alex Vong
2017-07-05 7:35 ` Alex Kost
2017-07-05 14:39 ` Alex Vong
2017-07-06 3:49 ` Chris Marusich
2018-02-05 7:34 ` Can we speed it up? Prev: " Pjotr Prins
2018-02-05 8:15 ` Konrad Hinsen
2018-02-05 8:55 ` Pjotr Prins
2018-02-05 9:56 ` Konrad Hinsen
2018-02-05 10:12 ` Pjotr Prins
2018-02-05 10:15 ` Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lgobh0z0.fsf@gmail.com \
--to=alexvong1995@gmail.com \
--cc=guix-devel@gnu.org \
--cc=tumashu@163.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).