Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2019 23:41:05 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509759 - in head/math: . blasfeo blasfeo/files
Message-ID:  <201908242341.x7ONf56l020004@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Aug 24 23:41:05 2019
New Revision: 509759
URL: https://svnweb.freebsd.org/changeset/ports/509759

Log:
  New port: math/blasfeo: Basic Linear Algebra Subroutines For Embedded Optimization

Added:
  head/math/blasfeo/
  head/math/blasfeo/Makefile   (contents, props changed)
  head/math/blasfeo/distinfo   (contents, props changed)
  head/math/blasfeo/files/
  head/math/blasfeo/files/patch-CMakeLists.txt   (contents, props changed)
  head/math/blasfeo/pkg-descr   (contents, props changed)
  head/math/blasfeo/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sat Aug 24 22:28:34 2019	(r509758)
+++ head/math/Makefile	Sat Aug 24 23:41:05 2019	(r509759)
@@ -146,6 +146,7 @@
     SUBDIR += blas
     SUBDIR += blaze
     SUBDIR += blazeiterative
+    SUBDIR += blasfeo
     SUBDIR += blis
     SUBDIR += blitz++
     SUBDIR += blocksolve95

Added: head/math/blasfeo/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/blasfeo/Makefile	Sat Aug 24 23:41:05 2019	(r509759)
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME=	blasfeo
+DISTVERSION=	0.1.1
+CATEGORIES=	math
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Basic Linear Algebra Subroutines For Embedded Optimization
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		cmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	giaf
+
+.include <bsd.port.mk>

Added: head/math/blasfeo/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/blasfeo/distinfo	Sat Aug 24 23:41:05 2019	(r509759)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1566689393
+SHA256 (giaf-blasfeo-0.1.1_GH0.tar.gz) = a52169306dfcc43d0aa41b031b98f1d63a4fd0ec7e8139bf95f14dc270ec3b72
+SIZE (giaf-blasfeo-0.1.1_GH0.tar.gz) = 1235604

Added: head/math/blasfeo/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/blasfeo/files/patch-CMakeLists.txt	Sat Aug 24 23:41:05 2019	(r509759)
@@ -0,0 +1,29 @@
+--- CMakeLists.txt.orig	2019-02-04 20:56:09 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
+ 	RUNTIME DESTINATION bin)
+ 
+ 
+-install(EXPORT blasfeoConfig DESTINATION cmake)
++install(EXPORT blasfeoConfig DESTINATION lib/cmake)
+ 
+ file(GLOB_RECURSE BLASFEO_HEADERS "include/*.h")
+ install(FILES ${BLASFEO_HEADERS} DESTINATION ${BLASFEO_HEADERS_INSTALLATION_DIRECTORY})

Added: head/math/blasfeo/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/blasfeo/pkg-descr	Sat Aug 24 23:41:05 2019	(r509759)
@@ -0,0 +1,5 @@
+BLASFEO provides a set of basic linear algebra routines, performance-optimized
+for matrices fitting in cache (i.e. generally up to a couple hundreds size in
+each dimension), as typically encountered in embedded optimization application.
+
+WWW: https://github.com/giaf/blasfeo

Added: head/math/blasfeo/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/blasfeo/pkg-plist	Sat Aug 24 23:41:05 2019	(r509759)
@@ -0,0 +1,38 @@
+include/blasfeo.h
+include/blasfeo_block_size.h
+include/blasfeo_common.h
+include/blasfeo_d_aux.h
+include/blasfeo_d_aux_ext_dep.h
+include/blasfeo_d_aux_ext_dep_ref.h
+include/blasfeo_d_aux_old.h
+include/blasfeo_d_aux_ref.h
+include/blasfeo_d_aux_test.h
+include/blasfeo_d_blas.h
+include/blasfeo_d_blas_api.h
+include/blasfeo_d_blasfeo_api.h
+include/blasfeo_d_blasfeo_api_ref.h
+include/blasfeo_d_kernel.h
+include/blasfeo_i_aux_ext_dep.h
+include/blasfeo_m_aux.h
+include/blasfeo_naming.h
+include/blasfeo_s_aux.h
+include/blasfeo_s_aux_ext_dep.h
+include/blasfeo_s_aux_ext_dep_ref.h
+include/blasfeo_s_aux_old.h
+include/blasfeo_s_aux_ref.h
+include/blasfeo_s_aux_test.h
+include/blasfeo_s_blas.h
+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_target.h
+include/blasfeo_timing.h
+include/blasfeo_v_aux_ext_dep.h
+include/d_blas.h
+include/d_blas_64.h
+include/s_blas.h
+include/s_blas_64.h
+lib/cmake/blasfeoConfig-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/blasfeoConfig.cmake
+lib/libblasfeo.a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908242341.x7ONf56l020004>