fix a typo that prevents building on riscv64

Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
(cherry picked from commit 90c46326e2fb827c75123af0f1c1c9dc84e92255)
This commit is contained in:
jchzhou 2024-07-17 18:09:31 +08:00 committed by openeuler-sync-bot
parent 21be739fcc
commit 6acb7a87d2

View File

@ -1,6 +1,6 @@
Name: tbb
Version: 2021.11.0
Release: 1
Release: 2
Summary: Threading Building Blocks lets you easily write parallel C++ programs
License: ASL 2.0
URL: http://threadingbuildingblocks.org/
@ -81,7 +81,7 @@ export PYTHONPATH=$(sed "s,%{_prefix},$PWD/%{_vpath_builddir}/python/build," <<<
unset PYTHONPATH
export LD_LIBRARY_PATH=$(ls -1d $PWD/*relwithdebinfo)
%ifarch riscv64
pxport LDFLAGS="-L $LD_LIBRARY_PATH %{build_ldflags} -latomic"
export LDFLAGS="-L $LD_LIBRARY_PATH %{build_ldflags} -latomic"
%else
export LDFLAGS="-L $LD_LIBRARY_PATH %{build_ldflags}"
%endif
@ -147,6 +147,9 @@ ctest --output-on-failure --force-new-ctest-process
%{python3_sitearch}/__pycache__/TBB*
%changelog
* Wed Jul 17 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 2021.11.0-2
- Fix a typo that prevents building on riscv64
* Wed Mar 13 2024 liyanan <liyanan61@h-partners.com> - 2021.11.0-1
- Update to 2021.11.0