aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-07-13 05:45:37 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-07-13 05:45:37 +0000
commit581d55bb174297d34146368e5bb5cfea4d5e6bbe (patch)
treea11dcc76177e4572cfcc847db793ce0f2fd352f1 /math
parent07a2a75447df3fcfb71557c877cd328996734023 (diff)
Diffstat (limited to 'math')
-rw-r--r--math/libxsmm/Makefile6
-rw-r--r--math/libxsmm/distinfo6
-rw-r--r--math/libxsmm/files/patch-Makefile17
-rw-r--r--math/libxsmm/pkg-plist14
4 files changed, 19 insertions, 24 deletions
diff --git a/math/libxsmm/Makefile b/math/libxsmm/Makefile
index 381aa4ab3fd5..5023ffb5fbf2 100644
--- a/math/libxsmm/Makefile
+++ b/math/libxsmm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libxsmm
-DISTVERSION= 1.16.3
+DISTVERSION= 1.17
CATEGORIES= math science
MAINTAINER= yuri@FreeBSD.org
@@ -32,7 +32,7 @@ BINARY_ALIAS= python=${PYTHON_CMD}
MAKE_ARGS+= PLATFORM=1
.endif
-post-install: # https://github.com/hfp/libxsmm/issues/413
- ${RMDIR} ${STAGEDIR}${PREFIX}/share/modules
+post-install:
+ @${RM} ${STAGEDIR}${PREFIX}/include/libxsmm/libxsmm_timer.c.orig
.include <bsd.port.mk>
diff --git a/math/libxsmm/distinfo b/math/libxsmm/distinfo
index 7730839da658..e9d3d8920ec4 100644
--- a/math/libxsmm/distinfo
+++ b/math/libxsmm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634870729
-SHA256 (hfp-libxsmm-1.16.3_GH0.tar.gz) = e491ccadebc5cdcd1fc08b5b4509a0aba4e2c096f53d7880062a66b82a0baf84
-SIZE (hfp-libxsmm-1.16.3_GH0.tar.gz) = 2977450
+TIMESTAMP = 1657690125
+SHA256 (hfp-libxsmm-1.17_GH0.tar.gz) = 8b642127880e92e8a75400125307724635ecdf4020ca4481e5efe7640451bb92
+SIZE (hfp-libxsmm-1.17_GH0.tar.gz) = 2528419
diff --git a/math/libxsmm/files/patch-Makefile b/math/libxsmm/files/patch-Makefile
index 307e238c1555..29857aa7cc3c 100644
--- a/math/libxsmm/files/patch-Makefile
+++ b/math/libxsmm/files/patch-Makefile
@@ -1,20 +1,11 @@
---- Makefile.orig 2020-06-26 14:58:46 UTC
+--- Makefile.orig 2021-12-02 20:45:19 UTC
+++ Makefile
-@@ -27,6 +27,8 @@ CFLAGS = $(RPM_OPT_FLAGS)
- CXXFLAGS = $(RPM_OPT_FLAGS)
- FCFLAGS = $(RPM_OPT_FLAGS)
+@@ -27,6 +27,8 @@ CFLAGS := $(RPM_OPT_FLAGS)
+ CXXFLAGS := $(RPM_OPT_FLAGS)
+ FCFLAGS := $(RPM_OPT_FLAGS)
+CFLAGS += -fcommon # multiple definition of `libxsmm_scratch_pools' (and other symbols) https://github.com/hfp/libxsmm/issues/412
+
# THRESHOLD problem size (M x N x K) determining when to use BLAS
# A value of zero (0) populates a default threshold
THRESHOLD ?= 0
-@@ -1611,7 +1613,7 @@ endif
- endif
-
- .PHONY: install-all
--install-all: install samples
-+install-all: install
- ifneq ($(PREFIX),$(ABSDIR))
- @echo
- @echo "LIBXSMM installing samples..."
diff --git a/math/libxsmm/pkg-plist b/math/libxsmm/pkg-plist
index eabc7294288d..11179b2c216d 100644
--- a/math/libxsmm/pkg-plist
+++ b/math/libxsmm/pkg-plist
@@ -284,19 +284,19 @@ include/libxsmm_typedefs.h
include/libxsmm_version.h
lib/libxsmm.so
lib/libxsmm.so.1
-lib/libxsmm.so.1.16.3
+lib/libxsmm.so.1.17.0
lib/libxsmmext.so
lib/libxsmmext.so.1
-lib/libxsmmext.so.1.16.3
+lib/libxsmmext.so.1.17.0
lib/libxsmmf.so
lib/libxsmmf.so.1
-lib/libxsmmf.so.1.16.3
+lib/libxsmmf.so.1.17.0
lib/libxsmmgen.so
lib/libxsmmgen.so.1
-lib/libxsmmgen.so.1.16.3
+lib/libxsmmgen.so.1.17.0
lib/libxsmmnoblas.so
lib/libxsmmnoblas.so.1
-lib/libxsmmnoblas.so.1.16.3
+lib/libxsmmnoblas.so.1.17.0
libdata/pkgconfig/libxsmm.pc
libdata/pkgconfig/libxsmmext.pc
libdata/pkgconfig/libxsmmf.pc
@@ -309,16 +309,20 @@ libdata/pkgconfig/libxsmmnoblas.pc
%%DATADIR%%/cp2k.md
%%DATADIR%%/gxm.md
%%DATADIR%%/index.md
+%%DATADIR%%/libxsmm.env
%%DATADIR%%/libxsmm.pdf
%%DATADIR%%/libxsmm_aux.md
%%DATADIR%%/libxsmm_be.md
+%%DATADIR%%/libxsmm_compat.md
%%DATADIR%%/libxsmm_dl.md
%%DATADIR%%/libxsmm_fortran.md
%%DATADIR%%/libxsmm_mm.md
%%DATADIR%%/libxsmm_prof.md
+%%DATADIR%%/libxsmm_qna.md
%%DATADIR%%/libxsmm_samples.md
%%DATADIR%%/libxsmm_samples.pdf
%%DATADIR%%/libxsmm_tune.md
+%%DATADIR%%/libxsmm_valid.md
%%DATADIR%%/tensorflow.md
%%DATADIR%%/tensorflow.pdf
%%DATADIR%%/version.txt