File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
utils/update_checkout/update_checkout Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -406,6 +406,21 @@ def skip_list_for_platform(config):
406
406
407
407
return skip_list
408
408
409
+ def symlink_llvm_monorepo (args ):
410
+ print ("Create symlink for LLVM Project" )
411
+ llvm_projects = ['clang' ,
412
+ 'llvm' ,
413
+ 'lldb' ,
414
+ 'compiler-rt' ,
415
+ 'libcxx' ,
416
+ 'clang-tools-extra' ]
417
+ for project in llvm_projects :
418
+ src_path = os .path .join (args .source_root ,
419
+ 'llvm-project' ,
420
+ project )
421
+ dst_path = os .path .join (args .source_root , project )
422
+ if not os .path .islink (dst_path ):
423
+ os .symlink (src_path , dst_path )
409
424
410
425
def main ():
411
426
freeze_support ()
@@ -554,5 +569,6 @@ def main():
554
569
if fail_count > 0 :
555
570
print ("update-checkout failed, fix errors and try again" )
556
571
else :
572
+ symlink_llvm_monorepo (args )
557
573
print ("update-checkout succeeded" )
558
574
sys .exit (fail_count )
You can’t perform that action at this time.
0 commit comments