From 8e96dd519e25f84ec9838757be67ad6b8c727909 Mon Sep 17 00:00:00 2001 From: Ushitora Anqou Date: Fri, 1 May 2020 20:23:27 +0900 Subject: [PATCH] [Makefile] Don't run Yosys in parallel --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4afc645..98f66d1 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,10 @@ build/cahp-diamond/vsp-core-no-ram-rom.json: build/cahp-diamond build/yosys cd build/cahp-diamond && \ ../yosys/yosys build-no-ram-rom.ys -build/cahp-emerald/vsp-core-no-ram-rom.json: build/cahp-emerald build/yosys +# NOTE: build/cahp-diamond/vsp-core-no-ram-rom.json is "fake" dependency; +# Without this the builds for Diamond and Emerald will run in parallel +# to consume too much memory. +build/cahp-emerald/vsp-core-no-ram-rom.json: build/cahp-emerald build/yosys build/cahp-diamond/vsp-core-no-ram-rom.json cd build/cahp-emerald && \ ../yosys/yosys build-no-ram-rom.ys