Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Dec 2020 17:59:17 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: editors/vim needs devel/llvm90 and devel/llvm10
Message-ID:  <a6uw-ta8q-wny@FreeBSD.org>
In-Reply-To: <X8e%2BtuUb3OClANgp@graf.pompo.net> (Thierry Thomas's message of "Wed, 2 Dec 2020 17:20:06 %2B0100")
References:  <20201130222755.GA16476@c720-r342378> <CAP7rwchpdBAQZ99D_ixydRzN1gi8xeeft5Zq4dC4Wdvpr97y%2Bg@mail.gmail.com> <20201202115047.GA12360@c720-r342378> <5z5k-1cbb-wny@FreeBSD.org> <wny0-z17f-wny@FreeBSD.org> <X8e49SvKu5zC%2BSvG@rpi4.local> <X8e%2BtuUb3OClANgp@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thierry Thomas <thierry@freebsd.org> writes:

> Le mer.  2 d=C3=A9c. 20 =C3=A0 16:55:33 +0100, tech-lists <tech-lists@zyx=
st.net>
>  =C3=A9crivait=C2=A0:
>
>> Hi,
>
>> Is there a minimum version/maximum version listed in dependencies that=20
>> one can filter on? Is it the case that some ports want eg llvm8 and=20
>> *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=C2=B4m wondering why a dependency on a port of llvm is needed (let=
=C2=B4s
> say 10 or 11), even when the compiler in base has the same version.

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

https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalled



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a6uw-ta8q-wny>