PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
5.45k stars 1.13k forks source link

Make boost an optional dependency of OpenUSD #3028

Open nvmkuruc opened 1 month ago

nvmkuruc commented 1 month ago

Description of Change(s)

This PR makes boost an optional dependency when not building with examples, python, openvdb, or openimageio. This changes the build_usd script to explicitly create the lib directory with the correct permissions, as downstream builds (like tbb) expected this to have already been created by the boost step.

NOTE on pxr/base/vt/functions.h. This header is unused in OpenUSD outside of python bindings and its test in testVtCpp. It's anticipated that VtCat and its boost dependency will be removed and the changes to pxr/base/vt/CMakeLists.txt will be removed.

This change also anticipates that boost dependencies will be cleaned out of the pch.h files.

Fixes Issue(s)

-

jesschimein commented 1 month ago

Filed as internal issue #USD-9507

jesschimein commented 1 month ago

/AzurePipelines run

azure-pipelines[bot] commented 1 month ago
Azure Pipelines successfully started running 1 pipeline(s).
nvmkuruc commented 3 weeks ago

This no longer depends on the PEGLT PR.