[Mesa-dev] [PATCH 2/2] travis: make Meson find the proper llvm-config

Andres Gomez agomez at igalia.com
Wed Feb 28 20:30:16 UTC 2018


On Wed, 2018-02-28 at 18:53 +0100, Gert Wollny wrote:
> Am Mittwoch, den 28.02.2018, 17:52 +0200 schrieb Andres Gomez:

[...]

> > 
+      test -f /usr/bin/llvm-config && ln -s /usr/bin/llvm-config
> > $HOME/prefix/bin
> 
> I'm not sure how the toolchain packages on travis are created and maybe
> what I'm writing here is irrelevant, but at least on Debian llvm-config 
> is provided by the package llvm that depends on llvm-X.Y with some
> version X.Y and it is a symlink to the corresponding llvm-config-X.Y
> file. Which version X.Y that actually is depends on what the
> maintainers of llvm decide to be the current default version. In
> current Debian/sid this is llvm-4.0.
> 
> Hence, to be sure to get the desired version X,Y of llvm I'd install
> the according llvm-X.Y package, set LLVM_CONFIG like it is already done
> for the make builds and then do:
> 
>   test -f /usr/bin/${LLVM_CONFIG} && \
>           ln -s /usr/bin/${LLVM_CONFIG}  $HOME/prefix/bin/llvm-config 

I think it makes sense. I will send a new version.

Thanks!

-- 
Br,

Andres
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180228/14e4b883/attachment.sig>


More information about the mesa-dev mailing list