diff --git a/.gitignore b/.gitignore index 895ca3a..5d438ec 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ /openblas-0.3.15.tar.gz /openblas-0.3.21.tar.gz /OpenBLAS-0.3.26.tar.gz +/OpenBLAS-0.3.29.tar.gz diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate diff --git a/openblas.spec b/openblas.spec index fcb476f..5fb570e 100644 --- a/openblas.spec +++ b/openblas.spec @@ -1,6 +1,6 @@ %bcond_with system_lapack # Version of bundled lapack -%global lapackver 3.11.0 +%global lapackver 3.12.0 # DO NOT "CLEAN UP" OR MODIFY THIS SPEC FILE WITHOUT ASKING THE # MAINTAINER FIRST! @@ -14,8 +14,8 @@ # "obsoleted" features are still kept in the spec. Name: openblas -Version: 0.3.26 -Release: 2%{?dist} +Version: 0.3.29 +Release: 1%{?dist} Summary: An optimized BLAS library based on GotoBLAS2 License: BSD-3-Clause URL: https://github.com/OpenMathLib/OpenBLAS @@ -28,8 +28,6 @@ Patch1: openblas-0.2.5-libname.patch Patch2: openblas-0.2.15-constructor.patch # Supply the proper flags to the test makefile Patch3: openblas-0.3.11-tests.patch -# Fix incompatible pointer types (causes FTBFS on ppc64le) -Patch4: openblas-0.3.26-incompatibletypes.patch BuildRequires: make BuildRequires: gcc @@ -236,14 +234,13 @@ This package contains the static libraries. tar zxf %{SOURCE0} cd OpenBLAS-%{version} %if %{with system_lapack} -%patch0 -p1 -b .system_lapack +%patch -P 0 -p1 -b .system_lapack %endif -%patch1 -p1 -b .libname +%patch -P 1 -p1 -b .libname %if 0%{?rhel} == 5 -%patch2 -p1 -b .constructor +%patch -P 2 -p1 -b .constructor %endif -%patch3 -p1 -b .tests -%patch4 -p1 -b .incompatibletypes +%patch -P 3 -p1 -b .tests # Fix source permissions find -name \*.f -exec chmod 644 {} \; @@ -381,6 +378,9 @@ TARGET="TARGET=ARMV8 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1" %ifarch s390x TARGET="TARGET=ZARCH_GENERIC DYNAMIC_ARCH=1 DYNAMIC_OLDER=1" %endif +%ifarch riscv64 +TARGET="TARGET=RISCV64_GENERIC DYNAMIC_ARCH=0" +%endif %if 0%{?rhel} == 5 # Gfortran too old to recognize -frecursive @@ -403,6 +403,7 @@ make -C threaded $TARGET USE_THREAD=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_O COMMON="%{optflags} -fPIC -fopenmp -pthread" FCOMMON="$COMMON -frecursive" make -C openmp $TARGET USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblaso" $AVX $LAPACKE INTERFACE64=0 %{with cpp_thread_check:CPP_THREAD_SAFETY_TEST=1} +make -C openmp $TARGET USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblaso" $AVX $LAPACKE INTERFACE64=0 %{with cpp_thread_check:CPP_THREAD_SAFETY_TEST=1} lapack-test %if %build64 COMMON="%{optflags} -fPIC" @@ -443,6 +444,9 @@ suffix="" %ifarch armv7hl suffix="_armv7" %endif +%ifarch riscv64 +suffix="_riscv64_generic" +%endif slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so` mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a if [[ "$suffix" != "" ]]; then @@ -649,6 +653,10 @@ rm -rf %{buildroot}%{_libdir}/cmake %endif %changelog +* Wed Apr 09 2025 Pavel Simovec - 0.3.29-1 +- Update to 0.3.29 +- Resolves: RHEL-77185 + * Thu Aug 22 2024 Pavel Simovec - 0.3.26-2 - Re-include openblas.pc - Resolves: RHEL-20160 diff --git a/sources b/sources index 554f56c..4baebd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OpenBLAS-0.3.26.tar.gz) = 01d3a536fbfa62f276fd6b1ad0e218fb3d91f41545fc83ddc74979fa26372d8389f0baa20334badfe0adacd77bd944c50a47ac920577373fcc1d495553084373 +SHA512 (OpenBLAS-0.3.29.tar.gz) = 046316b4297460bffca09c890ecad17ea39d8b3db92ff445d03b547dd551663d37e40f38bce8ae11e2994374ff01e622b408da27aa8e40f4140185ee8f001a60