disable spv files too

This commit is contained in:
Sylvestre Ledru 2023-11-11 20:09:55 +01:00
parent 056802f7cd
commit 43c7b3b296

6
debian/rules vendored
View File

@ -577,12 +577,12 @@ preconfigure:
debian/llvm-$(LLVM_VERSION)-linker-tools.links \ debian/llvm-$(LLVM_VERSION)-linker-tools.links \
debian/libbolt-$(LLVM_VERSION)-dev.install debian/libbolt-$(LLVM_VERSION)-dev.install
ifdef LLVM_SPIRV
# llvm-spirv was found, so we can enable *.spv files. Debian # llvm-spirv was found, so we can enable *.spv files. Debian
# buster and Ubuntu 18.04 don't have llvm-spirv to create the # buster and Ubuntu 18.04 don't have llvm-spirv to create the
# *.spv files. # *.spv files.
sed -i -e "s|#spv\ ||g" debian/libclc-$(LLVM_VERSION).install if test "$(LLVM_SPIRV_INSTALLED)" = "no"; then \
endif sed -i -e "s|#spv\ ||g" debian/libclc-$(LLVM_VERSION).install; \
fi
# disable libc++-X.Y-dev-wasm32.install.in on old distro # disable libc++-X.Y-dev-wasm32.install.in on old distro
if test "$(LIBCXX_WASM_ENABLE)" = "no"; then \ if test "$(LIBCXX_WASM_ENABLE)" = "no"; then \