Skip to content

Bug fix for output exec path - #121

Merged
nradakovic merged 1 commit into
mainfrom
nira_fix_oep
Aug 20, 2026
Merged

Bug fix for output exec path#121
nradakovic merged 1 commit into
mainfrom
nira_fix_oep

Conversation

@nradakovic

Copy link
Copy Markdown
Member

The template was missing expand_if_available which by default sets output execution path. The variable can be set over different toolchain so we always need to check if the variable is set regardless if our actions need it or not.

The template was missing expand_if_available which by default sets
output execution path. The variable can be set over different
toolchain so we always need to check if the variable is set
regardless if our actions need it or not.
Copilot AI lite review requested due to automatic review settings August 20, 2026 09:52
@nradakovic nradakovic self-assigned this Aug 20, 2026
@nradakovic nradakovic added bug Something isn't working p2 Medium/High - key service impacted - needing rapid resolution labels Aug 20, 2026

Copilot AI 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.

Pull request overview

This PR updates the Linux and QNX C++ toolchain config templates to guard expansion of the %{output_execpath} build variable when emitting archiver (ar) output flags, aligning the archiver behavior with the existing guarded use of output_execpath in link output flags.

Changes:

  • Add expand_if_available = "output_execpath" to the archiver_flags feature’s output flag group for ACTION_NAMES.cpp_link_static_library (Linux + QNX).
  • Keep formatting consistent with other flag_group(...) blocks that already use expand_if_available.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
templates/qnx/cc_toolchain_config.bzl.template Guard %{output_execpath} expansion for static library archiving output flags.
templates/linux/cc_toolchain_config.bzl.template Guard %{output_execpath} expansion for static library archiving output flags.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@nradakovic
nradakovic merged commit 9b24e6b into main Aug 20, 2026
17 checks passed
@nradakovic
nradakovic deleted the nira_fix_oep branch August 20, 2026 10:00
@github-project-automation github-project-automation Bot moved this from In Progress to Done in INF - Infrastructure Community Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working p2 Medium/High - key service impacted - needing rapid resolution

Projects

Development

Successfully merging this pull request may close these issues.

3 participants