Bootstrap on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-10-25 15:33:49 +03:00
parent d468f909f3
commit f9a9dc3f21
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Name: tbb
Summary: The Threading Building Blocks library abstracts low-level threading details
Version: 2020.3
Release: 12%{?dist}
Release: 12.0.riscv64%{?dist}
License: ASL 2.0
URL: http://threadingbuildingblocks.org/
@ -104,7 +104,7 @@ fi
%make_build tbb_build_prefix=obj stdver=c++14 \
compiler=${compiler} \
CXXFLAGS="%{optflags} -DUSE_PTHREAD" \
LDFLAGS="$RPM_LD_FLAGS -lpthread"
LDFLAGS="$RPM_LD_FLAGS -pthread -latomic"
for file in %{SOURCE6} %{SOURCE7} %{SOURCE8}; do
base=$(basename ${file})
sed 's/_FEDORA_VERSION/%{version}/' ${file} > ${base}
@ -117,7 +117,7 @@ pushd python
%make_build -C rml stdver=c++14 \
compiler=${compiler} \
CPLUS_FLAGS="%{optflags} -DUSE_PTHREAD" \
LDFLAGS="$RPM_LD_FLAGS -lpthread"
LDFLAGS="$RPM_LD_FLAGS -pthread -latomic"
cp -p rml/libirml.so* .
%py3_build
popd
@ -205,6 +205,9 @@ cmake \
%{python3_sitearch}/__pycache__/TBB*
%changelog
* Tue Oct 25 2022 David Abdurachmanov <davidlt@rivosinc.om> - 2020.3-12.0.riscv64
- Bootstrap on riscv64
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2020.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild