mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 19:35:28 -04:00
32 lines
721 B
Makefile
32 lines
721 B
Makefile
# Created by: Johannes Dieterich <jmd@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= oclgrind
|
|
PORTVERSION= 20170122
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= jmd@FreeBSD.org
|
|
COMMENT= SPIR interpreter and virtual OpenCL device simulator
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= opencl>=0:devel/opencl \
|
|
llvm-config40:devel/llvm40
|
|
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
|
|
RUN_DEPENDS= opencl>=0:devel/opencl
|
|
|
|
BROKEN_FreeBSD_10= oclgrind is only supported on FreeBSD 11.0 and newer, crashes LLVM 3.4
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jrprice
|
|
GH_PROJECT= Oclgrind
|
|
GH_TAGNAME= b777367
|
|
|
|
USE_LDCONFIG= yes
|
|
USES= cmake
|
|
|
|
CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm40/share/llvm/cmake
|
|
|
|
.include <bsd.port.mk>
|