5 Star 0 Fork 2

src-openEuler/ensmallen

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ensmallen.spec 2.03 KB
一键复制 编辑 原始数据 按行查看 历史
jiangxinyu 提交于 2021-12-15 10:25 . upgrade to 2.18.1
# 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/ensmallen.git
git@gitee.com:src-openeuler/ensmallen.git
src-openeuler
ensmallen
ensmallen
master

搜索帮助