editors/vim needs devel/llvm90 and devel/llvm10

Jan Beich jbeich at FreeBSD.org
Wed Dec 2 16:59:22 UTC 2020


Thierry Thomas <thierry at freebsd.org> writes:

> Le mer.  2 déc. 20 à 16:55:33 +0100, tech-lists <tech-lists at zyxst.net>
>  écrivait :
>
>> Hi,
>
>> Is there a minimum version/maximum version listed in dependencies that 
>> one can filter on? Is it the case that some ports want eg llvm8 and 
>> *only* that version? Is llvm11 incompatible with llvm9 for example?

Everything *not* on LLVM_DEFAULT train is likely incompatible e.g.,
breaking API changes or new compiler errors. Version checks may exist in
vendor code but rarely exposed in ports due to extra maintainence cost
for what is rarely tested non-default configuration.

Try removing such dependencies to understand why. There's no generic answer.

> Yes, some ports might be incompatible with some versions.
>
> But I´m wondering why a dependency on a port of llvm is needed (let´s
> say 10 or 11), even when the compiler in base has the same version.

LLVM != Clang. Clang != libclang. Many consumers need libraries or
additional backends. If you want to avoid duplication remove crippled
base Clang.

https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalled


More information about the freebsd-ports mailing list