Skip to content

Commit

Permalink
[build] remove unused lipoCommands* variables from build_usd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pmolodo committed Feb 12, 2023
1 parent 1d2f18b commit 2bbe63f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build_scripts/build_usd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2bbe63f

Please sign in to comment.