From: Julien Lepiller <julien@lepiller.eu>
To: guix-devel@gnu.org,Charles Direg <carloshujara@gmail.com>
Subject: Re: Question about compile packages
Date: Tue, 30 Mar 2021 07:12:27 -0400 [thread overview]
Message-ID: <97998BD7-AAB3-49CD-8C4F-E4508B8FE32E@lepiller.eu> (raw)
In-Reply-To: <CACvft+XUtTZPJ3gE4scxvsVw5aqfSxKRvVqjZygH718YAWjAYw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1527 bytes --]
Not sure about your first question. Maybe create your own fork and regularly rebase it? Guix will not be very happy with that I think, but it should work.
To pass --no-substitutes, you can pass it to guix-daemon, or remove the authorized keys from /etc/guix/acl. The second option lets you download substitutes for fixed output derivations (basically source tarballs), so it's easier in case some of those tarballs disappear from their original location.
I think the first option is selectable from the installer, but I might be wrong. Otherwise, stop guix-daemon from herd and run it manually with your options.
Le 29 mars 2021 15:05:08 GMT-04:00, Charles Direg <carloshujara@gmail.com> a écrit :
> Dear,
>
>How can I modify the flags that any program is compiled with within
>guix? That
>is, I can allow in the gnu-build-system to modify it globally so that I
>can
>add the build flags to any package, for example, add the flags -O2
>-march=native -mtune=native so global as I already mentioned, so that
>these
>are added to each package at the time of compilation, this would not be
>within the guix development environment, because what I want is that
>this
>compilation is natively for my pc.
>
>As a second question, how could I set the --no-susbtitutes option when
>installing the guix system from ISO, since I would like all installed
>packages to be compiled natively first?
>
>I really appreciate your kind time and I look forward to your
>responses.
>
>Sincerely,
>~ Abraham Huerta
[-- Attachment #2: Type: text/html, Size: 3360 bytes --]
next prev parent reply other threads:[~2021-03-30 11:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-29 19:05 Question about compile packages Charles Direg
2021-03-30 11:12 ` Julien Lepiller [this message]
2021-03-30 16:12 ` raingloom
2021-03-31 0:28 ` Mark H Weaver
2021-03-31 17:36 ` Vincent Legoll
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=97998BD7-AAB3-49CD-8C4F-E4508B8FE32E@lepiller.eu \
--to=julien@lepiller.eu \
--cc=carloshujara@gmail.com \
--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.