Commit 2cbe2ae
committed
tc_build: llvm: Handle absence of LLVM_ALL_EXPERIMENTAL_TARGETS
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>1 parent e4a183c commit 2cbe2ae
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 | | |
25 | | - | |
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
| |||
0 commit comments