From 5d619d6a930bbcd0577f0de896f43a6ada735bfa Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Sun, 26 Apr 2026 20:03:47 +0000 Subject: [PATCH] Add web_ targets parallel to gui_ targets Signed-off-by: Matt Liberty --- flow/Makefile | 7 +++++-- flow/scripts/variables.mk | 1 + flow/util/utils.mk | 6 +++++- tools/OpenROAD | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/flow/Makefile b/flow/Makefile index dbb4692d96..37712545b7 100644 --- a/flow/Makefile +++ b/flow/Makefile @@ -315,17 +315,20 @@ $(OBJECTS_DIR)/copyright.txt: @touch $(OBJECTS_DIR)/copyright.txt define OPEN_GUI_SHORTCUT -.PHONY: gui_$(1) open_$(1) +.PHONY: gui_$(1) open_$(1) web_$(1) gui_$(1): gui_$(2) open_$(1): open_$(2) +web_$(1): web_$(2) endef define OPEN_GUI -.PHONY: open_$(1) gui_$(1) +.PHONY: open_$(1) gui_$(1) web_$(1) open_$(1): $(2)=$(RESULTS_DIR)/$(1) $(OPENROAD_NO_EXIT_CMD) $(SCRIPTS_DIR)/open.tcl gui_$(1): $(2)=$(RESULTS_DIR)/$(1) $(OPENROAD_GUI_CMD) $(SCRIPTS_DIR)/open.tcl +web_$(1): + $(2)=$(RESULTS_DIR)/$(1) $(OPENROAD_WEB_CMD) $(SCRIPTS_DIR)/open.tcl endef # Enables "make gui_5_1_grt-failed" diff --git a/flow/scripts/variables.mk b/flow/scripts/variables.mk index 13600ca28a..248c530b1e 100644 --- a/flow/scripts/variables.mk +++ b/flow/scripts/variables.mk @@ -112,6 +112,7 @@ export OPENROAD_ARGS = -no_init -threads $(NUM_CORES) $(OR_ARGS) export OPENROAD_CMD = $(OPENROAD_EXE) -exit $(OPENROAD_ARGS) export OPENROAD_NO_EXIT_CMD = $(OPENROAD_EXE) $(OPENROAD_ARGS) export OPENROAD_GUI_CMD = $(OPENROAD_EXE) -gui $(OR_ARGS) +export OPENROAD_WEB_CMD = $(OPENROAD_EXE) -web $(OR_ARGS) ifneq (${IN_NIX_SHELL},) YOSYS_EXE ?= $(shell command -v yosys) diff --git a/flow/util/utils.mk b/flow/util/utils.mk index 8e6136d981..0dbeb1ea6e 100644 --- a/flow/util/utils.mk +++ b/flow/util/utils.mk @@ -164,10 +164,14 @@ gallery: check-klayout $(RESULTS_DIR)/6_final_no_power.def $(RESULTS_DIR)/6_fina -rd tech_file=$(OBJECTS_DIR)/klayout.lyt \ -rm $(UTILS_DIR)/createGallery.py -.PHONY: view_cells +.PHONY: view_cells view_cells_web view_cells: $(OPENROAD_GUI_CMD) $(SCRIPTS_DIR)/view_cells.tcl +.PHONY: view_cells_web +view_cells_web: + $(OPENROAD_WEB_CMD) $(SCRIPTS_DIR)/view_cells.tcl + ## Quick access to command line .PHONY: command command: diff --git a/tools/OpenROAD b/tools/OpenROAD index 0b9d6b5e4e..927ca5dfef 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 0b9d6b5e4e80a58fea8ca8c41bfbfb9d38eeabc3 +Subproject commit 927ca5dfef1d6c9d899e4646a2ed7766f4132d33