blob: 81d2a2e613582fb9241ae7085ca70319fc07d38e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
PORTNAME= opencl-clang
DISTVERSIONPREFIX= v
DISTVERSION= 11.0.0
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Clang wrapper to compile OpenCL C kernels to SPIR-V modules
LICENSE= NCSA
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libLLVM-${DISTVERSION:R:R}.so:devel/llvm${DISTVERSION:R:R} \
libLLVMSPIRVLib.so.${DISTVERSION:R:R}:devel/spirv-llvm-translator
USES= cmake compiler:c++11-lib localbase:ldflags
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= intel
CMAKE_OFF= LLVMSPIRV_INCLUDED_IN_LLVM
CMAKE_ARGS= -DSPIRV_TRANSLATOR_DIR:PATH="${PREFIX}/lib"
PLIST_FILES= include/cclang/common_clang.h \
lib/libopencl-clang.so \
lib/libopencl-clang.so.${DISTVERSION:R:R}
.include <bsd.port.mk>
|