Skip to content

Commit 6f9ebd8

Browse files
committed
Merge branch 'master' of github.com:The-OpenROAD-Project-private/OpenROAD-flow-scripts into secure-fix-wns-opt
2 parents 06716c1 + a15fd19 commit 6f9ebd8

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎MODULE.bazel‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ git_override(
3333
remote = "https://github.com/The-OpenROAD-Project/qt_bazel_prebuilts",
3434
)
3535

36-
bazel_dep(name = "bazel-orfs", dev_dependency = True)
36+
# Exception to the dev-only rule above: flow/BUILD has
37+
# load("@bazel-orfs//:openroad.bzl", "orfs_pdk"), so @bazel-orfs must stay
38+
# visible from @orfs even at non-root consumption; a dev-only bazel_dep
39+
# suppresses that visibility. Only the git_override below (implicitly
40+
# root-only) is dev-conditional — at non-root the consumer's own bazel-orfs
41+
# satisfies this dep. When @orfs is root, dev deps are honoured anyway, so
42+
# the resolved module graph is unchanged.
43+
bazel_dep(name = "bazel-orfs", version = "0.0.1")
44+
3745
bazel_dep(name = "bazel-orfs-verilog", dev_dependency = True)
3846

3947
BAZEL_ORFS_COMMIT = "6ebadeb4be5c9ada103081c9a5e668c014126616"

‎flow/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ klayout:
839839
.phony: run
840840
run:
841841
@mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR) $(OBJECTS_DIR)
842-
($(OPENROAD_CMD) -no_splash $(if $(filter %.py,$(RUN_SCRIPT)),-python) $(RUN_SCRIPT) 2>&1 | tee $(abspath $(LOG_DIR)/$(RUN_LOG_NAME_STEM).log))
842+
$(RUN_CMD) --log $(abspath $(LOG_DIR)/$(RUN_LOG_NAME_STEM).log) --tee -- $(OPENROAD_CMD) -no_splash $(if $(filter %.py,$(RUN_SCRIPT)),-python) $(RUN_SCRIPT)
843843

844844
export RUN_YOSYS_ARGS ?= -c $(SCRIPTS_DIR)/yosys_keep.tcl
845845
.phony: run-yosys

0 commit comments

Comments
 (0)