clover/meson: Ignore 'svn' suffix when computing CLANG_RESOURCE_DIR
authorPierre Moreau <pierre.morrow@free.fr>
Mon, 7 Jan 2019 20:30:17 +0000 (21:30 +0100)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 8 Jan 2019 16:53:38 +0000 (08:53 -0800)
commitba55cb2bcd40a71fcdaecff397bceebd8a62a60b
tree99a20cf3a62f30e1016ead58b2a02163bbf350b0
parentadd5a2ec92f4b3f7ac8353e5986dc04186a7b6da
clover/meson: Ignore 'svn' suffix when computing CLANG_RESOURCE_DIR

The version exported by LLVM in its CMake configuration files can
include the “svn” suffix when building a development version (for
example “8.0.0svn”). However the exported clang headers are still found
under “lib/clang/8.0.0/”, without the “svn” suffix.
Meson takes care of removing the “svn” suffix from the version when
using the dependency’s `version()` method.

This processing is already performed in “configure.ac” when using
autotools.

Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/gallium/state_trackers/clover/meson.build