[packages/xtensor] - updated to 0.26.0

qboosh qboosh at pld-linux.org
Mon Apr 14 21:48:49 CEST 2025


commit 4ac766905bfd7bd9caae2c624b6244483be25b5e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 14 21:42:55 2025 +0200

    - updated to 0.26.0

 xtensor.spec | 27 +++++++++++----------------
 1 file changed, 11 insertions(+), 16 deletions(-)
---
diff --git a/xtensor.spec b/xtensor.spec
index 6d1857d..76e6875 100644
--- a/xtensor.spec
+++ b/xtensor.spec
@@ -12,25 +12,25 @@
 Summary:	Multi-dimensional arrays with broadcasting and lazy computing
 Summary(pl.UTF-8):	Wielowymiarowe tablice z rozpraszaniem i leniwym obliczaniem
 Name:		xtensor
-Version:	0.25.0
+Version:	0.26.0
 Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/xtensor-stack/xtensor/tags
 Source0:	https://github.com/xtensor-stack/xtensor/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	3432b1981b12c443201e14f9ee14d1ad
+# Source0-md5:	3a042d82a53776d49eb8c82fb5885fc5
 URL:		https://xtensor.readthedocs.io/
-BuildRequires:	cmake >= 3.1
+BuildRequires:	cmake >= 3.29
 %{?with_tests:BuildRequires:	doctest}
 %{?with_tests:BuildRequires:	google-benchmark-devel}
 %{?with_openmp:BuildRequires:	libgomp-devel}
-BuildRequires:	libstdc++-devel >= 6:5
+BuildRequires:	libstdc++-devel >= 6:7
 BuildRequires:	nlohmann-json-devel >= 3.1.1
 BuildRequires:	rpmbuild(macros) >= 1.605
 %{?with_tbb:BuildRequires:	tbb-devel}
-%{?with_xsimd:BuildRequires:	xsimd-devel >= 11.0.0}
-%{?with_xsimd:BuildRequires:	xsimd-devel < 12}
-BuildRequires:	xtl-devel >= 0.7.5
+%{?with_xsimd:BuildRequires:	xsimd-devel >= 13.2.0}
+%{?with_xsimd:BuildRequires:	xsimd-devel < 14}
+BuildRequires:	xtl-devel >= 0.8.0
 %if %{with apidocs}
 BuildRequires:	doxygen
 BuildRequires:	python3-breathe
@@ -60,8 +60,8 @@ Summary:	Multi-dimensional arrays with broadcasting and lazy computing
 Summary(pl.UTF-8):	Wielowymiarowe tablice z rozpraszaniem i leniwym obliczaniem
 Group:		Development/Libraries
 %{?with_openmp:Requires:	libgomp-devel}
-Requires:	libstdc++-devel >= 6:5
-Requires:	xtl-devel >= 0.7.5
+Requires:	libstdc++-devel >= 6:7
+Requires:	xtl-devel >= 0.8.0
 
 %description devel
 xtensor is a C++ library meant for numerical analysis with
@@ -93,11 +93,7 @@ Dokumentacja API biblioteki xtensor.
 %setup -q
 
 %build
-install -d build
-cd build
-# fake LIBDIR so we can create noarch package
-%cmake .. \
-	-DCMAKE_INSTALL_LIBDIR=%{_datadir} \
+%cmake -B build \
 	%{?with_tests:-DBUILD_TESTS=ON} \
 	%{?with_tests:-DBUILD_BENCHMARK=ON} \
 	-DDOWNLOAD_GBENCHMARK=OFF \
@@ -105,8 +101,7 @@ cd build
 	%{?with_tbb:-DXTENSOR_USE_TBB=ON} \
 	%{?with_xsimd:-DXTENSOR_USE_XSIMD=ON}
 
-%{__make}
-cd ..
+%{__make} -C build
 
 %if %{with apidocs}
 %{__make} -C docs html \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xtensor.git/commitdiff/4ac766905bfd7bd9caae2c624b6244483be25b5e



More information about the pld-cvs-commit mailing list