Skip to content

Support visibility groups in bazel-to-cmake for deployment artifact grouping #548

Open

Description

@marbre

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.

Activity

  1. ScottTodd commented on Jan 24, 2020

    @ScottTodd
    Member

    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.

  2. added
    infrastructure
    on Mar 19, 2020
  3. added this to the Infrastructure Fixit milestone on Apr 15, 2020
  4. benvanik commented on Apr 15, 2020

    @benvanik
    Collaborator

    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.

  5. benvanik commented on Nov 22, 2020

    @benvanik
    Collaborator

    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.

  6. 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
  7. added this to IREE Codegen and removed this from IREE Codegenon May 2, 2022
  8. GMNGeoffrey commented on Jun 14, 2022

    @GMNGeoffrey
    Member

    I think the directory organization is better and we practically haven't had many issues because of this, so marking as P3

  9. moved this from Not Started to Inbox in (Deprecated) IREEon Apr 5, 2023
  10. moved this from Inbox to Backlog in (Deprecated) IREEon Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrastructure

    Type

    No type

    Projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions