From 2bbe63f266610ded47eeda5992a977be44940271 Mon Sep 17 00:00:00 2001 From: Paul Molodowitch Date: Sat, 11 Feb 2023 20:33:56 -0800 Subject: [PATCH] [build] remove unused lipoCommands* variables from build_usd.py --- build_scripts/build_usd.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build_scripts/build_usd.py b/build_scripts/build_usd.py index d972749492..d5a40b859f 100644 --- a/build_scripts/build_usd.py +++ b/build_scripts/build_usd.py @@ -1000,22 +1000,19 @@ def InstallTBB_MacOS(context, force, buildArgs): x86Dir = os.path.dirname(x86Files[0]) armDir = os.path.dirname(armFiles[0]) - lipoCommandsRelease = apple_utils.CreateUniversalBinaries( - context, libNames, x86Dir, armDir) + apple_utils.CreateUniversalBinaries(context, libNames, x86Dir, armDir) x86Files = glob.glob( os.getcwd() + "/build/*intel64*_debug/libtbb*.*") armFiles = glob.glob( os.getcwd() + "/build/*{0}*_debug/libtbb*.*".format( apple_utils.GetTargetArmArch())) - lipoCommandsDebug = None if x86Files and armFiles: libNames = [os.path.basename(x) for x in x86Files] x86Dir = os.path.dirname(x86Files[0]) armDir = os.path.dirname(armFiles[0]) - lipoCommandsDebug = apple_utils.CreateUniversalBinaries( - context, libNames, x86Dir, armDir) + apple_utils.CreateUniversalBinaries(context, libNames, x86Dir, armDir) else: CopyFiles(context, "build/*_release/libtbb*.*", "lib") try: