summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-04 17:06:17 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-04 17:07:15 +0200
commit388cf3066e5b51e59fbae8f7ee07921af42fcdea (patch)
treea34b39357bcaec655b7c94b95b158e1521ee5352 /etc
parentae11fcb84ac478dfa56d322ef08890645183a087 (diff)
news: Add entry for '--with-configure-flag'.
* etc/news.scm: Add entry.
Diffstat (limited to 'etc')
-rw-r--r--etc/news.scm30
1 files changed, 30 insertions, 0 deletions
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")