Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2021 02:22:28 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e81afc20d81e - main - lang/pocl: drop pkg-message + minor style and whitespace fixes
Message-ID:  <202111170222.1AH2MSo6019741@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e81afc20d81e70277a0b9a4ba1a5a26c1d0f8996

commit e81afc20d81e70277a0b9a4ba1a5a26c1d0f8996
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-11-17 02:21:10 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111170222.1AH2MSo6019741>