Skip to content

Conversation

@nathanchance
Copy link
Member

LLVM_ALL_EXPERIMENTAL_TARGETS was introduced in LLVM 17, so we cannot use it for populating experimental targets on versions older than that.

Manually populate the experimental targets in that case by using the initial list of experimental targets from the introduction of LLVM_ALL_EXPERIMENTAL_TARGETS and checking that the llvm/lib/Target/<target> folder exists in the provided LLVM source before adding it to the supported targets list.

LLVM_ALL_EXPERIMENTAL_TARGETS was introduced in LLVM 17, so we cannot
use it for populating experimental targets on versions older than that.

Manually populate the experimental targets in that case by using the
initial list of experimental targets from the introduction of
LLVM_ALL_EXPERIMENTAL_TARGETS and checking that the
'llvm/lib/Target/<target>' folder exists in the provided LLVM source
before adding it to the supported targets list.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
@msfjarvis msfjarvis merged commit 9c525ea into ClangBuiltLinux:main Jan 23, 2026
8 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.

3 participants