[Bug 264783] graphics/mesa-dri pulls in the entire llvm package

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264783

--- Comment #7 from Alexey Dokuchaev <[email protected]> ---
(In reply to Emmanuel Vadot from comment #6)
> Unless you want us to stay on very old version of mesa this will never
> happens.
It depends on the particular definition of "very old" (it's quite stretchable
these days, unfortunately) but in any case, requiring a typical user to install
multiple LLVM ports is acceptable for a -devel port, less so for the mainline
one.

> There is more component than swrast that requires llvm in mesa (crocus/iris
> /clover/etc ...) and they all require a higher version of llvm than
> LLVM_DEFAULT.
Per what I'm reading in the mesa-21.3.8/meson.build, our current version:

if with_amd_vk or with_gallium_radeonsi
  _llvm_version = '>= 11.0.0'
elif with_clc
  _llvm_version = '>= 10.0.0'
elif with_gallium_opencl
  _llvm_version = '>= 8.0.0'
elif with_gallium_swr
  _llvm_version = '>= 6.0.0'
else
  _llvm_version = '>= 3.9.0'
endif

Doesn't look like "they all require a higher version" to me, I see just two,
and wondering if that 10.0.0 can be easily downgraded to nine (I care less for
the topmost eleven since I don't have appropriate hardware).

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.