From: "Marek Paśnikowski" <marek@marekpasnikowski.pl>
To: guix-devel@gnu.org
Subject: Global modification of #:make-flags
Date: Tue, 20 Aug 2024 12:04:18 +0200 [thread overview]
Message-ID: <87jzgbo6hp.fsf@marekpasnikowski.pl> (raw)
Hello
In order to prevent the XY problem, here is my goal: Rebuild the entire
system with -Os optimization level. It is an experiment into viability
of hardware-targeted optimizations.
The [2.1 Packaging Tutorial][1] of the Cookbook mentions that it is
possible to pass a #:make-flags argument to a list of packages.
Unfortunately, no explanation is given how to implement this
functionality, and which exactly lists of packages does it apply to.
Does the Guix System have a facility similar to Gentoo's [make.conf][2],
where a default optimization set can be declared? A potential problem is
with packages that are dependencies of services, like %desktop-services.
I hope those also would inherit the changes.
[1]: https://guix.gnu.org/cookbook/en/html_node/Packaging-Tutorial.html
[2]: https://wiki.gentoo.org/wiki//etc/portage/make.conf#CFLAGS_and_CXXFLAGS
next reply other threads:[~2024-08-20 10:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 10:04 Marek Paśnikowski [this message]
2024-08-20 10:29 ` Global modification of #:make-flags Sarthak Shah
2024-08-20 13:13 ` Suhail Singh
2024-08-20 23:42 ` Sarthak Shah
2024-08-21 6:54 ` Suhail Singh
2024-08-21 7:27 ` Sarthak Shah
2024-08-21 14:37 ` Suhail Singh
2024-08-22 16:14 ` Sergio Pastor Pérez
2024-08-23 9:01 ` Sarthak Shah
2024-08-21 7:09 ` Marek Paśnikowski
2024-08-21 7:21 ` Sarthak Shah
2024-08-21 7:34 ` Marek Paśnikowski
2024-08-21 7:45 ` Sarthak Shah
2024-08-21 8:42 ` Marek Paśnikowski
2024-08-21 21:00 ` Ludovic Courtès
2024-09-06 16:27 ` Marek Paśnikowski
2024-08-22 16:35 ` Sergio Pastor Pérez
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=87jzgbo6hp.fsf@marekpasnikowski.pl \
--to=marek@marekpasnikowski.pl \
--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.