obsoletellvmversions

This is an old revision of the document!


There are many versions of llvm in the ports tree.

  • It is painful for builders (especially the ones using qemu) to have so many versions.
  • Some only exist to satisfy dependencies.

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

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

port usage status comments
llvm60 was fallback via USES=xyz for GCC-based systems obsolete was 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

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

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

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:

  • COMPILER_ARGS:Mc++17-lang
  • COMPILER_ARGS:Mc++14-lang
  • COMPILER_ARGS:Mc++11-lang
  • COMPILER_ARGS:Mc++0x
  • COMPILER_ARGS:Mc11

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

all the below has become obsolete 20191202:

port dependency upstream URL upstream at later version? comments

:!: TODO add more 20190807

:!: These data are stale.

Here are the data from powerpc64 INDEX-13 built 20181214. As of this date, the base compiler is still gcc4.2.1.

llvm40 5
llvm60 169
llvm70 13

  • obsoletellvmversions.1611475319.txt.gz
  • Last modified: 2021/01/24 08:01
  • by MarkLinimon