91 lines
2.5 KiB
RPMSpec
Executable File
91 lines
2.5 KiB
RPMSpec
Executable File
Name: sdma-dk
|
|
Version: 1.0.0
|
|
Release: 11%{?dist}
|
|
Summary: SDMA user-mode driver
|
|
License: Apache-2.0
|
|
Source0: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_buildrootdir}/%{name}-%{version}-build
|
|
BuildRequires: cmake make gcc gcc-c++ chrpath memkind-devel numactl-devel
|
|
ExclusiveArch: aarch64
|
|
|
|
%define debug_package %{nil}
|
|
|
|
%description
|
|
This pakege contains dynamic link library of sdma module: libsdma_dk.so
|
|
and test tool: sdma_tool, which support base function test and performance
|
|
test.
|
|
|
|
%prep
|
|
%autosetup
|
|
%setup -c -n %{name}-%{version}
|
|
|
|
%build
|
|
cd %{name}-%{version}
|
|
cmake ./
|
|
make
|
|
|
|
%install
|
|
%{__rm} -rf %{buildroot}
|
|
install -d %{buildroot}
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
mkdir -p %{buildroot}%{_includedir}
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
cp ./%{name}-%{version}/lib/libsdma_dk.so %{buildroot}%{_libdir}
|
|
cp ./%{name}-%{version}/lib/mdk_sdma.h %{buildroot}%{_includedir}
|
|
cp ./%{name}-%{version}/tool/sdma_tool %{buildroot}%{_bindir}
|
|
chrpath -d %{buildroot}%{_bindir}/sdma_tool
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libsdma_dk*
|
|
%{_includedir}/mdk_sdma.h
|
|
%{_bindir}/sdma_tool
|
|
|
|
%changelog
|
|
* Thu Apr 24 2025 zhangyuyang <zhangyuyang31@huawei.com> - 1.0.0-11
|
|
- Type:bugfix
|
|
- DESC:fix query bug of retrieving more cqes than user designation
|
|
|
|
* Tue Mar 18 2025 zhangyuyang <zhangyuyang31@huawei.com> - 1.0.0-10
|
|
- Type:bugfix
|
|
- DESC:synchronize bugfix of sdma_tool to openeuler
|
|
|
|
* Mon Dec 30 2024 zhangyuyang <zhangyuyang31@huawei.com> - 1.0.0-9
|
|
- Type:bugfix
|
|
- DESC:change hostname len and add valid flip
|
|
|
|
* Tue Dec 3 2024 zhangyuyang <zhangyuyang31@huawei.com> - 1.0.0-8
|
|
- Type:bugfix
|
|
- DESC:add hostname print
|
|
|
|
* Wed Nov 6 2024 zhangyuyang <zhangyuyang31@huawei.com> - 1.0.0-7
|
|
- Type:bugfix
|
|
- DESC:add vld filp in iquery
|
|
|
|
* Wed Oct 16 2024 zhangshuowen <zhangshuowen@hisilicon.com> - 1.0.0-6
|
|
- Type:bugfix
|
|
- DESC:fix O2 optimization problem
|
|
|
|
* Tue Oct 8 2024 zhangshuowen <zhangshuowen@hisilicon.com> - 1.0.0-5
|
|
- Type:feature
|
|
- DESC: add sdma_tool to support function test and performance test of sdma
|
|
|
|
* Sun Sep 15 2024 zhangyuyang <zhangyuyang31@huawei.com> - 1.0.0-4
|
|
- Type:bugfix
|
|
- DESC:fix bug code by review
|
|
|
|
* Wed Sep 11 2024 zhangyuyang <zhangyuyang31@huawei.com> - 1.0.0-3
|
|
- Type:bugfix
|
|
- DESC:add fast mode and fix sdma-dk code
|
|
|
|
* Tue Jun 11 2024 wangzijian <wangzijian22@huawei.com> - 1.0.0-2
|
|
- Type:bugfix
|
|
- DESC:fix sdma-dk spec
|
|
|
|
* Tue Jun 4 2024 wangzijian <wangzijian22@huawei.com> - 1.0.0-1
|
|
- Type:enhencement
|
|
- DESC:add sdma-dk spec and packge
|