Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2022 09:49:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 264783] graphics/mesa-dri pulls in the entire llvm package
Message-ID:  <bug-264783-7141-GK7hvyKtQM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264783-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264783-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264783

--- Comment #7 from Alexey Dokuchaev <danfe@FreeBSD.org> ---
(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 stretchab=
le
these days, unfortunately) but in any case, requiring a typical user to ins=
tall
multiple LLVM ports is acceptable for a -devel port, less so for the mainli=
ne
one.

> There is more component than swrast that requires llvm in mesa (crocus/ir=
is
> /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 =3D '>=3D 11.0.0'
elif with_clc
  _llvm_version =3D '>=3D 10.0.0'
elif with_gallium_opencl
  _llvm_version =3D '>=3D 8.0.0'
elif with_gallium_swr
  _llvm_version =3D '>=3D 6.0.0'
else
  _llvm_version =3D '>=3D 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).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264783-7141-GK7hvyKtQM>