Skip to content

fix(extension): export Windows LLVM executables - #2

Merged
onurpaca merged 1 commit into
mainfrom
fix/windows-llvm-tool-exports
Aug 12, 2026
Merged

onurpaca merged 1 commit into
mainfrom
fix/windows-llvm-tool-exports

Conversation

@onurpaca

Copy link
Copy Markdown
Owner

Summary

  • Resolve extensionless LLVM tool paths to .exe for Windows archives.
  • Preserve Linux/macOS paths and avoid duplicating an existing .exe suffix.
  • Add Starlark regression tests for clang-format and clang-tidy path resolution.

Root cause

The Windows LLVM archives contain bin/clang-format.exe and bin/clang-tidy.exe, but the generated external-repository BUILD file exported extensionless paths from LLVM_TOOLS.

Validation

  • bazel run --lockfile_mode=off //:dev_buildifier -- --check extension/download_tool.bzl tests/BUILD.bazel tests/download_tool_test.bzl
  • bazel test --lockfile_mode=off //tests:all --test_output=errors (4/4 passed)

@onurpaca
onurpaca merged commit 5e6e1bc into main Aug 12, 2026
2 checks passed
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