@@ -506,16 +506,15 @@ Example invocations:
506
506
507
507
else :
508
508
tmpargs = copy .copy (args )
509
- else :
510
- # Build the tablegen binaries so we can use them for the cross-compile
511
- # build.
512
- native_build_dir = os .path .join (objroot , platform .machine () + "-tblgen" )
513
- tmpargs .lto_type = None
514
- builder = Builder (toolchain , tmpargs , "macosx" , platform .machine ())
515
- shell .makedirs (native_build_dir , dry_run = tmpargs .dry_run )
516
- with shell .pushd (native_build_dir , dry_run = tmpargs .dry_run ):
517
- builder .configure (enable_debuginfo = False )
518
- builder .build_targets (native_build_dir , ["llvm-tblgen" , "clang-tblgen" ])
509
+ # Build the tablegen binaries so we can use them for the cross-compile
510
+ # build.
511
+ native_build_dir = os .path .join (objroot , platform .machine () + "-tblgen" )
512
+ tmpargs .lto_type = None
513
+ builder = Builder (toolchain , tmpargs , "macosx" , platform .machine ())
514
+ shell .makedirs (native_build_dir , dry_run = tmpargs .dry_run )
515
+ with shell .pushd (native_build_dir , dry_run = tmpargs .dry_run ):
516
+ builder .configure (enable_debuginfo = False )
517
+ builder .build_targets (native_build_dir , ["llvm-tblgen" , "clang-tblgen" ])
519
518
520
519
for arch in architectures :
521
520
args .build_dir = os .path .join (objroot , arch , "obj" )
0 commit comments