Skip to content

Commit 4e5fa52

Browse files
committed
tc_build: llvm: Add 'runtimes' to distribution
In order for the compiler-rt profile library to be built after the switch to the runtimes build, the runtimes target needs to be added to the distribution components. This fixes the build with PGO. Signed-off-by: Nathan Chancellor <[email protected]>
1 parent fc802b0 commit 4e5fa52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tc_build/llvm.py

+1
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ def configure(self):
434434
if build_compiler_rt:
435435
distribution_components.append('llvm-profdata')
436436
if self.llvm_major_version >= 21:
437+
distribution_components.append('runtimes')
437438
runtime_distribution_components.append('profile')
438439
else:
439440
distribution_components.append('profile')

0 commit comments

Comments
 (0)