!34 [sync] PR-27: Fix a typo that prevents building on riscv64
From: @openeuler-sync-bot Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
5d61d90f23
7
tbb.spec
7
tbb.spec
@ -1,6 +1,6 @@
|
|||||||
Name: tbb
|
Name: tbb
|
||||||
Version: 2021.11.0
|
Version: 2021.11.0
|
||||||
Release: 1
|
Release: 2
|
||||||
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/
|
||||||
@ -81,7 +81,7 @@ export PYTHONPATH=$(sed "s,%{_prefix},$PWD/%{_vpath_builddir}/python/build," <<<
|
|||||||
unset PYTHONPATH
|
unset PYTHONPATH
|
||||||
export LD_LIBRARY_PATH=$(ls -1d $PWD/*relwithdebinfo)
|
export LD_LIBRARY_PATH=$(ls -1d $PWD/*relwithdebinfo)
|
||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
pxport LDFLAGS="-L $LD_LIBRARY_PATH %{build_ldflags} -latomic"
|
export LDFLAGS="-L $LD_LIBRARY_PATH %{build_ldflags} -latomic"
|
||||||
%else
|
%else
|
||||||
export LDFLAGS="-L $LD_LIBRARY_PATH %{build_ldflags}"
|
export LDFLAGS="-L $LD_LIBRARY_PATH %{build_ldflags}"
|
||||||
%endif
|
%endif
|
||||||
@ -147,6 +147,9 @@ ctest --output-on-failure --force-new-ctest-process
|
|||||||
%{python3_sitearch}/__pycache__/TBB*
|
%{python3_sitearch}/__pycache__/TBB*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Mar 13 2024 liyanan <liyanan61@h-partners.com> - 2021.11.0-1
|
||||||
- Update to 2021.11.0
|
- Update to 2021.11.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user