代码拉取完成,页面将自动刷新
Summary: Basic linear algebra subroutines for embedded optimization
Name: blasfeo
Version: 0.1.3
Release: 1
License: BSD2
URL: https://github.com/giaf/blasfeo
Source0: %{name}-%{version}.tar.gz
%description
BLASFEO provides a set of basic linear algebra routines, performance-optimized for matrices that fit in cache (i.e. generally up to a couple hundred size in each dimension), as typically encountered in embedded optimization applications.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
The %{name}-devel package contains C++ header files for developing
applications that use %{name}.
%prep
%autosetup -p1
sed -i "s!LIBRARY DESTINATION lib!LIBRARY DESTINATION $(basename '%{_libdir}')!g" CMakeLists.txt
sed -i "s!ARCHIVE DESTINATION lib!ARCHIVE DESTINATION $(basename '%{_libdir}')!g" CMakeLists.txt
%build
mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
%cmake3 -DBLASFEO_EXAMPLES=OFF \
..
%make_build
%install
%make_install -C .obj-%{_target_platform}
%files
%defattr(-,root,root,-)
%license LICENSE.txt
%doc Changelog.txt README.md
%{_libdir}/libblasfeo.so
%files devel
%{_includedir}/blasfeo*.h
%{_includedir}/s_blas*.h
%{_includedir}/d_blas*.h
/usr/cmake/blas*
%changelog
* Fri Jun 16 2023 Z572 <zhengjunjie@iscas.ac.cn> - 0.1.3
- Initial build.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。