Intel oneAPI tbb (formerly known as Intel tbb) 2021.1 has been released and has deprecated several interfaces over tbb 2020, see: https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-threading-building-blocks-release-notes.html and: https://software.intel.com/content/www/us/en/develop/articles/tbb-revamp.html As a consequence, updating devel/tbb in-place is not possible because most of our dependent ports break. Instead, we will introduce a new port called devel/onetbb (the new name of the library) that will hold new versions of the library. Find attached to that PR expected patches for devel/tbb and devel/onetbb. The old port, devel/tbb will be kept for a certain amount of time and removed in the future. We will have to migrate and patch each dependent port before committing the changes alltogether. That PR will help synchronize the migration by attaching a blocking PR for each failing port. See also this thread on ports@: https://lists.freebsd.org/pipermail/freebsd-ports/2021-January/120010.html Stay tuned!
Created attachment 221542 [details] Patch to existing devel/tbb
Created attachment 221543 [details] New devel/onetbb port
The upstream needs to fix this.
Sorry, wrong bug#. -)
On my system I have devel/hwloc installed (there is also devel/hwloc2) so when I build from ports tree I get extra libs built - ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: lib/libtbbbind.so Error: Orphaned: lib/libtbbbind.so.3 Error: Orphaned: lib/libtbbbind.so.3.1
Hello Shane, Good catch, thanks! The port has picked up legacy hwloc and built additional libtbbbind. I've updated the patch to depend on newer devel/hwloc2 and disabled detection of devel/hwloc. Can you check again please ?
Created attachment 221708 [details] New devel/onetbb port (v2)
Created attachment 221709 [details] New devel/onetbb port (v2)
The build is fine, but I would change the lib name for the hwloc. If hwloc is installed the lib matches for dependencies but the configure fails. Both ports have libhwloc.so, while hwloc has libhwloc.so.5 and hwloc2 has libhwloc.so.15
Right, I'll fix that, thanks!
Please remove ONLY_FOR_ARCHS, :noninja, and MAKE_JOBS_UNSAFE. And add CMAKE_ARGS+=-DTBB_STRICT:BOOL=FALSE to disable Werror, because there's e.g. an unused argument warning for '-MD' on aarch64. With these changes, builds fine on aarch64.
Created attachment 221772 [details] New devel/onetbb port (v3) Patch updated, thanks!