CGAL / cgal

The public CGAL repository, see the README below
https://github.com/CGAL/cgal#readme
Other
4.87k stars 1.38k forks source link

Support oneapi-TBB #5816

Closed lrineau closed 3 years ago

lrineau commented 3 years ago

The newest version of TBB is oneTBB-2021, from oneAPI: https://github.com/oneapi-src/oneTBB.

We only test CGAL with TBB-2020 at best, and CGAL code does not compile with oneTBB.

I see that TBB has already been updated to version oneTBB-2021 on Homebrew: https://repology.org/project/onetbb/versions.

@danston don't you have an issue with CGAL and TBB?

I think we should install oneTBB on at least one test platform, and fix the code. @maxGimeno

That is probably too late for CGAL 5.3, but it should be a goal for 5.3.1.

danston commented 3 years ago

@lrineau I use the TBB version from brew and everything seems to work just fine. The only problem I had is the one with captured exceptions that has been fixed by using -DTBB_USE_CAPTURED_EXCEPTION=1.

tbb: stable 2021.2.0 (bottled)
Rich and complete approach to parallelism in C++
https://github.com/oneapi-src/oneTBB

This version is also used in the test suite on my machine.

lrineau commented 3 years ago

So it means the CGAL code is already ready for oneTBB. ... Then the compilation error I have in our NURBS project is different.