From 388cf3066e5b51e59fbae8f7ee07921af42fcdea Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 4 May 2023 17:06:17 +0200 Subject: news: Add entry for '--with-configure-flag'. * etc/news.scm: Add entry. --- etc/news.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/etc/news.scm b/etc/news.scm index 9f164e5e07..22f04e4dae 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -26,6 +26,36 @@ (channel-news (version 0) + (entry (commit "ae11fcb84ac478dfa56d322ef08890645183a087") + (title + (en "New @option{--with-configure-flag} transformation option") + (fr "Nouvelle option de transformation @option{--with-configure-flag}")) + (body + (en "The new @option{--with-configure-flag} package transformation +option lets you pass an additional configure flag to the build system of a +package. For instance, here is how you would pass a flag to @command{cmake}, +the build system of the @code{lapack} package: + +@example +guix build lapack \\ + --with-configure-flag=lapack=-DBUILD_COMPLEX=OFF +@end example + +Run @command{info \"(guix) Package Transformation Options\"} for more info.") + (fr "La nouvelle option de transformation de paquets +@option{--with-configure-flag} permet de passer un drapeau supplémentaire au +système de construction d'un paquet. Par exemple, voici comment on passerait +un drapeau à @command{cmake}, le système de construction du logiciel +@code{lapack} : + +@example +guix build lapack \\ + --with-configure-flag=lapack=-DBUILD_COMPLEX=OFF +@end example + +Voir @command{info \"(guix.fr) Options de transformation de paquets\"} pour +plus de détails."))) + (entry (commit "c919bfefd98bf2e29549539b4e28e6dc2a8a6f32") (title (en "Core packages updated") -- cgit v1.2.3