Re: git: 4df0e66a3662 - main - llvm.mk: add export/noexport to handle CC/CXX/CPP exports

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Wed, 13 Sep 2023 11:07:49 UTC
On Wed, Sep 13, 2023 at 1:48 PM Emmanuel Vadot <manu@bidouilliste.com> wrote:
>
>  Why ? I'm not familiar with those port but if you add USES=llvm it
> will add a build dependancy on llvm, so why would you want to do that
> if the port will be build with base llvm ?

KDevelop is an IDE and uses libclang to parse C/C++ sources. There is
no requirement that libclang should be of the same version as the
clang that was used to compile the port. Moreover, the port itself can
be build with GCC too, but still use libclang at the runtime.

KLEE is a LLVM IR interpreter so it uses libLLVM.so, but again the
port itself can be compiled with whatever user likes. There is no
reason to require building it with ports LLVM.