mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-22 22:18:23 +00:00
d/rules: Call bash to use 'command -v' to location llvm-spirv executable
Signed-off-by: Jordan Justen <jljusten@debian.org>
This commit is contained in:
parent
34a7ac73ed
commit
0951f69405
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -5,6 +5,9 @@ llvm-toolchain-13 (1:13.0.1-8) UNRELEASED; urgency=medium
|
|||||||
as llvm-spir is too old on these version.
|
as llvm-spir is too old on these version.
|
||||||
See bug #52200
|
See bug #52200
|
||||||
|
|
||||||
|
[ Jordan Justen ]
|
||||||
|
* d/rules: Call bash to use 'command -v' to location llvm-spirv executable
|
||||||
|
|
||||||
-- Jordan Justen <jljusten@debian.org> Wed, 26 Oct 2022 10:13:59 -0700
|
-- Jordan Justen <jljusten@debian.org> Wed, 26 Oct 2022 10:13:59 -0700
|
||||||
|
|
||||||
llvm-toolchain-13 (1:13.0.1-7) unstable; urgency=medium
|
llvm-toolchain-13 (1:13.0.1-7) unstable; urgency=medium
|
||||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -214,8 +214,10 @@ else
|
|||||||
control_vars = '-Vdep:devlibs=libstdc++6-$(GCC_VERSION)-dev'
|
control_vars = '-Vdep:devlibs=libstdc++6-$(GCC_VERSION)-dev'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(shell command -v llvm-spirv),)
|
LLVM_SPIRV := $(shell bash -c "command -v llvm-spirv" 2>/dev/null)
|
||||||
LLVM_SPIRV_INSTALLED = no
|
|
||||||
|
ifndef LLVM_SPIRV
|
||||||
|
LLVM_SPIRV_INSTALLED = no
|
||||||
else
|
else
|
||||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' llvm-spirv) gt 10.0.0 ; echo $$?),0)
|
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' llvm-spirv) gt 10.0.0 ; echo $$?),0)
|
||||||
# Too old llvm-spirv version are failing. See #52200
|
# Too old llvm-spirv version are failing. See #52200
|
||||||
|
Loading…
Reference in New Issue
Block a user