Commit Graph

2 Commits

Author SHA1 Message Date
Øyvind Harboe
8b9469b668 build: rename ord_py to openroad_py
Give the Python bindings target a clean external name. This is the
public API for scripting OpenROAD from downstream projects via Python.

Signed-off-by: Claude Code <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2026-03-19 12:12:34 +01:00
Øyvind Harboe
15a5fe5192 bazel: move openroad/ to python/openroad/ to fix output path conflict
The //:openroad cc_binary output path (bazel-out/k8-opt/bin/openroad)
was a prefix of //openroad:openroadpy py_library output path
(bazel-out/k8-opt/bin/openroad/__pycache__/...), causing Bazel to
reject building both targets simultaneously.

Rename the package to //python/openroad to eliminate the collision
while preserving the Python import path (import openroad) via
imports = [".."].

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2026-03-03 19:56:26 +01:00