@@ -282,7 +282,6 @@ def clone_repos():
282
282
process0 .stdin .close ()
283
283
284
284
assert process0 .wait () == 0
285
- symlink_llvm_project (workspace )
286
285
287
286
288
287
class Unreachable (Exception ):
@@ -442,31 +441,6 @@ def check_execute(command, timeout=None,
442
441
raise ExecuteCommandFailure (command , returncode )
443
442
444
443
445
- def symlink_llvm_project (workspace ):
446
- print ("Create symlink for LLVM Project" )
447
- llvm_projects = ['clang' ,
448
- 'llvm' ,
449
- 'lldb' ,
450
- 'compiler-rt' ,
451
- 'libcxx' ,
452
- 'clang-tools-extra' ]
453
- for project in llvm_projects :
454
- src_path = os .path .join (workspace ,
455
- 'llvm-project' ,
456
- project )
457
- dst_path = os .path .join (workspace , project )
458
- if not os .path .islink (dst_path ):
459
- try :
460
- os .symlink (src_path , dst_path )
461
- except OSError as e :
462
- if e .errno == errno .EEXIST :
463
- print ("File '%s' already exists. Remove it, so "
464
- "update-checkout can create the symlink to the "
465
- "llvm-monorepo." % dst_path )
466
- else :
467
- raise e
468
-
469
-
470
444
def git_submodule_update (path , stdout = sys .stdout , stderr = sys .stderr ):
471
445
"""Perform a git submodule update operation on a path."""
472
446
command = ['git' , '-C' , path , 'submodule' , 'update' , '--init' ,
0 commit comments