OpenUSD icon indicating copy to clipboard operation
OpenUSD copied to clipboard

Build without Boost when using OpenVDB 12 or newer

Open brechtvl opened this issue 11 months ago • 4 comments

Description of Change(s)

In OpenVDB 12 there is no more header dependency on Boost (and it can optionally be built entirely without Boost). Therefore OpenUSD itself does not need a direct dependency on Boost when using this version.

This adds OpenVDB version detection based on the header files, and moves CMake OpenVDB finding before Boost so that the version can be checked.

Checklist

brechtvl avatar Jan 26 '25 23:01 brechtvl

Thanks , Brecht. This is super useful.

I'll also soon be putting up a PR to upgrade to VDB 12.0.1 (or 12.1? Not sure what it'll be) which will include the clang fixes as well. So this is fortuitous timing.

dgovil avatar Jan 27 '25 14:01 dgovil

Filed as internal issue #USD-10595

(This is an automated message. See here for more information.)

jesschimein avatar Jan 27 '25 17:01 jesschimein

/AzurePipelines run

jesschimein avatar Jan 27 '25 17:01 jesschimein

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jan 27 '25 17:01 azure-pipelines[bot]

/AzurePipelines run

jesschimein avatar Mar 31 '25 16:03 jesschimein