travis: make Meson find the proper llvm-config

Graphics / Mesa 3D Graphics Library / Mesa - Andres Gomez [] - 1 March 2018 10:21 EST

Travis CI has moved to LLVM 5.0, and meson is detecting automatically the available version in /usr/local/bin based on the PATH env variable order preference.

As for 0.44.x, Meson cannot receive the path to the llvm-config binary as a configuration parameter. See and

We want to use the custom (APT) installed version. Therefore, let's make Meson find our wanted version sooner than the one at /usr/local/bin

Once this is corrected, we would still need a patch similar to:

v2: Create the link only to the specificly wanted LLVM version (Gert).

Cc: Eric Engestrom Cc: Dylan Baker Cc: Emil Velikov Cc: Juan A. Suarez Romero Cc: Gert Wollny Cc: Jon Turney

b5b912dfee travis: make Meson find the proper llvm-config
.travis.yml | 30 ++++++++++++++++++++++++++----
1 file changed, 26 insertions(+), 4 deletions(-)


  • Share