Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2012 12:11:36 GMT
From:      Oliver Hartmann <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171376: New port: devel/freeocl: Providing a CPU-based OpenCL library libOpenCL.so to FreeBSD
Message-ID:  <201209061211.q86CBaxl072721@red.freebsd.org>
Resent-Message-ID: <201209061220.q86CK1I2088941@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
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 <http://www.gnu.org/licenses/>;
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:



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