Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-fasttext for openSUSE:Factory checked in at 2022-06-03 14:16:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-fasttext (Old) and /work/SRC/openSUSE:Factory/.python-fasttext.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fasttext" Fri Jun 3 14:16:36 2022 rev:2 rq:980475 version:0.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-fasttext/python-fasttext.changes 2022-05-26 18:43:50.505162686 +0200 +++ /work/SRC/openSUSE:Factory/.python-fasttext.new.1548/python-fasttext.changes 2022-06-03 14:16:37.969313871 +0200 @@ -1,0 +2,5 @@ +Wed Jun 1 09:51:33 UTC 2022 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add reproducible.patch to not depend on build machine CPU (boo#1100677) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-fasttext.spec ++++++ --- /var/tmp/diff_new_pack.kmyurA/_old 2022-06-03 14:16:38.645314750 +0200 +++ /var/tmp/diff_new_pack.kmyurA/_new 2022-06-03 14:16:38.649314755 +0200 @@ -27,6 +27,7 @@ License: MIT URL: https://github.com/facebookresearch/fastText Source: https://github.com/facebookresearch/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz +Patch0: reproducible.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pybind11-devel} ++++++ reproducible.patch ++++++ Date: 2022-06-01 Author: Bernhard M. Wiedemann disable march=native to avoid https://bugzilla.opensuse.org/show_bug.cgi?id=1100677 packages do not build reproducibly from compile-time CPU-detection Index: fastText-0.9.2/CMakeLists.txt =================================================================== --- fastText-0.9.2.orig/CMakeLists.txt +++ fastText-0.9.2/CMakeLists.txt @@ -15,7 +15,7 @@ set (fasttext_VERSION_MINOR 1) include_directories(fasttext) -set(CMAKE_CXX_FLAGS " -pthread -std=c++11 -funroll-loops -O3 -march=native") +set(CMAKE_CXX_FLAGS " -pthread -std=c++11 -funroll-loops -O3") set(HEADER_FILES src/args.h Index: fastText-0.9.2/setup.py =================================================================== --- fastText-0.9.2.orig/setup.py +++ fastText-0.9.2/setup.py @@ -76,7 +76,7 @@ ext_modules = [ ], language='c++', extra_compile_args=["-O0 -fno-inline -fprofile-arcs -pthread -march=native" if coverage else - "-O3 -funroll-loops -pthread -march=native"], + "-O3 -funroll-loops -pthread"], ), ] Index: fastText-0.9.2/Makefile =================================================================== --- fastText-0.9.2.orig/Makefile +++ fastText-0.9.2/Makefile @@ -7,7 +7,7 @@ # CXX = c++ -CXXFLAGS = -pthread -std=c++11 -march=native +CXXFLAGS = -pthread -std=c++11 OBJS = args.o autotune.o matrix.o dictionary.o loss.o productquantizer.o densematrix.o quantmatrix.o vector.o model.o utils.o meter.o fasttext.o INCLUDES = -I.