Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166912528
D37737.id114256.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37737.id114256.diff
View Options
diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -1075,6 +1075,30 @@
* `ucl`
* `xorglibs`
+[[uses-llvm]]
+== `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`
+options.
+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:
+
+`LLVM_VERSION`::
+Version chosen from the arguments to llvm.mk
+`LLVM_PORT`::
+Chosen llvm port
+`LLVM_CONFIG`::
+llvm-config of the chosen port
+`LLVM_LIBLLVM`::
+libLLVM.so of the chosen port
+`LLVM_PREFIX`::
+Installation prefix of the chosen port
+
[[uses-localbase]]
== `localbase`
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 5:40 PM (26 m, 35 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36902031
Default Alt Text
D37737.id114256.diff (1 KB)
Attached To
Mode
D37737: [phb] Document USES=llvm
Attached
Detach File
Event Timeline
Log In to Comment