You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support visibility groups in bazel-to-cmake for deployment artifact grouping #548
In the current implementation, all libs are marked as PUBLIC. At least for the targets in iree/base/internal, this is not intended. It would be nice to respect default_visibility set in the corresponding Bazel files.
We could parse default_visibility from the top of the file and visibility from each rule, then choose whether or not to set PUBLIC on the CMake target, if the semantics are the same.
It would be good to mark almost everything under iree/ as private besides the C API libraries and have bazel-to-cmake respect that. There may be some other cleanup we can do as part of a more install-focused build process.
We'll want to get this sorted so that we can use visibility to denote the public API and gather installable files. Renaming to better match the intent.
changed the title [-][bazel-to-cmake] All libraries are marked PUBLIC[/-][+]Support visibility groups in bazel-to-cmake for deployment artifact grouping[/+]on Nov 22, 2020
Activity
ScottTodd commentedon Jan 24, 2020
We could parse
default_visibilityfrom the top of the file andvisibilityfrom each rule, then choose whether or not to setPUBLICon the CMake target, if the semantics are the same.benvanik commentedon Apr 15, 2020
It would be good to mark almost everything under iree/ as private besides the C API libraries and have bazel-to-cmake respect that. There may be some other cleanup we can do as part of a more install-focused build process.
benvanik commentedon Nov 22, 2020
We'll want to get this sorted so that we can use visibility to denote the public API and gather installable files. Renaming to better match the intent.
[-][bazel-to-cmake] All libraries are marked PUBLIC[/-][+]Support visibility groups in bazel-to-cmake for deployment artifact grouping[/+]GMNGeoffrey commentedon Jun 14, 2022
I think the directory organization is better and we practically haven't had many issues because of this, so marking as P3