From: Sarthak Shah <shahsarthakw@gmail.com>
To: "Marek Paśnikowski" <marek@marekpasnikowski.pl>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Global modification of #:make-flags
Date: Tue, 20 Aug 2024 15:59:10 +0530 [thread overview]
Message-ID: <CADBZEV=u1_toNNCFgpHSk=YWAA8b=woXRkSt+FrPuxEA4G1cxA@mail.gmail.com> (raw)
In-Reply-To: <87jzgbo6hp.fsf@marekpasnikowski.pl>
[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]
Hey Marek,
You might find my work on Parameterized Packages interesting:
https://blog.lispy.tech/parameterized-packages-the-project-completion-update.html
Unfortunately, it hasn't been merged into the main branch yet, however you
should be able to make everything use -Os with the patch.
Regards,
Sarthak.
On Tue, Aug 20, 2024, 15:35 Marek Paśnikowski <marek@marekpasnikowski.pl>
wrote:
> 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
>
>
[-- Attachment #2: Type: text/html, Size: 2074 bytes --]
next prev parent reply other threads:[~2024-08-20 10:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 10:04 Global modification of #:make-flags Marek Paśnikowski
2024-08-20 10:29 ` Sarthak Shah [this message]
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='CADBZEV=u1_toNNCFgpHSk=YWAA8b=woXRkSt+FrPuxEA4G1cxA@mail.gmail.com' \
--to=shahsarthakw@gmail.com \
--cc=guix-devel@gnu.org \
--cc=marek@marekpasnikowski.pl \
/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.