Skip to content

Conversation

@mattyjams
Copy link
Contributor

The m_wait_ctx member being used in a narrow band of oneTBB versions was removed in a refactor that went into version v2022.0.0 which was released yesterday:
uxlfoundation/oneTBB@1f52f50

This change accounts for the update in the new version of oneTBB and uses the newly added m_wait_vertex member to access the same context as before.

I am far from an expert in the TBB API or the intricacies of this area of libwork, but wanted to offer this up as it allowed me to successfully build OpenUSD against the latest version of oneTBB. I have not done any performance profiling with the new oneTBB version.

Checklist

[x] I have created this PR based on the dev branch

[x] I have followed the coding conventions

[ ] I have added unit tests that exercise this functionality (Reference:
testing guidelines)

[x] I have verified that all unit tests pass with the proposed changes

[x] I have submitted a signed Contributor License Agreement (Reference:
Contributor License Agreement instructions)

The m_wait_ctx member being used in a narrow band of oneTBB versions
was removed in a refactor that went into the most recent release:
uxlfoundation/oneTBB@1f52f50

This change accounts for the update in the new version of oneTBB and
uses the newly added m_wait_vertex member to access the same context
as before.
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10388

@jesschimein
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@asluk asluk added the build Build-related issue/PR label Nov 18, 2024
@svenstaro
Copy link

Fixes #3445.

@musicinmybrain
Copy link
Contributor

Thanks for this. It works for me as a downstream patch in Fedora’s usd package.

@pixar-oss pixar-oss closed this in 534b22c Jan 29, 2025
@mattyjams mattyjams deleted the pr/support_oneTBB_2022.0.0 branch January 29, 2025 22:14
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.

5 participants