[EMSUSD-2133] Remove Boost #4095
Unanswered
hamedsabri
asked this question in
General
Replies: 1 comment 1 reply
-
Thanks, @hamedsabri I'll have a look. @santosg87 Can you log a new JIRA item to look into removing our last Boost dependencies. Sean |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @seando-adsk
I was looking at your 24.11 changes and noticed this comment.
The remaining dependencies to boost can be easily removed and we don't need to hang on to boost anymore. I don't have a CL to share my branch but it should be fairly straightforward change.
Changes:
maya-usd\CMakeLists.txt ---> remove line 260-270
maya-usd\lib\mayaUsd\CMakeLists.txt ---> remove line 259
maya-usd\lib\mayaUsd\fileio\shaderReader.cpp ---> std::optional
maya-usd\lib\mayaUsd\fileio\shaderReader.h ---> std::optional
maya-usd\lib\mayaUsd\fileio\shading\shadingModeUseRegistry.cpp ---> converter.value() line 603 and 606
maya-usd\lib\mayaUsd\python\wrapPrimReader.cpp ---> std::optional line 232 and 233
maya-usd\lib\mayaUsd\render\pxrUsdMayaGL\sceneDelegate.cpp ---> remove line 59
maya-usd\lib\mayaUsd\render\vp2RenderDelegate\material.cpp ---->
return std::hash<std::string_view>{}(std::string_view(s.asChar(), s.length()));
line 2031maya-usd\lib\mayaUsd\utils\selectability.cpp --->
using SelectabilityCache = TfHashMap<UsdPrim, Data, TfHash>;
line 32maya-usd\lib\mayaUsd\utils\util.cpp --->
std::size_t operator()(const float& value) const { return std::hash<float>{}(value);}
line 1042maya-usd\lib\usd\translators\shading\mtlxConverterReader.cpp ---> std::optional
Beta Was this translation helpful? Give feedback.
All reactions