FS#72971 - [usd] incompatible with tbb:2021
Attached to Project:
Community Packages
Opened by bartus (bartus) - Friday, 10 December 2021, 21:05 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 19 December 2021, 14:20 GMT
Opened by bartus (bartus) - Friday, 10 December 2021, 21:05 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 19 December 2021, 14:20 GMT
|
Details
Description: usd:21.08 using tbb::atomic which was removed
in oneTBB `tbb:2021.4`
|
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Sunday, 19 December 2021, 14:20 GMT
Reason for closing: Won't fix
Additional comments about closing: I dropped usd as it doesn't build and upstream doesn't seem to care too much.
Sunday, 19 December 2021, 14:20 GMT
Reason for closing: Won't fix
Additional comments about closing: I dropped usd as it doesn't build and upstream doesn't seem to care too much.
Not sure whether we should maybe just drop USD from the repos. Doesn't appear to get fixed any time soon and the fix doesn't appear like it could be a trivial API change.
As you say tbb:atomic to std:atomic [1] (std:atomic does not support compare exchange with an atomic argument?) and tbb:task to ? [2] are none trivial.
[1] https://github.com/PixarAnimationStudios/USD/blob/v21.11/pxr/usdImaging/usdImaging/resolvedAttributeCache.h#L363
[2] https://github.com/PixarAnimationStudios/USD/blob/v21.11/pxr/base/work/dispatcher.h#L136