diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2019-08-24 23:41:05 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2019-08-24 23:41:05 +0000 |
commit | ee740da1cc32aa3c2c1ad82147f3cf4037e19591 (patch) | |
tree | 4f7ceeda0a0bce2d8a28865404d6755697b6ea71 | |
parent | Minor fixes (diff) |
New port: math/blasfeo: Basic Linear Algebra Subroutines For Embedded Optimization
Notes
Notes:
svn path=/head/; revision=509759
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/blasfeo/Makefile | 17 | ||||
-rw-r--r-- | math/blasfeo/distinfo | 3 | ||||
-rw-r--r-- | math/blasfeo/files/patch-CMakeLists.txt | 29 | ||||
-rw-r--r-- | math/blasfeo/pkg-descr | 5 | ||||
-rw-r--r-- | math/blasfeo/pkg-plist | 38 |
6 files changed, 93 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index be3a709af0ad..aebf31802002 100644 --- a/math/Makefile +++ b/math/Makefile @@ -146,6 +146,7 @@ SUBDIR += blas SUBDIR += blaze SUBDIR += blazeiterative + SUBDIR += blasfeo SUBDIR += blis SUBDIR += blitz++ SUBDIR += blocksolve95 diff --git a/math/blasfeo/Makefile b/math/blasfeo/Makefile new file mode 100644 index 000000000000..2ff15d754bf2 --- /dev/null +++ b/math/blasfeo/Makefile @@ -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> diff --git a/math/blasfeo/distinfo b/math/blasfeo/distinfo new file mode 100644 index 000000000000..375a83d955f8 --- /dev/null +++ b/math/blasfeo/distinfo @@ -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 diff --git a/math/blasfeo/files/patch-CMakeLists.txt b/math/blasfeo/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..6eba634bd39f --- /dev/null +++ b/math/blasfeo/files/patch-CMakeLists.txt @@ -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}) diff --git a/math/blasfeo/pkg-descr b/math/blasfeo/pkg-descr new file mode 100644 index 000000000000..89d8fc260267 --- /dev/null +++ b/math/blasfeo/pkg-descr @@ -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 diff --git a/math/blasfeo/pkg-plist b/math/blasfeo/pkg-plist new file mode 100644 index 000000000000..1e2f2ddecdca --- /dev/null +++ b/math/blasfeo/pkg-plist @@ -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 |