Skip to content
Snippets Groups Projects
Commit 5157a427 authored by Dylan Baker's avatar Dylan Baker
Browse files

meson: Add support for using cmake for finding LLVM


Meson has support for using cmake as a finder for some dependencies,
including LLVM. Using cmake has a lot of advantages: it needs less meson
maintenance to keep working (even for llvm updates); it works more
sanely for cross compiles (as llvm-config is a compiled binary not a
shell script). Meson 0.51.0 also has a new generic variable getter that
can be used to get information from either cmake, pkg-config, or
config-tools dependencies, which is needed for cmake. We continue to
support using llvm-config if you don't have cmake installed, or if cmake
cannot find a suitable version.

Fixes: 0d594594
       ("meson: Force the use of config-tool for llvm")
Reviewed-by: default avatarEric Engestrom <eric.engestrom@intel.com>
parent 3d3685d3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment