math/libxsmm: Update 1.16.3 -> 1.17

This commit is contained in:
Yuri Victorovich 2022-07-12 22:45:37 -07:00
parent 07a2a75447
commit 581d55bb17
4 changed files with 19 additions and 24 deletions

View File

@ -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>

View File

@ -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

View File

@ -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..."

View File

@ -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