代码拉取完成,页面将自动刷新
# ensmallen is header-only, and the build just builds the tests, so there's no
# use for a debuginfo package.
%global debug_package %{nil}
Name: ensmallen
Version: 2.18.1
Release: 1
Summary: Header-only C++ library for efficient mathematical optimization
License: BSD
URL: https://www.ensmallen.org
Source0: https://www.ensmallen.org/files/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 2.8.5
BuildRequires: gcc-c++
%description
ensmallen is a header-only C++ library for efficient mathematical optimization.
It provides a simple set of abstractions for writing an objective function to
optimize. It also provides a large set of standard and cutting-edge optimizers
that can be used for virtually any mathematical optimization task. These
include full-batch gradient descent techniques, small-batch techniques,
gradient-free optimizers, and constrained optimization.
%prep
%autosetup -p1
%build
%install
mkdir -p %{buildroot}%{_includedir}/
cp -rf include/ensmallen_bits %{buildroot}%{_includedir}/
cp -f include/ensmallen.hpp %{buildroot}%{_includedir}/
%files
%license LICENSE.txt
%{_includedir}/ensmallen.hpp
%{_includedir}/ensmallen_bits/
%package devel
Summary: Header-only C++ library for efficient mathematical optimization
Provides: ensmallen-static = %{version}-%{release}
%description devel
ensmallen is a header-only C++ library for efficient mathematical optimization.
It provides a simple set of abstractions for writing an objective function to
optimize. It also provides a large set of standard and cutting-edge optimizers
that can be used for virtually any mathematical optimization task. These
include full-batch gradient descent techniques, small-batch techniques,
gradient-free optimizers, and constrained optimization.
%files devel
%license LICENSE.txt
%{_includedir}/ensmallen.hpp
%{_includedir}/ensmallen_bits/
%changelog
* Wed Dec 15 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 2.18.1-1
- upgrade to 2.18.1
* Tue Dec 1 2020 hubble_zhu<hubble_zhu@qq.com> - 2.14.2-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。