hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 66e5280e484eaa7b2ab316bf1586b9b61412901f
parent 8d45e8e912e27702d05a3a6da32e6b8808f0ad02
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  2 Jan 2023 12:20:32 +0100

Makefile: add workaround for parallel build bugs

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
MMakefile | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -74,7 +74,11 @@ $(BINOUT)/harec2: $(BINOUT)/hare $(harec_srcs) @env HAREPATH=. HAREC=$(HAREC) QBE=$(QBE) $(BINOUT)/hare build \ $(HARE_DEFINES) -o $(BINOUT)/harec2 cmd/harec -$(BINOUT)/haredoc: $(BINOUT)/hare $(haredoc_srcs) +# Prevent $(BINOUT)/hare from running builds in parallel, workaround for build +# driver bugs +PARALLEL_HACK=$(BINOUT)/harec2 + +$(BINOUT)/haredoc: $(BINOUT)/hare $(haredoc_srcs) $(PARALLEL_HACK) @mkdir -p $(BINOUT) @printf 'HARE\t%s\n' "$@" @env HAREPATH=. HAREC=$(HAREC) QBE=$(QBE) $(BINOUT)/hare build \