Skip to content

Fixed issues with --features=external_include_paths#243

Open
furtib wants to merge 6 commits into
Ericsson:mainfrom
furtib:fix-external-include-paths
Open

Fixed issues with --features=external_include_paths#243
furtib wants to merge 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
BAZEL_BIN_DIR = os.path.join("bazel-bin")
BAZEL_TESTLOGS_DIR = os.path.join("bazel-testlogs")
BAZEL_VERSION = None
BAZEL_VERSION: str = ""

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This fixes type warnings

@furtib furtib requested a review from Szelethus June 30, 2026 08:18
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