blob: 381aa4ab3fd5f2b30fcce1183e1c5d763abc7f77 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= libxsmm
DISTVERSION= 1.16.3
CATEGORIES= math science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library for dense and sparse matrix operations and deep learning
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BROKEN_i386= error: assigning to '__m256i' (vector of 4 'long long' values) from incompatible type 'int'
BUILD_DEPENDS= bash:shells/bash
USES= cpe fortran gmake localbase:ldflags python:build shebangfix
CPE_VENDOR= ${PORTNAME}_project
SHEBANG_GLOB= *.sh
USE_GITHUB= yes
GH_ACCOUNT= hfp
USE_LDCONFIG= yes
MAKE_ARGS= STATIC=0 DEPSTATIC=0 MAKE_PARALLEL=1
LDFLAGS+= -lm
TEST_TARGET= tests
BINARY_ALIAS= python=${PYTHON_CMD}
.include <bsd.port.options.mk>
.if ${ARCH} != amd64
MAKE_ARGS+= PLATFORM=1
.endif
post-install: # https://github.com/hfp/libxsmm/issues/413
${RMDIR} ${STAGEDIR}${PREFIX}/share/modules
.include <bsd.port.mk>
|