Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package superlu for openSUSE:Factory checked in at 2025-04-03 16:45:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/superlu (Old) and /work/SRC/openSUSE:Factory/.superlu.new.1907 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "superlu" Thu Apr 3 16:45:54 2025 rev:35 rq:1266045 version:7.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/superlu/superlu.changes 2024-12-10 23:43:17.903968971 +0100 +++ /work/SRC/openSUSE:Factory/.superlu.new.1907/superlu.changes 2025-04-03 16:46:02.065161499 +0200 @@ -1,0 +2,5 @@ +Mon Mar 24 17:01:39 UTC 2025 - Nicolas Morey <nicolas.mo...@suse.com> + +- Disable and remove support for gnu-hpc build flavours (bsc#1239982) + +------------------------------------------------------------------- Old: ---- _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ superlu.spec ++++++ --- /var/tmp/diff_new_pack.VsiD7n/_old 2025-04-03 16:46:02.805192673 +0200 +++ /var/tmp/diff_new_pack.VsiD7n/_new 2025-04-03 16:46:02.805192673 +0200 @@ -1,7 +1,7 @@ # # spec file for package superlu # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,81 +16,17 @@ # -%global flavor @BUILD_FLAVOR@%{nil} - -# Base package name -%define pname superlu -%define ver 7.0.0 -%define _ver %(echo %{ver} | tr . _) - -%if "%flavor" == "" -ExclusiveArch: do_not_build -%endif - -%if "%{flavor}" == "serial" -%bcond_with hpc -%endif - -%if "%{flavor}" == "gnu-hpc" -%bcond_without hpc -%global compiler_family gnu -%undefine c_f_ver -%endif - -%if "%{flavor}" == "gnu7-hpc" -%bcond_without hpc -%global compiler_family gnu -%define c_f_ver 7 -%endif - -%if "%{flavor}" == "gnu8-hpc" -%bcond_without hpc -%global compiler_family gnu -%define c_f_ver 8 -%endif - -%if "%{flavor}" == "gnu9-hpc" -%bcond_without hpc -%global compiler_family gnu -%define c_f_ver 9 -%endif - -%if "%{flavor}" == "gnu10-hpc" -%bcond_without hpc -%global compiler_family gnu -%define c_f_ver 10 -%endif - -%bcond_with ringdisabled - -%if %{with hpc} && %{with ringdisabled} -ExclusiveArch: do_not_build -%endif - -%define package_name %pname -%if %{without hpc} -%define p_prefix %_prefix -%define p_includedir %_includedir -%define p_libdir %_libdir %define _sover 7 %define libname lib%{name}%{?_sover} -%else -%{hpc_init -c %compiler_family %{?c_f_ver:-v %{c_f_ver}} %{?ext:-e %{ext}}} -%define package_name %{hpc_package_name %_ver} -%define p_prefix %hpc_prefix -%define p_includedir %hpc_includedir -%define p_libdir %hpc_libdir -%define libname lib%{name} -%endif -Name: %{package_name} +Name: superlu Summary: A general purpose library for the direct solution of linear equations License: BSD-3-Clause Group: Productivity/Scientific/Math -Version: %{ver} +Version: 7.0.0 Release: 0 URL: https://portal.nersc.gov/project/sparse/superlu/ -Source0: %{pname}-%{version}.tar.gz +Source0: %{name}-%{version}.tar.gz # Tarball above is generated with the script below Source1: get-tarball.sh Source2: README.SUSE @@ -101,19 +37,11 @@ # this routine in the library which, however, remains fully functional Patch0: superlu-remove-mc64ad.patch Patch1: superlu-make.linux.patch +BuildRequires: blas-devel BuildRequires: cmake >= 3.5 BuildRequires: fdupes -BuildRequires: tcsh -%if %{without hpc} -BuildRequires: blas-devel BuildRequires: gcc-fortran -%else -Requires: %{compiler_family}%{?c_f_ver}-compilers-hpc -BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel -BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc -BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel -BuildRequires: suse-hpc >= 0.5.20230501 -%endif +BuildRequires: tcsh %description SuperLU is an algorithm that uses group theory to optimize LU @@ -125,11 +53,6 @@ %package -n %libname Summary: SuperLU matrix solver Group: System/Libraries -%if %{with hpc} -%{requires_eq libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc} -Requires: lua-lmod >= 7.6.1 -%hpc_requires -%endif %description -n %libname SuperLU is an algorithm that uses group theory to optimize LU @@ -139,14 +62,10 @@ Summary: Headers and development library for lib%{name}%{?_sover} Group: Development/Libraries/C and C++ Requires: %libname = %version -%if %{with hpc} -%{requires_eq libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel} -%hpc_requires_devel -%endif Recommends: %name-doc %description devel -SuperLU headers and libraries files needed for development %{with_hpc:(HPC variant)} +SuperLU headers and libraries files needed for development %package doc Summary: Documentation for %name @@ -169,32 +88,17 @@ SuperLU is an algorithm that uses group theory to optimize LU decomposition of sparse matrices. -%if %{with hpc} -%{hpc_master_package -l -L} -%{hpc_master_package -L devel} -%{hpc_master_package doc} -%{hpc_master_package -L examples} -%endif - %prep %setup -q -n superlu-%{version} %autopatch -p1 cp %SOURCE2 ./ -# Create baselibs.conf dynamically (non-HPC build only). -%if %{without hpc} +# Create baselibs.conf dynamically cat > %{_sourcedir}/baselibs.conf <<EOF lib%{name}%{?_sover} EOF -%endif %build -%{?hpc_setup} -%if %{without hpc} %cmake \ -%else -module load openblas -%hpc_cmake \ -%endif -DCMAKE_BUILD_TYPE=Release -DUSE_XSDK_DEFAULTS='TRUE' \ -Denable_tests=ON -Denable_examples=OFF make %{?_smp_mflags} @@ -207,91 +111,31 @@ cp FORTRAN/README README.fortran cp -r EXAMPLE examples cp MAKE_INC/make.linux examples/make.inc -sed -i -e 's&@superlu_home@&%p_prefix&' -e 's&@superlu_lib@&%p_libdir&' examples/make.inc +sed -i -e 's&@superlu_home@&%_prefix&' -e 's&@superlu_lib@&%_libdir&' examples/make.inc rm -f examples/.gitignore %fdupes -s examples -%if %{with hpc} -%{hpc_write_pkgconfig} - -# TODO: is there any path to add for Matlab files? -%hpc_write_modules_files -#%Module1.0##################################################################### -proc ModulesHelp { } { - -puts stderr " " -puts stderr "This module loads the SuperLU library built with the %{compiler_family} compiler" -puts stderr "toolchain." -puts stderr " " -puts stderr "Note that this build of SuperLU leverages the OpenBLAS linear algebra libraries." -puts stderr "Consequently, openblas is loaded automatically with this module." - -puts stderr "\nVersion %{version}\n" - -} -module-whatis "Name: %{pname} built with %{compiler_family} compiler" -module-whatis "Version: %{version}" -module-whatis "Category: runtime library" -module-whatis "Description: %{SUMMARY}" -module-whatis "%{url}" - -set version %{version} - -depends-on openblas - -if {[file isdirectory %{hpc_includedir}]} { -prepend-path INCLUDE %{hpc_includedir} -} -prepend-path LD_LIBRARY_PATH %{hpc_libdir} - -setenv %{hpc_PNAME %pname}_DIR %{hpc_prefix} -if {[file isdirectory %{hpc_includedir}]} { -setenv %{hpc_PNAME %pname}_INC %{hpc_includedir} -%hpc_modulefile_add_pkgconfig_path -} -setenv %{hpc_PNAME %pname}_LIB %{hpc_libdir} - -EOF -%endif - %check -%if %{with hpc} -%{?hpc_setup} -module load openblas -%endif %ctest # remove all build examples rm -fr EXAMPLE -%if %{without hpc} %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig -%else - -%post -n %libname -/sbin/ldconfig -N %hpc_libdir - -%postun -n %libname -/sbin/ldconfig -N %hpc_libdir -%hpc_module_delete_if_default -%endif %files -n %libname %doc README MATLAB README.SUSE -%{?with_hpc:%hpc_dirs} -%{?with_hpc:%hpc_modules_files} -%{p_libdir}/*.so.* +%{_libdir}/*.so.* %files devel %doc README.fortran -%{?with_hpc:%{hpc_pkgconfig_file}} -%{p_includedir}/%{!?with_hpc:*} -%{p_libdir}/*.so -%dir %{p_libdir}/cmake/ -%dir %{p_libdir}/cmake/superlu/ -%{p_libdir}/cmake/superlu/*.cmake -%{p_libdir}/pkgconfig/superlu.pc +%{_includedir}/* +%{_libdir}/*.so +%dir %{_libdir}/cmake/ +%dir %{_libdir}/cmake/superlu/ +%{_libdir}/cmake/superlu/*.cmake +%{_libdir}/pkgconfig/superlu.pc %files doc %doc DOC/html DOC/ug.pdf