[Mesa-dev] [PATCH 08/12] configure.ac: deprecate --with-llvm-prefix

Emil Velikov emil.l.velikov at gmail.com
Wed Oct 31 18:40:47 UTC 2018


On Wed, 31 Oct 2018 at 17:41, Jan Vesely <jan.vesely at rutgers.edu> wrote:
>
> On Wed, 2018-10-31 at 17:22 +0000, Emil Velikov wrote:
> > On Wed, 31 Oct 2018 at 16:24, Michel Dänzer <michel at daenzer.net> wrote:
> > > On 2018-10-31 5:19 p.m., Jan Vesely wrote:
> > > > On Wed, 2018-10-31 at 13:30 +0000, Emil Velikov wrote:
> > > > > From: Emil Velikov <emil.velikov at collabora.com>
> > > > >
> > > > > The option has been long superseded with LLVM_CONFIG.
> > > > > Distributions have been using it for a couple of years now.
> > > >
> > > > I've been using it in my configure setup.
> > >
> > > Same here.
> > >
> > Have you tried LLVM_CONFIG, does it not work on your setup?
> > Alternatively can you update the your scripts, I can provide a patch
> > if you prefer.
>
> I'm testing mesa/clover for llvm-{5,6,7,git} on three machines, before
> I start migrating all that setup I wanted to know if a capability is
> lost and I should start rewriting the scripts or a simple reconfigure
> in build directories is enough.
>
No capability is lost here.

> > Even Debian (which I personally consider fairly conservative) has been
> > using it for a minimum of two years.
> > https://salsa.debian.org/xorg-team/lib/mesa/commit/436b3472adde14b22e9ce204820dab417cfe00c6
>
> I'm sorry. This is completely irrelevant. I don't care what distros
> use, I build from source.
>

<being silly>
Hope you don't do the whole distro...

Although I guess I'm may be an exception by keeping an eye what "my"
distro does ;-)
</being silly>

> > > > This might be a stupid question; is the LLVM_CONFIG env var remembered
> > > > between reconfigure (touch configure.ac; make) or do I need to provide
> > > > it explicitly every time configure is run?
> > >
> > > I don't know the answer, but agree that would be a minimum requirement
> > > for this change.
> > >
> > Nope, yet it's not really a minimum. LLVM_CONFIG has been around for
> > years, it will work for any Mesa checkout since its inception.
> > You can safely bisect Mesa and things will just work.
>
> The question is; Do I have to do "LLVM_CONFIG=..." make every time
> bisect changes configure.ac?
>
You can do (although there's other options if this one seems weird)

$ LLVM_CONFIG=... ../autogen.sh

HTH
Emil


More information about the mesa-dev mailing list