Compare commits
15 Commits
0.3.14-1ma
...
0.3.28-2ma
Author | SHA1 | Date | |
---|---|---|---|
5df8c32c2a | |||
91493f9735 | |||
8a0f599b8f | |||
6df4b62e0d | |||
5446ca33be | |||
87b1de081a | |||
ab8f39ee0e | |||
623aedaf22 | |||
c3ff6a6b09 | |||
1cbf36b213 | |||
54878d6f2d | |||
d251b52bae | |||
c885028d73 | |||
635090f1a9 | |||
357208823c |
139
openblas.spec
139
openblas.spec
@ -1,6 +1,6 @@
|
||||
Name: openblas
|
||||
Version: 0.3.14
|
||||
Release: 1mamba
|
||||
Version: 0.3.28
|
||||
Release: 2mamba
|
||||
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,13 +10,11 @@ URL: https://www.openblas.net
|
||||
Source: https://github.com/xianyi/OpenBLAS.git/v%{version}/OpenBLAS-%{version}.tar.bz2
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: gcc-fortran
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libgfortran
|
||||
BuildRequires: libgomp-devel
|
||||
## AUTOBUILDREQ-END
|
||||
%ifnarch arm aarch64
|
||||
BuildRequires: libquadmath-devel
|
||||
%endif
|
||||
BuildRequires: cmake
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
@ -35,11 +33,25 @@ This package contains shared libraries for %{name}.
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
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
|
||||
|
||||
@ -48,23 +60,55 @@ This package contains libraries and header files for developing applications tha
|
||||
|
||||
%build
|
||||
%cmake -d build \
|
||||
\
|
||||
%ifarch arm
|
||||
-DCMAKE_ASM_FLAGS="%{optflags} -mfpu=neon-vfpv3"
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DNO_AFFINITY=ON \
|
||||
-DUSE_OPENMP=1 \
|
||||
-DNO_WARMUP=1 \
|
||||
%ifarch %{ix86} x86_64
|
||||
-DTARGET=CORE2 \
|
||||
%endif
|
||||
|
||||
%ifarch aarch64
|
||||
-DTARGET=ARMV8 \
|
||||
%endif
|
||||
-DNUM_THREADS=64 \
|
||||
-DDYNAMIC_ARCH=ON
|
||||
|
||||
%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 \
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
-DTARGET=ARMV8 \
|
||||
%endif
|
||||
-DNUM_THREADS=64 \
|
||||
-DDYNAMIC_ARCH=ON \
|
||||
-DINTERFACE64=1
|
||||
|
||||
%make
|
||||
|
||||
%endif
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
%ifarch x86_64 aarch64
|
||||
%makeinstall -C build64
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libopenblas.so.*
|
||||
@ -74,16 +118,75 @@ This package contains libraries and header files for developing applications tha
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/openblas
|
||||
%{_includedir}/openblas/*.h
|
||||
%dir %{_includedir}/openblas/openblas
|
||||
%{_includedir}/openblas/openblas/*.h
|
||||
%{_libdir}/libopenblas.so
|
||||
%{_libdir}/pkgconfig/openblas.pc
|
||||
%dir %{_datadir}/cmake/OpenBLAS
|
||||
%{_datadir}/cmake/OpenBLAS/OpenBLAS*.cmake
|
||||
%dir %{_libdir}/cmake/OpenBLAS
|
||||
%{_libdir}/cmake/OpenBLAS/OpenBLAS*.cmake
|
||||
%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
|
||||
* 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
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 0.3.15-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Mar 20 2021 Automatic Build System <autodist@mambasoft.it> 0.3.14-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Reference in New Issue
Block a user