Skip to content

Commit 9c5645f

Browse files
authored
Merge pull request #62019 from bnbarham/fix-build-tooling-libs
[Utils] Fix build-tooling-libs syntax error
2 parents 1084d89 + 426d362 commit 9c5645f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

utils/build-tooling-libs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -506,16 +506,15 @@ Example invocations:
506506

507507
else:
508508
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"])
519518

520519
for arch in architectures:
521520
args.build_dir = os.path.join(objroot, arch, "obj")

0 commit comments

Comments
 (0)