6 # We need to control the version of llvm-config we're using, so we'll
7 # generate a native file to do so. This requires meson >=0.49
8 if test -n "$LLVM_VERSION"; then
9 LLVM_CONFIG
="llvm-config-${LLVM_VERSION}"
10 echo -e "[binaries]\nllvm-config = '`which $LLVM_CONFIG`'" > native.
file
11 $LLVM_CONFIG --version
18 meson _build
--native-file=native.
file \
21 -D libunwind
=${UNWIND} \
23 -D dri-drivers
=${DRI_DRIVERS:-[]} \
25 -D gallium-drivers
=${GALLIUM_DRIVERS:-[]} \
26 -D vulkan-drivers
=${VULKAN_DRIVERS:-[]} \
27 -D I-love-half-baked-turnips
=true \
32 LC_ALL
=C.UTF-8 ninja
test
33 DESTDIR
=$PWD/..
/install ninja
install