Compare commits
9 commits
release/0.
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de2bc5c4a1 | ||
|
|
0ac1d488c4 | ||
|
|
32593274ab | ||
|
|
e3e51b8b48 | ||
|
|
0e50d78f99 | ||
|
|
ac394bb0de | ||
|
|
bab50a37b9 | ||
|
|
73f4649d32 | ||
|
|
9bde6f3495 |
3 changed files with 11 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -4,3 +4,5 @@
|
|||
/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
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (xtensor-0.25.0.tar.gz) = d8ff5bdb2af66db5ba84cceb2e5138728b7e689b81d5aab904c4f5dfbebdcde67b8ecf38e69750edb85e30a6f45ce70ff618ca3d1a76f38a2b4013a6a6320de6
|
||||
SHA512 (xtensor-0.27.1.tar.gz) = 3f3fe2391df91518cfef4983ff66bf3b79940136582bb99c6270f87481bf9d2cc15605b13f9b70b6ee9a7a89b389037dd2b26362fcae0fdc49f5204872ee5291
|
||||
|
|
|
|||
13
xtensor.spec
13
xtensor.spec
|
|
@ -1,10 +1,10 @@
|
|||
%undefine __cmake_in_source_build
|
||||
|
||||
Name: xtensor
|
||||
Version: 0.25.0
|
||||
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
|
||||
|
|
@ -17,6 +17,7 @@ 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,7 +48,7 @@ Requires: xsimd-devel
|
|||
%autosetup -p1
|
||||
|
||||
%ifarch s390x
|
||||
find -name '*.npy' -exec %{__python3} -c "import numpy as np; np.save('{}', np.load('{}').byteswap().newbyteorder())" \;
|
||||
find -name '*.npy' -exec %{__python3} -c "import numpy as np; arr = np.load('{}').byteswap() ; np.save('{}', arr.view(arr.dtype.newbyteorder()))" \;
|
||||
%endif
|
||||
|
||||
%build
|
||||
|
|
@ -56,6 +57,8 @@ find -name '*.npy' -exec %{__python3} -c "import numpy as np; np.save('{}', np.l
|
|||
|
||||
%install
|
||||
%cmake_install
|
||||
rm %{buildroot}%{_prefix}/etc/xeus-cpp/tags.d/xtensor.json
|
||||
rm %{buildroot}%{_datadir}/xeus-cpp/tagfiles/xtensor.tag
|
||||
|
||||
%check
|
||||
%cmake_build --target xtest
|
||||
|
|
@ -65,8 +68,8 @@ find -name '*.npy' -exec %{__python3} -c "import numpy as np; np.save('{}', np.l
|
|||
%license LICENSE
|
||||
%{_includedir}/%{name}.hpp
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/cmake/%{name}/
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_datadir}/cmake/%{name}/
|
||||
%{_datadir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue