Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build without Boost when using OpenVDB 12 or newer #3495

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

brechtvl
Copy link
Contributor

@brechtvl brechtvl commented Jan 26, 2025

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

In OpenVDB 12 there is no more header dependency on Boost, and the library
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.

Signed-off-by: Brecht Van Lommel <[email protected]>
@dgovil
Copy link
Collaborator

dgovil commented Jan 27, 2025

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.

@nvmkuruc nvmkuruc added the build Build-related issue/PR label Jan 27, 2025
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10595

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

@jesschimein
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build-related issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants