mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-12 11:27:43 +00:00
d/rules: Check for previous version of llvm-spirv as well
Signed-off-by: Jordan Justen <jljusten@debian.org>
This commit is contained in:
parent
c01c35efe8
commit
5befbff174
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -7,6 +7,7 @@ llvm-toolchain-15 (1:15.0.3-3) UNRELEASED; urgency=medium
|
||||
* d/rules: Set LLVM_SPIRV with cmake for libclc
|
||||
* d/patches: Drop libclc-llvm-spirv.diff now that we are setting LLVM_SPIRV
|
||||
* d/rules: Restore building libclc .bc output without spir-v support
|
||||
* d/rules: Check for previous version of llvm-spirv as well
|
||||
|
||||
-- Jordan Justen <jljusten@debian.org> Sun, 30 Oct 2022 00:26:40 -0700
|
||||
|
||||
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -245,6 +245,10 @@ endif
|
||||
|
||||
LLVM_SPIRV_VERSION := $(LLVM_VERSION)
|
||||
LLVM_SPIRV := $(shell bash -c "command -v llvm-spirv-$(LLVM_SPIRV_VERSION)" 2>/dev/null)
|
||||
ifndef LLVM_SPIRV
|
||||
LLVM_SPIRV_VERSION := $(shell expr $(LLVM_VERSION) - 1)
|
||||
LLVM_SPIRV := $(shell bash -c "command -v llvm-spirv-$(LLVM_SPIRV_VERSION)" 2>/dev/null)
|
||||
endif
|
||||
|
||||
ifndef LLVM_SPIRV
|
||||
LLVM_SPIRV_INSTALLED = no
|
||||
|
Loading…
Reference in New Issue
Block a user