Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the gui & native OpenROAD platforms #204

Open
mithro opened this issue Oct 4, 2023 · 2 comments
Open

Add the gui & native OpenROAD platforms #204

mithro opened this issue Oct 4, 2023 · 2 comments

Comments

@mithro
Copy link
Member

mithro commented Oct 4, 2023

The Google internal BUILD rules for OpenROAD support multiple values for platform;

string_flag(
    name = "platform",
    build_setting_default = "cli",
    values = [
        "cli",
        "headless",
        "native",
    ],
)

Currently the headless and native where not exported due to complications around getting qt5 into the bazel build system. That should be fixed.

@mithro
Copy link
Member Author

mithro commented Oct 4, 2023

The repository at https://github.com/justbuchanan/bazel_rules_qt seems to have suitable bazel qt rules.

@mithro
Copy link
Member Author

mithro commented Oct 4, 2023

Being able to access the GUI with a command like the following is pretty useful;

# For interactive use with GUI functionality (glinux only)
# blaze run --//third_party/open_road:platform=native //third_party/open_road:openroad -- -gui
config_setting(
    name = "platform_native",
    flag_values = {
        ":platform": "native",
    },
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant