DEFAULT_VERSIONS+=llvm=90 ignored?

Mark Millard marklmi at yahoo.com
Sat Dec 5 19:05:15 UTC 2020



On 2020-Dec-5, at 07:02, Steve Kargl <sgk at troutmask.apl.washington.edu> wrote:

> On Sat, Dec 05, 2020 at 01:18:34AM -0800, Mark Millard wrote:
>> Steve Kargl sgk at troutmask.apl.washington.edu wrote on:
>>> 
>>> Well, I guess that pretty much kills LLVM_DEFAULT for any
>>> modern hardware (even a 8 year old laptop) that uses drm
>>> unless a user wants base-system llvm, llvm90, and llvm10 
>>> installed.  One will certainly be able to compile any
>>> c/c++ thrown ones way.
>> 
>> LLVM's API seems to be unstable enough from LLVM release to
>> LLVM release that maintaining many-release build compatibility
>> for projects using the LLVM API is not all that common.
> 
> I'm well aware the llvm API instability, which comes back
> to the irrelevance of LLVM_DEFAULT.  Someday llvm may get
> it's act together.

I frequently have LLVM set to more recent than the
from-svn /usr/ports/Mk/bsd.default-versions.mk
indicates, for other reasons than minimizing the
number of LLVM builds/installs. Seems to work fine
for such in my limited context.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-ports mailing list