mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
This release incorporates the changes needed for us which were previously only available through a snapshot. It also allows us to drop some install hacks and brings general improvements to blis itself. Switch to llvm6 as the compiler. Reviewed by: zeising (mentor) Approved by: zeising (mentor) Differential Revision: https://reviews.freebsd.org/D16522
64 lines
1.3 KiB
Makefile
64 lines
1.3 KiB
Makefile
# Created by: Johannes M Dieterich <jmd@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= blis
|
|
PORTVERSION= 0.4.0
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= jmd@FreeBSD.org
|
|
COMMENT= Software framework for high-performance BLAS-like libraries
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= bash:shells/bash \
|
|
llvm60>=0:devel/llvm60
|
|
|
|
BROKEN_powerpc64= fails to configure: common.mk:118: Unable to determine compiler vendor
|
|
|
|
OPTIONS_DEFINE= PARA CBLAS
|
|
PARA_DESC= use pthread parallelization
|
|
CBLAS_DESC= build the CBLAS compatibility layer
|
|
OPTIONS_DEFAULT= PARA CBLAS
|
|
OPTIONS_SUB= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= flame
|
|
|
|
USES= gmake python shebangfix
|
|
USE_LDCONFIG= yes
|
|
SHEBANG_FILES= build/flatten-headers.py
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
# enable BLAS and static/shared libs by default
|
|
CONFIGURE_ARGS+= --enable-blas \
|
|
--prefix=${PREFIX} \
|
|
--enable-shared \
|
|
--enable-static
|
|
#--prefix=PREFIX
|
|
|
|
.if ${PORT_OPTIONS:MPARA}
|
|
CONFIGURE_ARGS+= -t pthreads
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MCBLAS}
|
|
CONFIGURE_ARGS+= --enable-cblas
|
|
.endif
|
|
|
|
.if ${ARCH} == amd64
|
|
LIBNAME= x86_64
|
|
CONFIGURE_ARGS+= x86_64
|
|
PLIST_SUB+= X8664=""
|
|
.else
|
|
LIBNAME= generic
|
|
CONFIGURE_ARGS+= generic
|
|
PLIST_SUB+= X8664="@comment "
|
|
.endif
|
|
|
|
CC= ${LOCALBASE}/bin/clang60
|
|
CXX= ${LOCALBASE}/bin/clang++60
|
|
|
|
.include <bsd.port.mk>
|