Versions of LLVM

There are many versions of llvm in the ports tree.

This page discusses the list of ports that we should try to update to reduce the dependencies.

Current versions in the tree

/!\ The usage column does not include ports that hardwire the version. See HardcodedLLVMVersions for that list.

port

usage

status

comments

llvm60

fallback via USES=xyz for GCC-based systems

obsolete

defined in Uses/compiler.mk

llvm70

USES=obj (mostly gnustep-derived ports)

obsolete

defined in Mk/Uses/objc.mk; last changed as of r492056

llvm80

still widely used

supported

llvm90

tree-wide default

supported

defined in Mk/bsd.default-versions.mk

Dependency statistics

Processing INDEX-13 20191202 (and deleting self-references) produces:

      25 /tmp/llvm6
      37 /tmp/llvm7
     206 /tmp/llvm8
      54 /tmp/llvm9

Default version

For architectures that support llvm in base, the default version is determined by whatever is installed in base.

For other architectures, if a port sets USES=compiler, clang60 will be set if:

See Mk/Uses/compiler.mk for the code.


CategoryPorts CategoryTodo

ObsoleteLLVMVersions (last edited 2019-12-02T07:41:39+0000 by MarkLinimon)