llvm / llvm/llvm-project

[compiler-rt] Per-component build targets not exposed with LLVM_ENABLE_RUNTIMES

Open
#172,330 2 comments 0 reactions 0 assignees View on GitHub
cmake compiler-rt
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

When building the runtimes by passing `compiler-rt` to `LLVM_ENABLE_PROJECTS`, build targets are created for each sub-component, for example `tysan` or `check-asan`. However, this method of enabling the runtimes is deprecated, with the recommended way being to pass `LLVM_ENABLE_RUNTIMES=compiler-rt`. With this method, targets to build and test all of Compiler-RT are created, but the individual ones, which are really useful when working on a single sanitizer, are missing.

Contributor guide

Open the contributing guide

Research direction

Compare the targets produced when compiler-rt is passed through LLVM_ENABLE_PROJECTS with those produced through LLVM_ENABLE_RUNTIMES. Identify where the per-component build and test targets are defined, then verify that individual sanitizer targets are exposed through the recommended configuration.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.