Skip to content

Mark non-hermetic targets 'manual'.#10687

Closed
hzeller wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260618-non-hermetic-manual
Closed

Mark non-hermetic targets 'manual'.#10687
hzeller wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260618-non-hermetic-manual

Conversation

@hzeller

@hzeller hzeller commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

They can only run on special machines that have the binaries git (for the format tests) or make installed AND with their bazel configured to actually look in the path.

These targets currently will fail on strict systems (such as NixOS), so make the whole process painful. To fix, the binaries either should be replaced with simpler processes (e.g. why use make if we have bazel), or commpiled as part of a bazel dependency.

Makes #10311 slightly less painful by not failing in globbing mode (bazel build ...).

@hzeller hzeller requested a review from a team as a code owner June 18, 2026 13:45
@hzeller hzeller requested a review from osamahammad21 June 18, 2026 13:45
@hzeller hzeller force-pushed the feature-20260618-non-hermetic-manual branch from 6468664 to dc1054f Compare June 18, 2026 13:45

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the "manual" tag to several Bazel targets in BUILD.bazel and docs/BUILD.bazel, including linting and formatting tests, the lint_test test suite, and the man_pages target. This prevents these targets from running automatically during wildcard test executions. There are no review comments, so I have no feedback to provide.

@hzeller hzeller force-pushed the feature-20260618-non-hermetic-manual branch from dc1054f to 218a438 Compare June 18, 2026 13:50
They can only run on special machines that have the
binaries `git` (for the format tests) or `make` installed AND
with their bazel configured to actually look in the path.

These targets currently will fail on strict systems (such as NixOS),
so make the whole process painful. To fix, the binaries either
should be replaced with simpler processes (e.g. why use `make` if we
have bazel), or commpiled as part of a bazel dependency.

Makes The-OpenROAD-Project#10311 slightly less painful by not failing in globbing
mode.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
@hzeller hzeller force-pushed the feature-20260618-non-hermetic-manual branch from 218a438 to 32a33b7 Compare June 18, 2026 13:51
@maliberty

Copy link
Copy Markdown
Member

I don't agree to this direction. These are targets we do want to have run. I think we should try to improve the bazel build rather than dumb it down.

@hzeller

hzeller commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

I don't agree to this direction. These are targets we do want to have run. I think we should try to improve the bazel build rather than dumb it down.

I agree. I am asking for a month or so to get this fixed, so for now I just want the build to be working until that is resolved.

@maliberty

Copy link
Copy Markdown
Member

The build is working on non-NIX platforms. Is it possible to turn this into an opt-out?

@hzeller

hzeller commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator Author

This has been mostly fixed by #10691
Still issue #10692 remains, but there is work-in-progress (#10764 #10698)

@hzeller hzeller closed this Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants