blob: d9141924494e039db6895dafedffef6492c26718 (
plain) (
blame)
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
26
|
PORTNAME= libclc
DISTVERSION= 13.0.1
CATEGORIES= devel
MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/
DISTNAME= libclc-${DISTVERSION}.src
MAINTAINER= x11@FreeBSD.org
COMMENT= Required library functions for OpenCL C programming language
WWW= https://libclc.llvm.org/
LICENSE= LLVM
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
LICENSE_NAME= Apache License 2.0 with LLVM Exceptions
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= llvm13>=13.0:devel/llvm13 \
spirv-llvm-translator-llvm13>0:devel/spirv-llvm-translator@llvm13 \
libedit>=0:devel/libedit
USES= cmake compiler:c++11-lib python:3.6+,build tar:xz
USE_LDCONFIG= yes
BINARY_ALIAS= python=${PYTHON_CMD}
CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config13
.include <bsd.port.mk>
|