SHA256
10
0
forked from pool/petsc

2 Commits

Author SHA256 Message Date
f160318192 * Use COPTFLAGS, FOPTFLAGS, and CXXOPTFLAGS to pass rpm optflags to compilers instead of directly setting CFLAGS, FFLAGS, or CXXFLAGS; this is recommended by upstream and fixes build failures seen when compiling fortran modules on Leap 16 and older (see https://gitlab.com/petsc/petsc/-/issues/1727).
* Changes PETSC_ARCH definition to %_arch instead of linux-gnu-c-opt; this is in line with upstream's recommendation and what Fedora does and should be ok for openSUSE not that we no longer use hpc macros.
* Modify petsc-fix-libdir.patch to use sysconfig.get_config_vars('platlibdir') instead of sys.platlibdir for compatibility with python 3.6 (fix FTBFS on 15.6 and older).
* Actually bail out before running make when configuring fails.

OBS-URL: https://build.opensuse.org/package/show/science/petsc?expand=0&rev=147
2025-05-20 05:43:23 +00:00
42c154e7d0 * Update to version 3.23.0.
* Add petsc-fix-install-libdir.patch: Install libraries to system arch compatible lib dir (e.g. 'lib64' for x86_64).
* Drop and add hashbangs as required for non-exec and exec python scripts respectively.
* Implement a %check section and run make check.
* Drop explicit specification of mpi library paths and allow `%setup_openmpi` to export relevant paths.
* Fix an incorrect file encoding.

OBS-URL: https://build.opensuse.org/package/show/science/petsc?expand=0&rev=144
2025-04-11 05:32:25 +00:00