Skip to content

Fixed issues with --features=external_include_paths#243

Merged
Szelethus merged 6 commits into
Ericsson:mainfrom
furtib:fix-external-include-paths
Jul 1, 2026
Merged

Fixed issues with --features=external_include_paths#243
Szelethus merged 6 commits into
Ericsson:mainfrom
furtib:fix-external-include-paths

Conversation

@furtib

@furtib furtib commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Why:
We want to support running analysis with --features=external_include_paths.

What:

  • Added flags from external_includes to compile commands.
  • Added flags from external_includes of dependencies to compile commands.

Addresses:
Fixes: #236

@furtib furtib requested a review from Szelethus June 16, 2026 08:06
@furtib furtib self-assigned this Jun 16, 2026
@furtib furtib added bug Something isn't working enhancement New feature or request labels Jun 16, 2026

@Szelethus Szelethus 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.

Bazel 6.5.0 CI jobs break:

Error: 'CompilationContext' value has no field or method 'external_includes'

If this is a bazel 6 specific issue, then I suggest this might be a sign that it is time to officially stop supporting it.

Comment thread src/compile_commands.bzl Outdated
Comment thread README.md Outdated
@furtib furtib force-pushed the fix-external-include-paths branch from 14fc533 to 5e1a45e Compare June 16, 2026 08:59
@furtib furtib force-pushed the fix-external-include-paths branch from fa5bbb7 to e037af2 Compare June 16, 2026 09:47
@furtib furtib force-pushed the fix-external-include-paths branch from e1b26ff to 296c30f Compare June 30, 2026 08:13
@furtib furtib force-pushed the fix-external-include-paths branch from 3b85d87 to bfc52de Compare June 30, 2026 08:17
Comment thread test/unit/external_repository/test_external_repo.py
@furtib furtib requested a review from Szelethus June 30, 2026 08:18

@Szelethus Szelethus 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.

I meant to submit this earlier, but you have already fixed it.

Comment thread src/compile_commands.bzl Outdated

@Szelethus Szelethus 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.

LGTM

@Szelethus Szelethus merged commit 898e04c into Ericsson:main Jul 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support --features=external_include_paths

2 participants