Changeset View
Changeset View
Standalone View
Standalone View
head/math/blis/Makefile
# Created by: Johannes M Dieterich <jmd@FreeBSD.org> | # Created by: Johannes M Dieterich <jmd@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= blis | PORTNAME= blis | ||||
LIBVERSION= 0.3.2 | PORTVERSION= 0.4.0 | ||||
PORTVERSION= ${LIBVERSION}g20180501 | |||||
PORTREVISION= 1 | |||||
CATEGORIES= math | CATEGORIES= math | ||||
MAINTAINER= jmd@FreeBSD.org | MAINTAINER= jmd@FreeBSD.org | ||||
COMMENT= Software framework for high-performance BLAS-like libraries | COMMENT= Software framework for high-performance BLAS-like libraries | ||||
LICENSE= BSD3CLAUSE | LICENSE= BSD3CLAUSE | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
BUILD_DEPENDS= bash:shells/bash \ | BUILD_DEPENDS= bash:shells/bash \ | ||||
llvm50>=0:devel/llvm50 | llvm60>=0:devel/llvm60 | ||||
BROKEN_powerpc64= fails to configure: common.mk:118: Unable to determine compiler vendor | BROKEN_powerpc64= fails to configure: common.mk:118: Unable to determine compiler vendor | ||||
OPTIONS_DEFINE= PARA CBLAS | OPTIONS_DEFINE= PARA CBLAS | ||||
PARA_DESC= use pthread parallelization | PARA_DESC= use pthread parallelization | ||||
CBLAS_DESC= build the CBLAS compatibility layer | CBLAS_DESC= build the CBLAS compatibility layer | ||||
OPTIONS_DEFAULT= PARA CBLAS | OPTIONS_DEFAULT= PARA CBLAS | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= flame | GH_ACCOUNT= flame | ||||
GH_TAGNAME= 8adb2f9 | |||||
USES= gmake python shebangfix | USES= gmake python shebangfix | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
SHEBANG_FILES= build/flatten-headers.py | SHEBANG_FILES= build/flatten-headers.py | ||||
HAS_CONFIGURE= yes | HAS_CONFIGURE= yes | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
Show All 18 Lines | |||||
CONFIGURE_ARGS+= x86_64 | CONFIGURE_ARGS+= x86_64 | ||||
PLIST_SUB+= X8664="" | PLIST_SUB+= X8664="" | ||||
.else | .else | ||||
LIBNAME= generic | LIBNAME= generic | ||||
CONFIGURE_ARGS+= generic | CONFIGURE_ARGS+= generic | ||||
PLIST_SUB+= X8664="@comment " | PLIST_SUB+= X8664="@comment " | ||||
.endif | .endif | ||||
CC= ${LOCALBASE}/bin/clang50 | CC= ${LOCALBASE}/bin/clang60 | ||||
CXX= ${LOCALBASE}/bin/clang++50 | CXX= ${LOCALBASE}/bin/clang++60 | ||||
post-install: | |||||
${MV} ${STAGEDIR}/${PREFIX}/lib/libblis-${LIBVERSION}-${LIBNAME}.a ${STAGEDIR}/${PREFIX}/lib/libblis.a | |||||
${MV} ${STAGEDIR}/${PREFIX}/lib/libblis-${LIBVERSION}-${LIBNAME}.so ${STAGEDIR}/${PREFIX}/lib/libblis.so | |||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libblis.so | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |