From 1f77f0d4d7f60e07dac58616915292ce09cf0c58 Mon Sep 17 00:00:00 2001 From: Dhruv Govil Date: Thu, 25 Jan 2024 12:51:48 -0800 Subject: [PATCH] Disable BOOST_UNORDERED_HAVE_PIECEWISE_CONSTRUCT for MacOS builds --- build_scripts/build_usd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_scripts/build_usd.py b/build_scripts/build_usd.py index 9a012cedcf..bc331568ac 100644 --- a/build_scripts/build_usd.py +++ b/build_scripts/build_usd.py @@ -890,7 +890,7 @@ def InstallBoost_Helper(context, force, buildArgs): # Must specify toolset=clang to ensure install_name for boost # libraries includes @rpath b2_settings.append("toolset=clang") - + b2_settings.append(f"define=BOOST_UNORDERED_HAVE_PIECEWISE_CONSTRUCT=0") if macOSArch: b2_settings.append("cxxflags=\"{0}\"".format(macOSArch)) b2_settings.append("cflags=\"{0}\"".format(macOSArch))