diff --git a/BiSheng-opetuner.spec b/BiSheng-opetuner.spec new file mode 100644 index 0000000000000000000000000000000000000000..c6ebe349986845b008b38705d05d6da4a1cd3a3b --- /dev/null +++ b/BiSheng-opetuner.spec @@ -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 - 0.8.8-1 +- Package init \ No newline at end of file diff --git a/bisheng-opentuner.zip b/bisheng-opentuner.zip new file mode 100644 index 0000000000000000000000000000000000000000..5cb4ed099d52b1a99a8e61d28b81bbb1f326a6e3 Binary files /dev/null and b/bisheng-opentuner.zip differ