From nobody Fri Jan 6 07:53:24 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NpFvT6p49z2rCVC for ; Fri, 6 Jan 2023 07:53:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NpFvT1gnFz3hHy for ; Fri, 6 Jan 2023 07:53:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672991605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NnwB/8xWb9/+7iRPXO6UOtBtGZCry6VzGjyDV18DM+0=; b=tGFEQakcouBMbArwkxMarAp51UNMf0l4yUlGhnX3FfbRe36aqOlbCKdXhm+5XecZm22J5Q bvOJIDMQvhBHRq7jZGOnOGc8J5+9DFn13zz+PHeNQhtEykVuDWg20UjuNSmcgBES0JJwxJ 4bai6izaCVLk9sEF85vn35APMPAiVhcufuyOQ1eNoxDCarjpOCrC9kJEn90C1Axiv6mPoo qka4zm4pdmtAzA/pWUfkyff7QpxQlEqxFhK1zZqxSI7vcX2lSk11fPPXY4T+2W2+pemy52 wIhddNBXq1RWkGT8TBynz7355W94hH6TH8HN0mMyL3h4SdZKxPWGrtUIgwI6Bw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672991605; a=rsa-sha256; cv=none; b=Z1qFCKRIgYRyzvE7D6/at4G0zzzgvaQaAYOjGOtguA4TnUPtqB61+sLc1CnFHy71G/vdeM jAXLIRpJD89De28CtxyJ07d6TOROtaM7vcQUztw1teT6KyaBAyf+8L+fZfaKgzMVC9x/cD nPDuxO/2kKpISeZ0i9Z4G3cTGUIALbV95qoUuSvi/YfkPhZoX9hucllPXlgqVA84frFfNQ af0nyZSt97okJLWcLvCaWUpwxXtdGpoKnl4wHbGHCOEmSyfeR6DnAfosrek6EymLVvy2G3 p+v8gHq8ZDDMzCDSAM0K6TmvZKkzD8Z92xjfCGzYKAfSps949WOeshcyQoNdjQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NpFvT0SVtzNM5 for ; Fri, 6 Jan 2023 07:53:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3067rPnc075420 for ; Fri, 6 Jan 2023 07:53:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3067rP84075419 for ports-bugs@FreeBSD.org; Fri, 6 Jan 2023 07:53:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268779] graphics/openpgl: fix build with OpenMP (-TBB) Date: Fri, 06 Jan 2023 07:53:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mazhe@alkumuna.eu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=