summaryrefslogtreecommitdiff
path: root/math/tblis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/tblis/Makefile')
-rw-r--r--math/tblis/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/math/tblis/Makefile b/math/tblis/Makefile
index bebf7fcf8c7e..ff63b7ce6cba 100644
--- a/math/tblis/Makefile
+++ b/math/tblis/Makefile
@@ -1,5 +1,5 @@
PORTNAME= tblis
-PORTVERSION= 1.2.0
+PORTVERSION= 1.3.0
DISTVERSIONPREFIX= v
CATEGORIES= math
@@ -7,21 +7,19 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Framework for performing tensor operations
WWW= https://github.com/devinamatthews/tblis
-BROKEN_FreeBSD_14= error: static_assert failed due to requirement
-
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= requires SSE
+USES= compiler:c++11-lang gmake libtool
+USE_LDCONFIG= yes
+
OPTIONS_DEFINE= PARA
PARA_DESC= use pthread parallelization
OPTIONS_DEFAULT= PARA
-USES= compiler:c++11-lang gmake libtool
-USE_LDCONFIG= yes
-
USE_GITHUB= yes
GH_ACCOUNT= devinamatthews
@@ -32,8 +30,11 @@ PARA_CONFIGURE_OFF= --enable-thread-model=none
INSTALL_TARGET= install-strip
-post-patch:
+pre-configure:
# Avoid conflict with C++20 <version> by ignoring <...> under WRKSRC
@${REINPLACE_CMD} -i .c++20 's/-I/-iquote/g' ${WRKSRC}/Makefile.in
+do-test:
+ (cd ${WRKSRC}/bin && ./test)
+
.include <bsd.port.mk>