Lines 11-19
Link Here
|
11 |
LICENSE= BSD3CLAUSE |
11 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
13 |
|
14 |
LLVM_VER= 90 |
14 |
BUILD_DEPENDS= bash:shells/bash |
15 |
BUILD_DEPENDS= bash:shells/bash \ |
|
|
16 |
llvm${LLVM_VER}>=0:devel/llvm${LLVM_VER} |
17 |
|
15 |
|
18 |
OPTIONS_DEFINE= PARA CBLAS |
16 |
OPTIONS_DEFINE= PARA CBLAS |
19 |
PARA_DESC= use pthread parallelization |
17 |
PARA_DESC= use pthread parallelization |
Lines 24-30
Link Here
|
24 |
USE_GITHUB= yes |
22 |
USE_GITHUB= yes |
25 |
GH_ACCOUNT= flame |
23 |
GH_ACCOUNT= flame |
26 |
|
24 |
|
27 |
USES= gmake python shebangfix |
25 |
USES= compiler gmake python shebangfix |
28 |
USE_LDCONFIG= yes |
26 |
USE_LDCONFIG= yes |
29 |
SHEBANG_FILES= build/flatten-headers.py |
27 |
SHEBANG_FILES= build/flatten-headers.py |
30 |
|
28 |
|
Lines 57-63
Link Here
|
57 |
PLIST_SUB+= ARCH="generic" |
55 |
PLIST_SUB+= ARCH="generic" |
58 |
.endif |
56 |
.endif |
59 |
|
57 |
|
|
|
58 |
.include <bsd.port.pre.mk> |
59 |
|
60 |
.if ${CHOSEN_COMPILER_TYPE} == gcc |
61 |
USE_GCC= yes |
62 |
.else |
63 |
LLVM_VER= 90 |
64 |
BUILD_DEPENDS+= llvm${LLVM_VER}>=0:devel/llvm${LLVM_VER} |
60 |
CC= ${LOCALBASE}/bin/clang${LLVM_VER} |
65 |
CC= ${LOCALBASE}/bin/clang${LLVM_VER} |
61 |
CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} |
66 |
CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} |
|
|
67 |
.endif |
62 |
|
68 |
|
63 |
.include <bsd.port.mk> |
69 |
.include <bsd.port.post.mk> |