View | Details | Raw Unified | Return to bug 251842
Collapse All | Expand All

(-)Makefile (-2 / +22 lines)
Lines 19-29 Link Here
19
NO_ARCH=	yes
19
NO_ARCH=	yes
20
20
21
OPTIONS_DEFINE=	FULL
21
OPTIONS_DEFINE=	FULL
22
OPTIONS_DEFAULT=FULL
22
OPTIONS_SINGLE=		BLAS
23
OPTIONS_SINGLE_BLAS=	ATLAS GOTOBLAS OPENBLAS REFERENCE
24
OPTIONS_DEFAULT=	OPENBLAS FULL
23
25
26
ATLAS_DESC=         	ATLAS blas implementation
27
GOTOBLAS_DESC=		GotoBLAS blas implementation
28
OPENBLAS_DESC=		OpenBLAS blas implementation
29
REFERENCE_DESC=		Reference blas implementation
30
24
FULL_DESC=	Add the support for math dependencies
31
FULL_DESC=	Add the support for math dependencies
25
FULL_CMAKE_ON=	-DBLAS_DIR:PATH="${LOCALBASE}"
32
FULL_CMAKE_ON=	-DBLAS_DIR:PATH="${LOCALBASE}"
26
FULL_USES=	blaslapack:openblas gl pkgconfig
33
FULL_USES=	gl pkgconfig
27
FULL_USE=	GL=gl glew glut
34
FULL_USE=	GL=gl glew glut
28
FULL_LIB_DEPENDS=	libcholmod.so:math/suitesparse	\
35
FULL_LIB_DEPENDS=	libcholmod.so:math/suitesparse	\
29
			libsuperlu.so:math/superlu	\
36
			libsuperlu.so:math/superlu	\
Lines 34-36 Link Here
34
			libboost_thread.so:devel/boost-libs
41
			libboost_thread.so:devel/boost-libs
35
42
36
.include <bsd.port.mk>
43
.include <bsd.port.mk>
44
45
.if ${PORT_OPTIONS:MFULL}
46
ATLAS_USES=		blaslapack:atlas
47
ATLAS_CMAKE_ON=		-DBLA_VENDOR:STRING="ATLAS"
48
GOTOBLAS_USES=		blaslapack:gotoblas
49
GOTOBLAS_CMAKE_ON=	-DBLA_VENDOR:STRING="Goto"
50
OPENBLAS_USES=		blaslapack:openblas
51
OPENBLAS_CMAKE_ON=	-DBLA_VENDOR:STRING="Open"
52
REFERENCE_USES=		blaslapack
53
REFERENCE_CMAKE_ON=	-DBLA_VENDOR:STRING="Generic"
54
.endif			
55
56

Return to bug 251842