specify boost-libdir for sw_64

(cherry picked from commit f11dc5203de2032ebdd59bfe9d3fb9898d5f826f)
This commit is contained in:
maqi 2025-03-03 10:35:13 +08:00 committed by openeuler-sync-bot
parent 43fb1a2ab4
commit 4b9cd3a3bd

View File

@ -38,7 +38,7 @@
%global lua_configure --without-lua %global lua_configure --without-lua
Name: thrift Name: thrift
Version: 0.14.0 Version: 0.14.0
Release: 6 Release: 7
Summary: Software framework for cross-language services development Summary: Software framework for cross-language services development
License: ASL 2.0 and BSD and zlib License: ASL 2.0 and BSD and zlib
URL: https://thrift.apache.org/ URL: https://thrift.apache.org/
@ -203,7 +203,7 @@ sed -i 's|-Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java|-Dinstall.javadoc.path
sed -i 's|$(INSTALL) $$p|$(INSTALL) --mode 644 $$p|g' lib/erl/Makefile.am sed -i 's|$(INSTALL) $$p|$(INSTALL) --mode 644 $$p|g' lib/erl/Makefile.am
sh ./bootstrap.sh sh ./bootstrap.sh
export PYTHON=%{_bindir}/python3 export PYTHON=%{_bindir}/python3
%ifarch loongarch64 %ifarch loongarch64 sw_64
%configure --disable-dependency-tracking --disable-static --with-boost=/usr --with-boost-libdir=/usr/lib64 \ %configure --disable-dependency-tracking --disable-static --with-boost=/usr --with-boost-libdir=/usr/lib64 \
%else %else
%configure --disable-dependency-tracking --disable-static --with-boost=/usr \ %configure --disable-dependency-tracking --disable-static --with-boost=/usr \
@ -303,6 +303,9 @@ cp libthrift_dir/pom.xml %{buildroot}%{_datadir}/maven-poms/libthrift/libthrift.
%endif %endif
%changelog %changelog
* Mon Mar 03 2025 maqi <maqi@uniontech.com> - 0.14.0-7
- specify boost-libdir for sw_64
* Thu May 18 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 0.14.0-6 * Thu May 18 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 0.14.0-6
- specify boost-libdir for loongarch64 - specify boost-libdir for loongarch64