rebuilt with 64 bit interface library and DYNAMIC_ARCH to fix sigill crash seen with digikam [release 0.3.28-2mamba;Sat Dec 07 2024]
This commit is contained in:
parent
91493f9735
commit
5df8c32c2a
@ -1,6 +1,6 @@
|
|||||||
Name: openblas
|
Name: openblas
|
||||||
Version: 0.3.28
|
Version: 0.3.28
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
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
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -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,11 +33,25 @@ 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
|
%debug_package
|
||||||
|
|
||||||
@ -48,23 +60,55 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%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 \
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
-DTARGET=ARMV8 \
|
||||||
|
%endif
|
||||||
|
-DNUM_THREADS=64 \
|
||||||
|
-DDYNAMIC_ARCH=ON
|
||||||
|
|
||||||
%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 \
|
||||||
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
-DTARGET=ARMV8 \
|
||||||
|
%endif
|
||||||
|
-DNUM_THREADS=64 \
|
||||||
|
-DDYNAMIC_ARCH=ON \
|
||||||
|
-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.*
|
||||||
@ -80,8 +124,27 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%{_libdir}/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
|
||||||
|
* 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
|
* Fri Aug 09 2024 Automatic Build System <autodist@openmamba.org> 0.3.28-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user