git: c94edcebb6 - main - [phb] Document USES=llvm

From: Fernando Apesteguía <>
Date: Sun, 18 Dec 2022 18:09:19 UTC
The branch main has been updated by fernape:


commit c94edcebb622c4a35405f591f242132db534cd7b
Author:     Fernando Apesteguía <>
AuthorDate: 2022-12-18 16:29:36 +0000
Commit:     Fernando Apesteguía <>
CommitDate: 2022-12-18 17:06:16 +0000

    [phb] Document USES=llvm
    Which was introduced in:
    Reviewed by:    tcberner@
    Differential Revision:
 .../en/books/porters-handbook/uses/_index.adoc     | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index eb30fe397d..ff44f7ae20 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -1075,6 +1075,30 @@ Specify `c7` to depend on CentOS 7 packages. The available packages are:
 * `ucl`
 * `xorglibs`
+== `llvm`
+Possible arguments: (none), `_XY_`, min=`_XY_`, max=`_XY_`, build, run, lib
+Adds a dependency on LLVM.
+By default this is a build dependency unless overridden by the `run` or `lib`
+The default version is the one set in `LLVM_DEFAULT`. A specific version can be
+specified as well. The minimum and maximum versions can be specified with the
+`min` and `max` parameters respectively.
+The ports framework export the following variables to the port:
+Version chosen from the arguments to
+Chosen llvm port
+llvm-config of the chosen port
+`LLVM_LIBLLVM`:: of the chosen port
+Installation prefix of the chosen port
 == `localbase`