Skip to content

Commit

Permalink
tc_build: llvm: Add Sparc to default targets
Browse files Browse the repository at this point in the history
There is some effort to build ARCH=sparc with Clang. Add it to the
default targets list so that toolchains built with tc-build can easily
test these patches.

Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Nov 20, 2024
1 parent c6d4545 commit 584fa20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tc_build/llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,10 @@ def default_projects(self):

def default_targets(self):
all_targets = get_all_targets(self.repo)
targets = ['AArch64', 'ARM', 'BPF', 'Hexagon', 'Mips', 'PowerPC', 'RISCV', 'SystemZ', 'X86']
targets = [
'AArch64', 'ARM', 'BPF', 'Hexagon', 'Mips', 'PowerPC', 'RISCV', 'Sparc', 'SystemZ',
'X86'
]

if 'LoongArch' in all_targets:
targets.append('LoongArch')
Expand Down

0 comments on commit 584fa20

Please sign in to comment.