From owner-freebsd-x11@freebsd.org Thu Nov 26 19:17:17 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D9CF46DA13 for ; Thu, 26 Nov 2020 19:17:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4ChnZP21tsz3C9B for ; Thu, 26 Nov 2020 19:17:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4574146DAA5; Thu, 26 Nov 2020 19:17:17 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4537F46D7D9 for ; Thu, 26 Nov 2020 19:17:17 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ChnZP1Qdqz3Byj for ; Thu, 26 Nov 2020 19:17:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 23C521E7 for ; Thu, 26 Nov 2020 19:17:17 +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 0AQJHHHs060674 for ; Thu, 26 Nov 2020 19:17:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0AQJHHdg060673 for x11@FreeBSD.org; Thu, 26 Nov 2020 19:17:17 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: x11@FreeBSD.org Subject: [Bug 250562] devel/opencl: lacks OpenCL 3.0 support Date: Thu, 26 Nov 2020 19:17:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2020 19:17:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250562 --- Comment #8 from Jan Beich --- Comment on attachment 219902 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219902 Adapt OpenCL API 3.0 Can you rebase against current ports/ tree? $ make =3D=3D=3D> Patching for opencl-3.0 =3D=3D=3D> Applying FreeBSD patches for opencl-3.0 from /usr/ports/devel/opencl/files 1 out of 1 hunks failed--saving rejects to cl_platform.h.rej =3D=3D=3D> FAILED Applying FreeBSD patch-cl__platform.h =3D=3D=3D> FAILED to apply cleanly FreeBSD patch(es) patch-cl__platform.h *** Error code 1 > -PORTVERSION=3D 2.2 > -PORTREVISION=3D 2 > +PORTVERSION=3D 3.0 [...] > -COMMENT=3D Open Computing Language (OpenCL) specifications V2.2 (header = files) > +COMMENT=3D Open Computing Language (OpenCL) specifications V3.0 (header = files) [...] > -These header are covering OpenCL API 2.2 > +These header are covering OpenCL API 3.0 Why duplicate OpenCL version in COMMENT and pkg-descr? > -LICENSE=3D unknown > +LICENSE=3D Apache 2.0 Define LICENSE=3DAPACHE20 instead and drop other LICENSE_* variables. Other= wise, it fails to build: =3D=3D=3D> License not correctly defined: multiple licenses in LICENSE, but LICENSE_COMB is set to single (or undefined) make: exec(exit) failed (No such file or directory) > -CONFLICTS=3D opencl-1.[0-2] > +CONFLICTS=3D opencl-[1-2].[0-2] CONFLICTS has no impact on current package. If no other package is named "opencl" then CONFLICTS can be dropped. > -CLHPP_TAG=3D 8b6a312 > +CLHPP_TAG=3D 524f5ca benchmarks/clpeak needs header from a newer CLHPP snapshot. Can you update = and include CL/opencl.hpp? In file included from src/logger.cpp:1: In file included from include/logger.h:12: include/common.h:8:10: fatal error: 'CL/opencl.hpp' file not found #include ^~~~~~~~~~~~~~~ --=20 You are receiving this mail because: You are on the CC list for the bug.=