mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-19 20:34:20 +00:00
fix the version detection
This commit is contained in:
parent
a1442f1a02
commit
c5dd54428d
2
debian/rules
vendored
2
debian/rules
vendored
@ -15,7 +15,7 @@ GCC_VERSION := $(subst /usr/bin/g++-,,$(GXX_VERSIONED_EXECUTABLE))
|
||||
LLVM_EPOCH := 1:
|
||||
LLVM_VERSION := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9]+).*,\1,p")
|
||||
LLVM_VERSION_FULL := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9.]+)(~|-)(.*),\1,p")
|
||||
LLVM_VERSION_MINOR := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:[0-9]+\.(.*)\..*,\1,p")
|
||||
LLVM_VERSION_MINOR := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:[0-9]+\.([0-9]+)\.[0-9]+.*,\1,p")
|
||||
LLVM_VERSION_SNAPSHOT := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:(.*),\1,p")
|
||||
ifeq ($(LLVM_VERSION),$(LLVM_VERSION_FULL))
|
||||
LLVM_VERSION_FULL := $(LLVM_VERSION).0.0
|
||||
|
Loading…
Reference in New Issue
Block a user