mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 14:48:35 +00:00
add a check to break the build if we don't find clang-X.Y
This commit is contained in:
parent
271e1d1128
commit
07c09b9d6c
8
debian/rules
vendored
8
debian/rules
vendored
@ -580,6 +580,14 @@ endif
|
|||||||
sed -i -e "s|#grpc\ ||g" debian/libclang-$(LLVM_VERSION)-dev.install; \
|
sed -i -e "s|#grpc\ ||g" debian/libclang-$(LLVM_VERSION)-dev.install; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! dh_listpackages|grep -q clang-$(LLVM_VERSION); then \
|
||||||
|
echo "Could not find clang-$(LLVM_VERSION) in the list of packages"; \
|
||||||
|
echo "Refresh debian/control ?"; \
|
||||||
|
echo "Package list:"; \
|
||||||
|
dh_listpackages; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
|
||||||
# Override this two targets. They are trying to manage the .in conversion for me
|
# Override this two targets. They are trying to manage the .in conversion for me
|
||||||
override_dh_ocamlinit:
|
override_dh_ocamlinit:
|
||||||
override_dh_ocamlclean:
|
override_dh_ocamlclean:
|
||||||
|
Loading…
Reference in New Issue
Block a user