install.sh deleted openroad.runfiles/_main which contains the Tcl
resource files (init.tcl, tclreadline, etc.) needed by the Bazel-built
binary. Remove that rm so the runfiles tree stays intact after install.
Add an install smoke test that extracts the packaging tarball and
verifies the binary can evaluate a Tcl expression — catches regressions
like this automatically.
Validate: bazelisk test //test/install/...
Fixes#10115
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
The root BUILD.bazel had load() statements for @rules_pkg and
@rules_shell which are evaluated whenever any target in the root
package is requested. This prevents making these deps dev_dependency,
because downstream consumers loading @openroad//:openroad would fail.
Moving the packaging targets to their own package isolates the load()
statements so they are only evaluated when explicitly needed.
Signed-off-by: Claude Code <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>