Package init
Signed-off-by: liyunfei <liyunfei33@huawei.com> (cherry picked from commit e0e32ac89f029e0f05ad2b0b2fe961cf006c89bf)
This commit is contained in:
parent
a6e9b56b39
commit
a16b338f73
48
BiSheng-opetuner.spec
Normal file
48
BiSheng-opetuner.spec
Normal file
@ -0,0 +1,48 @@
|
||||
Name: BiSheng-opentuner
|
||||
Version: 0.8.8
|
||||
Release: 1
|
||||
Summary: An Extensible Framework for Program Autotuning
|
||||
License: MIT
|
||||
URL: https://github.com/Huawei-CPLLab/bisheng-opentuner
|
||||
Source0: https://github.com/Huawei-CPLLab/bisheng-opentuner/archive/bisheng-opentuner.zip
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
|
||||
#install requirements
|
||||
BuildRequires: python3-future python3-numpy python3-sqlalchemy
|
||||
|
||||
%description
|
||||
OpenTuner is a new framework for building domain-specific multi-objective program
|
||||
autotuners. OpenTuner supports fully customizable configuration representations, an
|
||||
extensible technique representation to allow for domain-specific techniques, and an
|
||||
easy to use interface for communicating with the tuned program. A key capability
|
||||
inside OpenTuner is the use of ensembles of disparate search techniques
|
||||
simultaneously, techniques which perform well will receive larger testing budgets
|
||||
and techniques which perform poorly will be disabled.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
sed -i 's/numpy>=1.12.1, <=1.23.5/numpy>=1.12.1/' requirements.txt
|
||||
sed -i 's/SQLAlchemy==1.4.49/SQLAlchemy/' requirements.txt
|
||||
sed -i 's/argparse>=1.2.1//' requirements.txt
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files -n %{name}
|
||||
%doc LICENSE.txt
|
||||
%doc AUTHORS.txt
|
||||
%{python3_sitelib}/*egg-info
|
||||
%{python3_sitelib}/opentuner
|
||||
|
||||
%changelog
|
||||
* Wed Apr 24 2024 liyunfei <liyunfei33@huawei.com> - 0.8.8-1
|
||||
- Package init
|
||||
BIN
bisheng-opentuner.zip
Normal file
BIN
bisheng-opentuner.zip
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user