From 90c46326e2fb827c75123af0f1c1c9dc84e92255 Mon Sep 17 00:00:00 2001 From: jchzhou Date: Wed, 17 Jul 2024 18:09:31 +0800 Subject: [PATCH] fix a typo that prevents building on riscv64 Signed-off-by: jchzhou --- tbb.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tbb.spec b/tbb.spec index e69fd3c..8513169 100644 --- a/tbb.spec +++ b/tbb.spec @@ -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 - 2021.11.0-2 +- Fix a typo that prevents building on riscv64 + * Wed Mar 13 2024 liyanan - 2021.11.0-1 - Update to 2021.11.0 -- Gitee