Date: Fri, 06 Jan 2023 07:53:24 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268779] graphics/openpgl: fix build with OpenMP (-TBB) Message-ID: <bug-268779-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268779 Bug ID: 268779 Summary: graphics/openpgl: fix build with OpenMP (-TBB) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: mazhe@alkumuna.eu CC: FreeBSD@ShaneWare.Biz CC: FreeBSD@ShaneWare.Biz Flags: maintainer-feedback?(FreeBSD@ShaneWare.Biz) Created attachment 239297 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239297&action= =3Dedit Patch for the port directory. Hi, I have been issues building graphics/openpgl with the OpenMP multithreading backend rather than TBB. It's not much : - In openpgl/spatial/kdtree/KDTreeBuilder.h, updateTreeNode() calls are mis= sing their sample argument in OpenMP version (not in TBB), just add it - In openpgl/spatial/KNN.h, a #pragma parallel for try to set the number of cores from an inexistant variable, the TBB version do not set the number of cores: remove the parameters. The patches are in #ifdef-ed parts of the code and can be applied regardles= s of the option selected. I will aslo add a poudriere build log for QA. Thanks, --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268779-7788>