- Extract shared transitive-depset helpers into bazel/swig_common.bzl;
tcl_wrap_cc and python_wrap_cc had identical copy-pasted helpers.
Providers stay distinct so deps type safety is preserved.
- Delete empty bazel/build_helper.bzl (never loaded anywhere).
- Remove dead .tcl/.py endswith filter in tcl_encode_or.bzl; the
attr.label_list(allow_files=[".tcl", ".py"]) already enforces it.
- Deduplicate -Wall/-Wextra/-Wno-sign-compare/-Wno-unused-parameter
in OPENROAD_COPTS; these are already set globally via .bazelrc.
- Add missing doc= for runtime_header attr; drop stale "for google3"
docstring and obsolete/incorrect narration comments.
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
I extended the mechanism that is used to supply the defines for
the python module. Now tha linker options are set in one place.
Signed-off-by: Friedrich Beckmann <friedrich.beckmann@tha.de>
There is now infrastructure to build python wheels
that we could upload to pypi. This rule can be built
with `bazelisk build -c opt --features=thin_lto //openroad:openroad_wheel`.
This is a precursor to removing the -python option from the OpenROAD
binary, and adopting a more standard pypi distribution.
This will require CI changes to build the wheel on manylinux Docker
images.
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>