1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/math/libxsmm/Makefile
2021-10-22 01:57:01 -07:00

34 lines
782 B
Makefile

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
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= relies on hard-coded x86 code, and is only supported on 64-bit
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}
post-install: # https://github.com/hfp/libxsmm/issues/413
${RMDIR} ${STAGEDIR}${PREFIX}/share/modules
.include <bsd.port.mk>