Skip to content

We're not using runfiles anymore, don't use associated macro define.#371

Open
hzeller wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260611-runfile
Open

We're not using runfiles anymore, don't use associated macro define.#371
hzeller wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260611-runfile

Conversation

@hzeller

@hzeller hzeller commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

We used to use runfiles to work with tcl dependencies. Since we don't need that anymore, just add a regular BAZEL_BUILD define to choose the behavior in the bazel build and remove the unneeded dependency.

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

Copy link
Copy Markdown

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 replaces the preprocessor macro BAZEL_CURRENT_REPOSITORY with BAZEL_BUILD in app/Main.cc and defines BAZEL_BUILD in the BUILD file. The reviewer notes that @rules_cc//cc/runfiles is still listed in the dependencies of the binary and should be removed to complete the cleanup as described in the pull request.

Comment thread BUILD
We used to use runfiles to work with tcl dependencies. Since we don't
need that anymore, just add a regular `BAZEL_BUILD` define to
choose the behavior in the bazel build and remove the unneeded
dependency.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
@hzeller hzeller force-pushed the feature-20260611-runfile branch from 7bb4d4e to c08d761 Compare June 11, 2026 15:32
@hzeller

hzeller commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Can this be merged ?

@hzeller

hzeller commented Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

Ping.

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

Successfully merging this pull request may close these issues.

1 participant