Compare commits
26 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de2bc5c4a1 | ||
|
|
0ac1d488c4 | ||
|
|
32593274ab | ||
|
|
e3e51b8b48 | ||
|
|
0e50d78f99 | ||
|
|
ac394bb0de | ||
|
|
bab50a37b9 | ||
|
|
73f4649d32 | ||
|
|
9bde6f3495 | ||
|
|
020cb361d7 | ||
|
|
7e72ec555d | ||
|
|
be2d8fa6c0 | ||
|
|
8b79462a88 | ||
|
|
d8b9007467 | ||
|
|
7aa196872e | ||
|
|
e4fabfff3c | ||
|
|
869c03821f | ||
|
|
d1b3e670a0 | ||
|
|
bce4b98f9c | ||
|
|
5120497686 | ||
|
|
1ef1446b41 | ||
|
|
e9a3c926c8 | ||
|
|
2564d7d930 | ||
|
|
1ec970d822 | ||
|
|
1c9e54ab04 | ||
|
613bcdc250 |
4 changed files with 75 additions and 20 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,2 +1,8 @@
|
|||
/xtensor-0.20.8.tar.gz
|
||||
/xtensor-0.21.2.tar.gz
|
||||
/xtensor-0.21.7.tar.gz
|
||||
/xtensor-0.23.1.tar.gz
|
||||
/xtensor-0.24.2.tar.gz
|
||||
/xtensor-0.25.0.tar.gz
|
||||
/xtensor-0.27.0.tar.gz
|
||||
/xtensor-0.27.1.tar.gz
|
||||
|
|
|
|||
46
changelog
Normal file
46
changelog
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
* Mon Jan 29 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed May 11 2022 sguelton@redhat.com - 0.24.2-1
|
||||
- Upstream version bump
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Feb 15 2021 sguelton@redhat.com - 0.23.1-1
|
||||
- Upstream version bump
|
||||
- More generic use of %cmake_build
|
||||
|
||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Oct 06 2020 sguelton@redhat.com - 0.21.7-3
|
||||
- Activate all architectures, fixing the remaining issues in the test suite
|
||||
|
||||
* Mon Oct 05 2020 sguelton@redhat.com - 0.21.7-2
|
||||
- Fix UB in upstream testsuite, see https://github.com/xtensor-stack/xtensor/pull/2175
|
||||
- Activates armv7hl
|
||||
|
||||
* Sat Oct 3 2020 sguelton@redhat.com - 0.21.7-1
|
||||
- Upstream version bump
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2020 sguelton@redhat.com - 0.21.2-1
|
||||
- Upstream version bump
|
||||
|
||||
* Tue Sep 3 2019 sguelton@redhat.com - 0.20.8-1
|
||||
- Initial package
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (xtensor-0.21.2.tar.gz) = c7166bdf3e6d5b8278ef5d3280acb25f44b7ade78d4e3837a1498e9d26175297f8e7611e5748f74d55e3c58674f84a3b4251d56389bb6b04cff8ba71958b0c24
|
||||
SHA512 (xtensor-0.27.1.tar.gz) = 3f3fe2391df91518cfef4983ff66bf3b79940136582bb99c6270f87481bf9d2cc15605b13f9b70b6ee9a7a89b389037dd2b26362fcae0fdc49f5204872ee5291
|
||||
|
|
|
|||
41
xtensor.spec
41
xtensor.spec
|
|
@ -1,23 +1,23 @@
|
|||
%undefine __cmake_in_source_build
|
||||
|
||||
Name: xtensor
|
||||
Version: 0.21.2
|
||||
Release: 1%{?dist}
|
||||
Version: 0.27.1
|
||||
Release: %autorelease
|
||||
Summary: C++ tensors with broadcasting and lazy computing
|
||||
License: BSD
|
||||
License: BSD-3-Clause
|
||||
URL: http://xtensor.readthedocs.io/
|
||||
|
||||
%global github https://github.com/QuantStack/xtensor
|
||||
Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# because xtl does so for armv7hl && ppc64le
|
||||
# because tests fail for s390x
|
||||
ExcludeArch: armv7hl ppc64le s390x
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gtest-devel
|
||||
BuildRequires: xtl-devel
|
||||
BuildRequires: xsimd-devel
|
||||
|
||||
BuildRequires: python3-numpy
|
||||
BuildRequires: doctest-devel
|
||||
BuildRequires: json-devel
|
||||
|
||||
# there is no actual arched content - this is a header only library
|
||||
%global debug_package %{nil}
|
||||
|
|
@ -47,26 +47,29 @@ Requires: xsimd-devel
|
|||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%ifarch s390x
|
||||
find -name '*.npy' -exec %{__python3} -c "import numpy as np; arr = np.load('{}').byteswap() ; np.save('{}', arr.view(arr.dtype.newbyteorder()))" \;
|
||||
%endif
|
||||
|
||||
%build
|
||||
%cmake -DBUILD_TESTS=ON .
|
||||
%make_build
|
||||
%cmake -DBUILD_TESTS=ON
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%cmake_install
|
||||
rm %{buildroot}%{_prefix}/etc/xeus-cpp/tags.d/xtensor.json
|
||||
rm %{buildroot}%{_datadir}/xeus-cpp/tagfiles/xtensor.tag
|
||||
|
||||
%check
|
||||
%make_build xtest
|
||||
%cmake_build --target xtest
|
||||
|
||||
%files devel
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_includedir}/%{name}.hpp
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/cmake/%{name}/
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_datadir}/cmake/%{name}/
|
||||
%{_datadir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Thu Jan 16 2020 sguelton@redhat.com - 0.21.2-1
|
||||
- Upstream version bump
|
||||
|
||||
* Tue Sep 3 2019 sguelton@redhat.com - 0.20.8-1
|
||||
- Initial package
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue