diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2020-07-02 14:52:34 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2020-07-08 11:58:10 +0200 |
commit | f8cfbc1bc22c06835e9ea7b0cab41a8f25b523ba (patch) | |
tree | 2ad83773791fafb3b94fc9132a488fafb54026ed /Makefile | |
parent | fdaa2a3e7269ab5fc6fade4ac56699ad21de1bda (diff) | |
download | compcert-kvx-f8cfbc1bc22c06835e9ea7b0cab41a8f25b523ba.tar.gz compcert-kvx-f8cfbc1bc22c06835e9ea7b0cab41a8f25b523ba.zip |
Introduce additional "branch" build information.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -19,6 +19,7 @@ include VERSION BUILDVERSION ?= $(version) BUILDNR ?= $(buildnr) TAG ?= $(tag) +BRANCH ?= $(branch) ifeq ($(wildcard $(ARCH)_$(BITSIZE)),) ARCHDIRS=$(ARCH) @@ -238,12 +239,14 @@ compcert.config: Makefile.config echo "COMPCERT_VERSION=$(BUILDVERSION)"; \ echo "COMPCERT_BUILDNR=$(BUILDNR)"; \ echo "COMPCERT_TAG=$(TAG)" \ + echo "COMPCERT_BRANCH=$(BRANCH)" \ ) > compcert.config driver/Version.ml: VERSION (echo 'let version = "$(BUILDVERSION)"'; \ echo 'let buildnr = "$(BUILDNR)"'; \ - echo 'let tag = "$(TAG)"';) > driver/Version.ml + echo 'let tag = "$(TAG)"'; \ + echo 'let branch = "$(BRANCH)"') > driver/Version.ml cparser/Parser.v: cparser/Parser.vy @rm -f $@ |