Compare commits
15 Commits
0.3.16-1ma
...
0.3.30-1ma
Author | SHA1 | Date | |
---|---|---|---|
ddf0d24e9f | |||
7f2572080c | |||
5df8c32c2a | |||
91493f9735 | |||
8a0f599b8f | |||
6df4b62e0d | |||
5446ca33be | |||
87b1de081a | |||
ab8f39ee0e | |||
623aedaf22 | |||
c3ff6a6b09 | |||
1cbf36b213 | |||
54878d6f2d | |||
d251b52bae | |||
c885028d73 |
140
openblas.spec
140
openblas.spec
@ -1,5 +1,5 @@
|
|||||||
Name: openblas
|
Name: openblas
|
||||||
Version: 0.3.16
|
Version: 0.3.30
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
|
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -10,12 +10,10 @@ URL: https://www.openblas.net
|
|||||||
Source: https://github.com/xianyi/OpenBLAS.git/v%{version}/OpenBLAS-%{version}.tar.bz2
|
Source: https://github.com/xianyi/OpenBLAS.git/v%{version}/OpenBLAS-%{version}.tar.bz2
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: gcc-fortran
|
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
%ifnarch arm aarch64
|
BuildRequires: libgfortran
|
||||||
BuildRequires: libquadmath-devel
|
BuildRequires: libgomp-devel
|
||||||
%endif
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
@ -35,36 +33,83 @@ This package contains shared libraries for %{name}.
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: pkg-config
|
|
||||||
|
|
||||||
%description -n lib%{name}-devel
|
%description -n lib%{name}-devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}64
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version (64 bit interface)
|
||||||
|
|
||||||
|
%description -n lib%{name}64
|
||||||
|
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version (64 bit interface).
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}64-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: lib%{name}64 = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n lib%{name}64-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
%debug_package
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n OpenBLAS-%{version}
|
%setup -q -n OpenBLAS-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
\
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
%ifarch arm
|
-DBUILD_TESTING=OFF \
|
||||||
-DCMAKE_ASM_FLAGS="%{optflags} -mfpu=neon-vfpv3"
|
-DNO_AFFINITY=ON \
|
||||||
|
-DUSE_OPENMP=1 \
|
||||||
|
-DNO_WARMUP=1 \
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
|
-DTARGET=CORE2 \
|
||||||
|
-DDYNAMIC_ARCH=ON \
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
-DTARGET=ARMV8 \
|
||||||
|
-DDYNAMIC_ARCH=OFF \
|
||||||
|
%endif
|
||||||
|
-DNUM_THREADS=64 \
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
%ifarch x86_64 aarch64
|
||||||
|
%cmake -d build64 \
|
||||||
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
|
-DBUILD_TESTING=OFF \
|
||||||
|
-DNO_AFFINITY=ON \
|
||||||
|
-DUSE_OPENMP=1 \
|
||||||
|
-DNO_WARMUP=1 \
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
|
-DTARGET=CORE2 \
|
||||||
|
-DDYNAMIC_ARCH=ON \
|
||||||
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
-DTARGET=ARMV8 \
|
||||||
|
-DDYNAMIC_ARCH=OFF \
|
||||||
|
%endif
|
||||||
|
-DNUM_THREADS=64 \
|
||||||
|
-DINTERFACE64=1
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
%ifarch x86_64 aarch64
|
||||||
|
%makeinstall -C build64
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -n lib%{name} -p /sbin/ldconfig
|
|
||||||
%postun -n lib%{name} -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libopenblas.so.*
|
%{_libdir}/libopenblas.so.*
|
||||||
@ -74,16 +119,75 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/openblas
|
%dir %{_includedir}/openblas
|
||||||
%{_includedir}/openblas/*.h
|
%{_includedir}/openblas/*.h
|
||||||
%dir %{_includedir}/openblas/openblas
|
|
||||||
%{_includedir}/openblas/openblas/*.h
|
|
||||||
%{_libdir}/libopenblas.so
|
%{_libdir}/libopenblas.so
|
||||||
%{_libdir}/pkgconfig/openblas.pc
|
%{_libdir}/pkgconfig/openblas.pc
|
||||||
%dir %{_datadir}/cmake/OpenBLAS
|
%dir %{_libdir}/cmake/OpenBLAS
|
||||||
%{_datadir}/cmake/OpenBLAS/OpenBLAS*.cmake
|
%{_libdir}/cmake/OpenBLAS/OpenBLAS*.cmake
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
|
%ifarch aarch64 x86_64
|
||||||
|
%files -n lib%{name}64
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libopenblas_64.so.*
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%files -n lib%{name}64-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/openblas64
|
||||||
|
%{_includedir}/openblas64/*.h
|
||||||
|
%{_libdir}/libopenblas_64.so
|
||||||
|
%{_libdir}/pkgconfig/openblas64.pc
|
||||||
|
%dir %{_libdir}/cmake/OpenBLAS64
|
||||||
|
%{_libdir}/cmake/OpenBLAS64/OpenBLAS*.cmake
|
||||||
|
%doc README.md
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 20 2025 Automatic Build System <autodist@openmamba.org> 0.3.30-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Jan 13 2025 Automatic Build System <autodist@openmamba.org> 0.3.29-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Dec 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.28-2mamba
|
||||||
|
- rebuilt with 64 bit interface library and DYNAMIC_ARCH to fix sigill crash seen with digikam
|
||||||
|
|
||||||
|
* Fri Aug 09 2024 Automatic Build System <autodist@openmamba.org> 0.3.28-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Apr 07 2024 Automatic Build System <autodist@openmamba.org> 0.3.27-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Jan 03 2024 Automatic Build System <autodist@mambasoft.it> 0.3.26-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Nov 13 2023 Automatic Build System <autodist@mambasoft.it> 0.3.25-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Sep 09 2023 Automatic Build System <autodist@mambasoft.it> 0.3.24-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Apr 02 2023 Automatic Build System <autodist@mambasoft.it> 0.3.23-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 0.3.22-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Aug 08 2022 Automatic Build System <autodist@mambasoft.it> 0.3.21-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Feb 21 2022 Automatic Build System <autodist@mambasoft.it> 0.3.20-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Dec 20 2021 Automatic Build System <autodist@mambasoft.it> 0.3.19-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Oct 03 2021 Automatic Build System <autodist@mambasoft.it> 0.3.18-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Jul 16 2021 Automatic Build System <autodist@mambasoft.it> 0.3.17-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Tue Jul 13 2021 Automatic Build System <autodist@mambasoft.it> 0.3.16-1mamba
|
* Tue Jul 13 2021 Automatic Build System <autodist@mambasoft.it> 0.3.16-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user