[Pkg-opencl-devel] [beignet] 01/01: Automatically match mesa's LLVM version

Andreas Beckmann anbe at debian.org
Sat Apr 30 20:48:57 UTC 2016


On 2016-04-30 22:19, Rebecca Palmer wrote:
> +LLVM_VERSION:=$(shell apt-cache depends libgl1-mesa-dri | grep -o -e "Depends: libllvm[0-9.]*" | grep -o -e "[0-9.]*")

NACK for apt-cache
query a package in the Build-Depends (add one if needed)

dpkg-query -W -f '$${Depends}' libgl1-mesa-dri:$(SOME_VARIABLE_WITH_THE_DPKG_ARCHITECTURE) | tr , '\n' | sed -r 's/.*libllvm([0-9.]*).*/\1/p;d'


Andreas



More information about the Pkg-opencl-devel mailing list