unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Joshua Branson <jbranso@dismail.de>
To: Charles Direg <carloshujara@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: How to compile native?
Date: Wed, 14 Apr 2021 14:31:56 -0400	[thread overview]
Message-ID: <87v98o90pv.fsf@dismail.de> (raw)
In-Reply-To: <CACvft+XqkrxWKaPebyiUOBFzZxny+t=3w1ad5y=16RrhCd3wQg@mail.gmail.com> (Charles Direg's message of "Tue, 6 Apr 2021 18:10:47 -0500")

Charles Direg <carloshujara@gmail.com> writes:

> Hi,
>
> How can I do a compilation of the packages natively?

Yes this is possible!  You can disable substitutes to compile all
packages natively.

>
> What I mean is that, for example in Gentoo it can be used inside
> /etc/portage/make.conf: CFLAGS="-O2 -march=native -mtune=native" Is that
> possible in guix?

Currently guix does not support gentoo style flags..yet.  Though there
are talks to do something like that. If you wanted to compile packages
with specific compile flags, then you'll need to make custom package
definitions.

>
> Thank you very much for your time, I will be waiting for your kind
> responses.
>
> Greetings.

-- 
Joshua Branson (joshuaBPMan in #guix)
Sent from Emacs and Gnus
  https://gnucode.me
  https://video.hardlimit.com/accounts/joshua_branson/video-channels
  https://propernaming.org
  "You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar
  


  reply	other threads:[~2021-04-14 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 23:10 How to compile native? Charles Direg
2021-04-14 18:31 ` Joshua Branson [this message]
2021-04-14 18:45   ` Vincent Legoll
2021-04-14 19:18     ` Xinglu Chen

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=87v98o90pv.fsf@dismail.de \
    --to=jbranso@dismail.de \
    --cc=carloshujara@gmail.com \
    --cc=help-guix@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.
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).