Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 836566

Summary: sci-mathematics/cgal-5.2.2-r1 is not compatible with dev-cpp/tbb-2021.5.0-r1
Product: Gentoo Linux Reporter: Dima Pasechnik <dimpase>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED FIXED    
Severity: major CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
URL: https://github.com/CGAL/cgal/issues/6168
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 820851    

Description Dima Pasechnik 2022-03-31 21:43:53 UTC
attempts to use tbb/CGAL's parallel facilities fail, as CGAL's version is outdated. In particular, in the current tbb the header tbb/parallel_do.h, used by CGAL 5.2, was removed. More details in https://github.com/CGAL/cgal/issues/6168

Reproducible: Always

Steps to Reproduce:
1. install current CGAL and tbb
2. try compiling mesh_implicit_sphere.cpp CGAL example (https://doc.cgal.org/latest/Mesh_3/Mesh_3_2mesh_implicit_sphere_8cpp-example.html) 

Actual Results:  
see "fatal error: tbb/parallel_do.h: No such file or directory"

Expected Results:  
should work

use a CGAL version with the bug fixed, e.g. the current (5.4), or
Comment 1 Matthias Maier gentoo-dev 2022-06-08 23:02:02 UTC
OneAPI support is fixed in 5.4.1 which will be stabilized soon:

https://github.com/CGAL/cgal/pull/5850