From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 6 12:20:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46A1B106566B for ; Thu, 6 Sep 2012 12:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 189CE8FC18 for ; Thu, 6 Sep 2012 12:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q86CK1Ma088955 for ; Thu, 6 Sep 2012 12:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q86CK1I2088941; Thu, 6 Sep 2012 12:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 6 Sep 2012 12:20:01 GMT Resent-Message-Id: <201209061220.q86CK1I2088941@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Hartmann Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07BF2106564A for ; Thu, 6 Sep 2012 12:11:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E64AC8FC08 for ; Thu, 6 Sep 2012 12:11:36 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q86CBa9v072722 for ; Thu, 6 Sep 2012 12:11:36 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q86CBaxl072721; Thu, 6 Sep 2012 12:11:36 GMT (envelope-from nobody) Message-Id: <201209061211.q86CBaxl072721@red.freebsd.org> Date: Thu, 6 Sep 2012 12:11:36 GMT From: Oliver Hartmann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/171376: New port: devel/freeocl: Providing a CPU-based OpenCL library libOpenCL.so to FreeBSD X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 12:20:02 -0000 >Number: 171376 >Category: ports >Synopsis: New port: devel/freeocl: Providing a CPU-based OpenCL library libOpenCL.so to FreeBSD >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 06 12:20:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Oliver Hartmann >Release: FreeBSD 10.0-CURRENT/amd64 >Organization: FU Berlin >Environment: >Description: FreeBSD lacks for crucial GPGPU/CPU support when it comes to CUDA (nVidai) or OpenCL (open standard). Since nor Intel, nor nVidia and nor AMD support FreeBSD as a development platform using the rapidly spreading OpenCL standard, FreeBSD is useless as a development platform for OpenCL-based software. It seems that there are efforts making OpenCL for CPU available on a opensource basis and one of those promising efforts can be found at http://code.google.com/p/freeocl/ The port provides a OpenCL library that can be compiled against. The port suggestion made hereby requires another port I suggested providing the Khronos OpenCL 1.2 header files, see also my New Port request for devel/opencl (http://www.freebsd.org/cgi/query-pr.cgi?pr=171375) [ports/171375] >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # freeocl # freeocl/Makefile # freeocl/pkg-descr # freeocl/pkg-message # freeocl/distinfo # echo c - freeocl mkdir -p freeocl > /dev/null 2>&1 echo x - freeocl/Makefile sed 's/^X//' >freeocl/Makefile << '604bb6bbcbdd64260089abdd11c3300e' XPORTNAME= freeocl XPORTVERSION= 0.3.6 XCATEGORIES= devel X XMAINTAINER= ports@FreeBSD.org XCOMMENT= FreeOCL - a free OpenCL implementation for CPU X X#MASTER_SITES= http://freeocl.googlecode.com/files/FreeOCL-0.3.6-src.tar.gz XMASTER_SITES= http://freeocl.googlecode.com/files/ XDISTNAME= FreeOCL-${PORTVERSION}-src X XWRKSRC= ${WRKDIR}/FreeOCL-${PORTVERSION}-Source X XUSE_CMAKE= YES XCMAKE_BUILD_TYPE= Release X XUSE_GCC= 4.6+ X X#CXXFLAGS+= -stdlib=libc++ X XBUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops XBUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl X X.include 604bb6bbcbdd64260089abdd11c3300e echo x - freeocl/pkg-descr sed 's/^X//' >freeocl/pkg-descr << '7321084523b6193232cf9a5d53bb59e7' XFreeOCL - a free OpenCL implementation for CPU 7321084523b6193232cf9a5d53bb59e7 echo x - freeocl/pkg-message sed 's/^X//' >freeocl/pkg-message << 'f1873ced748c6f604df9edf87f26f77b' XFreeOCL - a free OpenCL implementation for CPU XCopyright (C) 2011 Roland Brochard X XThis program is free software: you can redistribute it and/or modify Xit under the terms of the GNU Lesser General Public License as published by Xthe Free Software Foundation, either version 3 of the License, or X(at your option) any later version. XThis program is distributed in the hope that it will be useful, Xbut WITHOUT ANY WARRANTY; without even the implied warranty of XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the XGNU Lesser General Public License for more details. XYou should have received a copy of the GNU Lesser General Public License Xalong with this program. If not, see f1873ced748c6f604df9edf87f26f77b echo x - freeocl/distinfo sed 's/^X//' >freeocl/distinfo << '46d70351e22a0453ddaed201d6caebfc' XSHA256 (FreeOCL-0.3.6-src.tar.gz) = d1eea6d6214781a67efee6b691f06407780fb51f8dd742a83324478a6cfb8f1a XSIZE (FreeOCL-0.3.6-src.tar.gz) = 216517 46d70351e22a0453ddaed201d6caebfc exit >Release-Note: >Audit-Trail: >Unformatted: