mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- fix compiler settings and flags
- define conflicts regarding other ocl, openocl and pocl ports - add license - extend pkg-descr and add WWW link PR: ports/179180 Submitted by: ohartman@zedat.fu-berlin.de Approved by: mentors (implicit)
This commit is contained in:
parent
7095a38e42
commit
087ee7f10d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372647
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= freeocl
|
||||
PORTVERSION= 0.3.6
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
DISTNAME= FreeOCL-${PORTVERSION}-src
|
||||
@ -11,19 +11,24 @@ DISTNAME= FreeOCL-${PORTVERSION}-src
|
||||
MAINTAINER= ohartman@zedat.fu-berlin.de
|
||||
COMMENT= Free Open Computing Language (OpenCL) implementation for CPU
|
||||
|
||||
LICENSE= LGPL3
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
|
||||
${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl
|
||||
|
||||
LICENSE= LGPL3
|
||||
CONFLICTS= ocl-icd[0-9]* opencl-icd[0-9]* pocl[0-9]*
|
||||
|
||||
WRKSRC= ${WRKDIR}/FreeOCL-${PORTVERSION}-Source
|
||||
|
||||
USE_GCC= yes
|
||||
USE_GCC= any
|
||||
USES= cmake
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CXXFLAGS+= -pthread -std=gnu++0x
|
||||
CMAKE_ENV+= FREEOCL_CXX_COMPILER="${CXX}"
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
|
||||
${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1,5 @@
|
||||
FreeOCL - a free OpenCL implementation for CPU
|
||||
FreeOCL is an implementation of OpenCL 1.2 specifications
|
||||
targeting CPUs. Instead of using a built-in or dedicated
|
||||
compiler, it relies on an external C++ compiler.
|
||||
|
||||
WWW: https://code.google.com/p/freeocl/
|
||||
|
Loading…
Reference in New Issue
Block a user