Bug 252765 - Making devel/py-numba depend on onetbb
Summary: Making devel/py-numba depend on onetbb
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ganael LAPLANCHE
URL:
Keywords:
Depends on:
Blocks: 252648
  Show dependency treegraph
 
Reported: 2021-01-17 08:00 UTC by Ganael LAPLANCHE
Modified: 2021-01-20 21:33 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (dave)
martymac: maintainer-feedback? (dave)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ganael LAPLANCHE freebsd_committer 2021-01-17 08:00:53 UTC
Hello,

As a maintainer of devel/py-numba, could you have a look at PR #252648:

  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252648

In short, TBB version 2021 will soon be available as devel/onetbb but the port you maintain does not build correctly with it, see the following Poudriere run:

  http://box.martymac.org/FreeBSD-Packages/build.html?mastername=FBSD122amd64-tbb-migr&build=2021-01-13_22h35m17s

and error logs:

http://box.martymac.org/FreeBSD-Packages/data/FBSD122amd64-tbb-migr/2021-01-15_15h54m22s/logs/errors/py37-numba-0.51.2.log

numba/np/ufunc/tbbpool.cpp:40:13: error: no type named 'task_scheduler_init' in namespace 'tbb'; did you mean 'task_scheduler_handle'?
static tbb::task_scheduler_init *tsi = NULL;
[... and other errors ...]

Could you try to provide a patch (important: *by replying to this PR*) to facilitate the migration to devel/onetbb ?

To help you modifying your port, expected patches to devel/tbb and devel/onetbb are available in PR #252648.

You will also need suitesparse patches from PR #252651 as suitesparse does not build with oneTbb.

Thanks for your contribution,
Best regards,

Ganael.