Skip to content

Commit

Permalink
log level WARN for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kareefardi committed Aug 17, 2023
1 parent 8d69e2c commit 52e8334
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openlane/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand All @@ -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/$*
Expand Down

0 comments on commit 52e8334

Please sign in to comment.