From nobody Wed Nov 17 02:22:28 2021 X-Original-To: dev-commits-ports-main@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 5E3E2185539B; Wed, 17 Nov 2021 02:22:28 +0000 (UTC) (envelope-from git@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 4Hv6C82FWtz54Xx; Wed, 17 Nov 2021 02:22:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 2D2BE18A75; Wed, 17 Nov 2021 02:22:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AH2MS7T019742; Wed, 17 Nov 2021 02:22:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AH2MSo6019741; Wed, 17 Nov 2021 02:22:28 GMT (envelope-from git) Date: Wed, 17 Nov 2021 02:22:28 GMT Message-Id: <202111170222.1AH2MSo6019741@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: e81afc20d81e - main - lang/pocl: drop pkg-message + minor style and whitespace fixes List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e81afc20d81e70277a0b9a4ba1a5a26c1d0f8996 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=e81afc20d81e70277a0b9a4ba1a5a26c1d0f8996 commit e81afc20d81e70277a0b9a4ba1a5a26c1d0f8996 Author: Alexey Dokuchaev AuthorDate: 2021-11-17 02:21:10 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-11-17 02:21:11 +0000 lang/pocl: drop pkg-message + minor style and whitespace fixes - Do not hardcode architectures in ONLY_FOR_ARCHS_REASON, derive them from ONLY_FOR_ARCHS instead (this also takes care of the missing Oxford comma) - Remove the pkg-message file since the issue it talks about had been fixed in 2015; it also had slightly incorrect wording and several EOL whitespace bugs --- lang/pocl/Makefile | 2 +- lang/pocl/pkg-descr | 9 +++------ lang/pocl/pkg-message | 12 ------------ 3 files changed, 4 insertions(+), 19 deletions(-) diff --git a/lang/pocl/Makefile b/lang/pocl/Makefile index 8eb903a7b308..15d285260bd2 100644 --- a/lang/pocl/Makefile +++ b/lang/pocl/Makefile @@ -10,7 +10,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le -ONLY_FOR_ARCHS_REASON= only tested on aarch64, amd64, i386, powerpc64 and powerpc64le +ONLY_FOR_ARCHS_REASON= only tested on ${ONLY_FOR_ARCHS:tW:S/ /, /g} BUILD_DEPENDS= llvm${LLVM_VERSION}>=10:devel/llvm${LLVM_VERSION} \ opencl>=2.2:devel/opencl diff --git a/lang/pocl/pkg-descr b/lang/pocl/pkg-descr index 1fbd54e182a3..ebf154f496d4 100644 --- a/lang/pocl/pkg-descr +++ b/lang/pocl/pkg-descr @@ -1,6 +1,3 @@ -Portable OpenCL (pocl) ----------------------- - Portable OpenCL aims to be an efficient open source (MIT-licensed) implementation of the OpenCL 1.2 standard. @@ -8,11 +5,11 @@ In addition to producing an easily portable open source OpenCL implementation, another major goal of the project is improving performance portability of OpenCL programs with compiler optimizations, reducing the need for target-dependent manual -optimizations. At the core of pocl is a set of LLVM passes -used to statically parallelize multiple work-items with the kernel +optimizations. At the core of POCL is a set of LLVM passes used +to statically parallelize multiple work-items with the kernel compiler, even in the presence of work-group barriers. This enables parallelization of the fine-grained static concurrency in the work -groups in multiple ways (SIMD, VLIW, superscalar,...). +groups in multiple ways (SIMD, VLIW, superscalar, ...). The code base is modularized to allow easy adding of new "device drivers" in the host-device layer. A generic multithreaded "target driver" is diff --git a/lang/pocl/pkg-message b/lang/pocl/pkg-message deleted file mode 100644 index 3dfd31c876d7..000000000000 --- a/lang/pocl/pkg-message +++ /dev/null @@ -1,12 +0,0 @@ - -Deadlocks (freezes) on FreeBSD: - -OpenCL applications using pocl on FreeBSD must be compiled with -options CFLAGS+=-pthread or CXXFLAGS+=-pthread, otherwise someone risk -that a library may not initialize the threading on BSD independently, -even if an ICD loader is used. - -See: - http://www.freebsd.org/cgi/query-pr.cgi?pr=163512 - -(Source: http://portablecl.org/docs/html/faq.html?highlight=freebsd)