From 52e8334d61a7d500dbd2bfc19cc8a1524c06834a Mon Sep 17 00:00:00 2001 From: kareefardi Date: Thu, 17 Aug 2023 21:31:42 +0300 Subject: [PATCH] log level WARN for CI --- openlane/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openlane/Makefile b/openlane/Makefile index fbd1a3a2c..c1854a76b 100644 --- a/openlane/Makefile +++ b/openlane/Makefile @@ -57,6 +57,7 @@ ifeq ($(OPENLANE_USE_NIX),0) endif docker_startup_mode = $(shell test -t 0 && echo "-it" || echo "--rm" ) +openlane_extra_args = $(shell test -t 0 && echo "--log-level WARN") docker_run = \ docker run $(docker_startup_mode) \ $(USER_ARGS) \ @@ -72,9 +73,9 @@ $(designs) : % : ./%/config.json # $(current_design) rm -rf ./$*/runs/$(OPENLANE_RUN_TAG) ifeq ($(OPENLANE_USE_NIX),1) - nix-shell --pure --command "openlane $(openlane_args)" + nix-shell --pure --command "openlane $(openlane_args) $(openlane_extra_args)" else - ../openlane-venv/bin/python3 -m openlane $(docker_mounts) --dockerized $(openlane_args) + ../openlane-venv/bin/python3 -m openlane $(docker_mounts) --dockerized $(openlane_args) $(openlane_extra_args) endif mkdir -p ./$*/runs/$(OPENLANE_RUN_TAG) rm -rf ./$*/runs/$*