From dfba9ee80fa03e8697bb9708fea736b1649aa1e2 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 8 Sep 2020 05:11:26 +0000 Subject: [PATCH] math/blasfeo: Update 0.1.1 -> 0.1.2 Reported by: portscout --- math/blasfeo/Makefile | 9 +++++++-- math/blasfeo/distinfo | 6 +++--- math/blasfeo/files/patch-CMakeLists.txt | 22 ++-------------------- math/blasfeo/pkg-plist | 2 ++ 4 files changed, 14 insertions(+), 25 deletions(-) diff --git a/math/blasfeo/Makefile b/math/blasfeo/Makefile index 46d4aac6396d..04ae3e5774fd 100644 --- a/math/blasfeo/Makefile +++ b/math/blasfeo/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= blasfeo -DISTVERSION= 0.1.1 -PORTREVISION= 2 +DISTVERSION= 0.1.2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -35,4 +34,10 @@ X64_INTEL_SANDY_BRIDGE_CMAKE_ON= -DTARGET:STRING=X64_INTEL_SANDY_BRIDGE X64_INTEL_CORE_CMAKE_ON= -DTARGET:STRING=X64_INTEL_CORE X64_AMD_BULLDOZER_CMAKE_ON= -DTARGET:STRING=X64_AMD_BULLDOZER +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBLASFEO_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + .include diff --git a/math/blasfeo/distinfo b/math/blasfeo/distinfo index 375a83d955f8..153b804fe25d 100644 --- a/math/blasfeo/distinfo +++ b/math/blasfeo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1566689393 -SHA256 (giaf-blasfeo-0.1.1_GH0.tar.gz) = a52169306dfcc43d0aa41b031b98f1d63a4fd0ec7e8139bf95f14dc270ec3b72 -SIZE (giaf-blasfeo-0.1.1_GH0.tar.gz) = 1235604 +TIMESTAMP = 1599541279 +SHA256 (giaf-blasfeo-0.1.2_GH0.tar.gz) = 079c9c90db1249aac59fa649c42667d46f4d458049e5986762035388f22fc005 +SIZE (giaf-blasfeo-0.1.2_GH0.tar.gz) = 1235375 diff --git a/math/blasfeo/files/patch-CMakeLists.txt b/math/blasfeo/files/patch-CMakeLists.txt index 6eba634bd39f..e1f7499eb85e 100644 --- a/math/blasfeo/files/patch-CMakeLists.txt +++ b/math/blasfeo/files/patch-CMakeLists.txt @@ -1,24 +1,6 @@ ---- CMakeLists.txt.orig 2019-02-04 20:56:09 UTC +--- CMakeLists.txt.orig 2020-08-13 11:04:25 UTC +++ CMakeLists.txt -@@ -95,7 +95,7 @@ configure_file(${PROJECT_SOURCE_DIR}/blasfeo_target.h. - #set(BUILD_SHARED_LIBS ON CACHE STRING "Build shared libraries") - - # installation directory --if(CMAKE_INSTALL_PREFIX MATCHES "/usr/local") -+if(FALSE AND CMAKE_INSTALL_PREFIX MATCHES "/usr/local") - set(CMAKE_INSTALL_PREFIX "/opt/blasfeo") - endif() - -@@ -171,7 +171,7 @@ if(${MACRO_LEVEL} MATCHES 2) - endif() - - # --if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") -+if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|DragonFly") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DOS_LINUX") - set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -DOS_LINUX") - endif() -@@ -827,7 +827,7 @@ install(TARGETS blasfeo EXPORT blasfeoConfig +@@ -1117,7 +1117,7 @@ install(TARGETS blasfeo EXPORT blasfeoConfig RUNTIME DESTINATION bin) diff --git a/math/blasfeo/pkg-plist b/math/blasfeo/pkg-plist index dedb3356fcf0..725df02ab4fc 100644 --- a/math/blasfeo/pkg-plist +++ b/math/blasfeo/pkg-plist @@ -15,6 +15,7 @@ include/blasfeo_d_kernel.h include/blasfeo_i_aux_ext_dep.h include/blasfeo_m_aux.h include/blasfeo_naming.h +include/blasfeo_processor_features.h include/blasfeo_s_aux.h include/blasfeo_s_aux_ext_dep.h include/blasfeo_s_aux_ext_dep_ref.h @@ -26,6 +27,7 @@ include/blasfeo_s_blas_api.h include/blasfeo_s_blasfeo_api.h include/blasfeo_s_blasfeo_api_ref.h include/blasfeo_s_kernel.h +include/blasfeo_stdlib.h include/blasfeo_target.h include/blasfeo_timing.h include/blasfeo_v_aux_ext_dep.h