bazel-contrib / bazel-contrib/toolchains_llvm

Toolchain not detected in rules_foreign_cc

Open
#396 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
371
Forks
283
Avg merge
1d 55m
Merged PRs (30d)
25

Description

When using the local toolchain, everything builds fine. When using the hermetic tool chain from this repo, some build systems fail to use the compiler for a simple test program.

Reproduction example in https://github.com/bazel-contrib/rules_foreign_cc/pull/1295.

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction example in rules_foreign_cc pull request #1295 and compare the local and hermetic toolchain behavior for the simple test program. Trace how the compiler is selected and confirm the failing build systems can use the hermetic compiler successfully.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.