add spec and package
(cherry picked from commit 92730ce6f41bbe77276ef28a7a20dbc9d904baa1)
This commit is contained in:
parent
7a2394e8df
commit
eae0da8d20
BIN
oeAware-tune-v1.0.0.tar.gz
Normal file
BIN
oeAware-tune-v1.0.0.tar.gz
Normal file
Binary file not shown.
36
oeAware-tune.spec
Normal file
36
oeAware-tune.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Name: oeAware-tune
|
||||||
|
Version: v1.0.0
|
||||||
|
Release: 1
|
||||||
|
Summary: %{name} interconnect with the existing optimization of openEuler and develop new optimization features.
|
||||||
|
License: MulanPSL2
|
||||||
|
URL: https://gitee.com/openeuler/%{name}
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: cmake make gcc-c++
|
||||||
|
BuildRequires: numactl-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{name} interconnect with the existing optimization of openEuler and develop new optimization features.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
cd thread_tune
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -DWITH_DEBUG=TRUE
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_libdir}/oeAware-plugin/
|
||||||
|
install -D -m 0740 ./thread_tune/build/libthread_tune.so %{buildroot}%{_libdir}/oeAware-plugin/
|
||||||
|
install -D -m 0640 ./thread_tune/thread_tune.conf %{buildroot}%{_libdir}/oeAware-plugin/
|
||||||
|
|
||||||
|
%files
|
||||||
|
%attr(0440, root, root) %{_libdir}/oeAware-plugin/libthread_tune.so
|
||||||
|
%attr(0640, root, root) %{_libdir}/oeAware-plugin/thread_tune.conf
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu May 30 2024 zhoukaiqi <zhoukaiqi@huawei.com> - v1.0.0-1
|
||||||
|
- support automatic core binding for UnixBench
|
||||||
Loading…
x
Reference in New Issue
Block a user