Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jan 2021 12:21:37 +0100
From:      Ganael Laplanche <ganael.laplanche@martymac.org>
To:        freebsd-ports@freebsd.org
Subject:   Updating devel/tbb - Introducing devel/onetbb
Message-ID:  <1939173.4WAli8B44Z@home.martymac.org>

next in thread | raw e-mail | index | archive | help
Hello,

First of all, happy new year :)

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, I cannot update devel/tbb anymore as most of our dependent 
ports do *not* build with that new version, that includes:

Portname:                 Maintainer:
---------                 -----------
misc/openvdb              yuri@FreeBSD.org
misc/dartsim              yuri@FreeBSD.org
misc/ngraph               yuri@FreeBSD.org
databases/tiledb          sunpoet@FreeBSD.org
graphics/py-opencv        tcberner@FreeBSD.org
graphics/opencv-java      tcberner@FreeBSD.org
graphics/instant-meshes   greg@unrelenting.technology
graphics/mirtk            yuri@FreeBSD.org
graphics/opensubdiv       FreeBSD@Shaneware.biz
graphics/blender          FreeBSD@Shaneware.biz
graphics/opencv           tcberner@FreeBSD.org
graphics/opencv-core      tcberner@FreeBSD.org
graphics/oidn             yuri@FreeBSD.org
devel/py-numba            dave@dal.ca
devel/ikos                yuri@FreeBSD.org
science/pagmo2            yuri@FreeBSD.org
science/madness           yuri@FreeBSD.org
www/osrm-backend          freebsd@mosedal.net
archivers/par2cmdline-tbb martymac@FreeBSD.org
cad/opencascade           thierry@FreeBSD.org
cad/PrusaSlicer           teodorsigaev@gmail.com
math/suitesparse          fortran@FreeBSD.org
math/saga                 rhurlin@FreeBSD.org
math/dune-pdelab          yuri@FreeBSD.org
math/openturns            yuri@FreeBSD.org
math/curv                 yuri@FreeBSD.org

The following ports seem to build correctly :

Portname:                 Maintainer:
---------                 -----------
math/dune-grid            yuri@FreeBSD.org
math/dune-common          yuri@FreeBSD.org
math/dune-uggrid          yuri@FreeBSD.org
math/dune-geometry        yuri@FreeBSD.org
biology/bowtie2           jwb@FreeBSD.org
graphics/openimageio      FreeBSD@Shaneware.biz
graphics/embree           danfe@FreeBSD.org
math/deal.ii              yuri@FreeBSD.org

See: http://box.martymac.org/FreeBSD-Packages/build.html?
mastername=FBSD122amd64-default&build=2021-01-07_12h17m40s for more details.

To be able to smoothly introduce onetbb 2021 into the ports tree and let 
maintainers migrate to that new version, here is my plan :

- leave devel/tbb in place and introduce a new port: devel/onetbb
- add a PKGNAMESUFFIX to devel/tbb to 'freeze' its version and modify 
description to indicate the 'legacy' status of the port
- design devel/onetbb to install files in dedicated subdirs so that it will 
not CONFLICT with current devel/tbb (needed during migration phase)
- provide a pkgconf file that will be used by dependencies to locate those 
files and include/link options easily
- [let maintainers migrate their ports to that new version]
- at some time (?), mark devel/tbb as DEPRECATED with an EXPIRATION_DATE and 
do the same for remaining (non-updated) deps

I would originally have preferred to do the opposite : i.e. move files from 
devel/tbb to a dedicated subdir and let devel/onetbb install files to the 
default PREFIX, but that would imply modifying each dependency myself, which 
is something I won't have time to do (and each port's MAINTAINER is probably 
the best person do do that). Doing it that way will also incite MAINTAINERs to 
use the pkgconf file whenever possible to detect onetbb, wich will introduce 
more flexibility for future updates.

Any comment on this ?

Best regards,

-- 
Ganael LAPLANCHE <ganael.laplanche@martymac.org>
http://www.martymac.org | http://contribs.martymac.org
FreeBSD: martymac <martymac@FreeBSD.org>, http://www.FreeBSD.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1939173.4WAli8B44Z>