Replace openEuler with vendor
This commit is contained in:
parent
f9f31a25be
commit
c0f9d0432d
9
tbb.spec
9
tbb.spec
@ -1,6 +1,8 @@
|
|||||||
|
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
|
||||||
|
|
||||||
Name: tbb
|
Name: tbb
|
||||||
Version: 2020.3
|
Version: 2020.3
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Threading Building Blocks lets you easily write parallel C++ programs
|
Summary: Threading Building Blocks lets you easily write parallel C++ programs
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://threadingbuildingblocks.org/
|
URL: http://threadingbuildingblocks.org/
|
||||||
@ -46,7 +48,7 @@ TBB module of Python 3
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n oneTBB-%{version} -p1
|
%autosetup -n oneTBB-%{version} -p1
|
||||||
|
|
||||||
sed -i 's/"`hostname -s`" ("`uname -m`"/openEulerbuild (%{_arch}/' \
|
sed -i 's/"`hostname -s`" ("`uname -m`"/%{vendor}build (%{_arch}/' \
|
||||||
build/version_info_linux.sh
|
build/version_info_linux.sh
|
||||||
sed -i 's/-mrtm//' build/linux.gcc.inc
|
sed -i 's/-mrtm//' build/linux.gcc.inc
|
||||||
sed -i 's,env python,python3,' python/TBB.py python/tbb/__*.py
|
sed -i 's,env python,python3,' python/TBB.py python/tbb/__*.py
|
||||||
@ -147,6 +149,9 @@ rm %{buildroot}%{_libdir}/cmake/tbb/README.rst
|
|||||||
%{python3_sitearch}/__pycache__/TBB*
|
%{python3_sitearch}/__pycache__/TBB*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 17 2022 liyanan <liyanan32@h-partners.com> - 2020.3-5
|
||||||
|
- Replace openEuler with vendor
|
||||||
|
|
||||||
* Fri Jul 2 2021 Hugel <genqihu1@huawei.com> - 2020.3-4
|
* Fri Jul 2 2021 Hugel <genqihu1@huawei.com> - 2020.3-4
|
||||||
- Add multiple threads to make test
|
- Add multiple threads to make test
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user