public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/petsc] f45: Release 3.26.0
@ 2026-10-12  9:48 Antonio Trande
  0 siblings, 0 replies; only message in thread
From: Antonio Trande @ 2026-10-12  9:48 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/petsc
Branch : f45
Commit : 82b81ea71ce94ad04784ff598f6b480c304dee2d
Author : Antonio Trande <sagitter@fedoraproject.org>
Date   : 2026-10-10T19:05:42+02:00
Stats  : +38/-36 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/petsc/c/82b81ea71ce94ad04784ff598f6b480c304dee2d?branch=f45

Log:
Release 3.26.0

---
diff --git a/.gitignore b/.gitignore
index 3cb110c..c3ffa2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -91,3 +91,4 @@
 /petsc-with-docs-3.25.3.tar.gz
 /petsc-with-docs-3.25.4.tar.gz
 /petsc-with-docs-3.25.5.tar.gz
+/petsc-with-docs-3.26.0.tar.gz

diff --git a/petsc-3.24.0-fix_metis64.patch b/petsc-3.24.0-fix_metis64.patch
deleted file mode 100644
index c14740f..0000000
--- a/petsc-3.24.0-fix_metis64.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/config/BuildSystem/config/packages/METIS.orig.py	2020-03-29 16:29:06.000000000 +0200
-+++ b/config/BuildSystem/config/packages/METIS.py	2020-04-03 18:00:37.013851959 +0200
-@@ -8,8 +8,8 @@
-     self.download          = ['git://https://bitbucket.org/petsc/pkg-metis.git','https://bitbucket.org/petsc/pkg-metis/get/'+self.gitcommit+'.tar.gz']
-     self.downloaddirnames  = ['petsc-pkg-metis']
-     self.functions         = ['METIS_PartGraphKway']
--    self.includes          = ['metis.h']
--    self.liblist           = [['libmetis.a'],['libmetis.a','libexecinfo.a']]
-+    self.includes          = ['metis64.h']
-+    self.liblist           = [['libmetis64.a'],['libmetis64.a','libexecinfo.a']]
-     self.hastests          = 1
-     self.useddirectly      = 0
-     self.downloadonWindows = 1
-@@ -50,7 +50,7 @@
-     config.package.Package.configureLibrary(self)
-     oldFlags = self.compilers.CPPFLAGS
-     self.compilers.CPPFLAGS += ' '+self.headers.toString(self.include)
--    if not self.checkCompile('#include "metis.h"', '#if (IDXTYPEWIDTH != '+ str(self.getDefaultIndexSize())+')\n#error incompatible IDXTYPEWIDTH\n#endif\n'):
-+    if not self.checkCompile('#include "metis64.h"', '#if (IDXTYPEWIDTH != '+ str(self.getDefaultIndexSize())+')\n#error incompatible IDXTYPEWIDTH\n#endif\n'):
-       if self.defaultIndexSize == 64:
-         msg= '--with-64-bit-indices option requires a metis build with IDXTYPEWIDTH=64.\n'
-       else:
---- a/src/mat/graphops/order/metisnd/metisnd.orig.c	2024-03-30 01:34:11.000000000 +0100
-+++ b/src/mat/graphops/order/metisnd/metisnd.c	2024-05-09 19:18:46.723155414 +0200
-@@ -1,6 +1,6 @@
- #include <petscmat.h>
- #include <petsc/private/matorderimpl.h>
--#include <metis.h>
-+#include <metis64.h>
- 
- /*
-     MatGetOrdering_METISND - Find the nested dissection ordering of a given matrix.

diff --git a/petsc-3.26.0-fix_metis64.patch b/petsc-3.26.0-fix_metis64.patch
new file mode 100644
index 0000000..f2b616e
--- /dev/null
+++ b/petsc-3.26.0-fix_metis64.patch
@@ -0,0 +1,33 @@
+--- a/config/BuildSystem/config/packages/METIS.orig.py	2020-03-29 16:29:06.000000000 +0200
++++ b/config/BuildSystem/config/packages/METIS.py	2020-04-03 18:00:37.013851959 +0200
+@@ -8,8 +8,8 @@
+     self.download          = ['git://https://bitbucket.org/petsc/pkg-metis.git','https://bitbucket.org/petsc/pkg-metis/get/'+self.gitcommit+'.tar.gz']
+     self.downloaddirnames  = ['petsc-pkg-metis']
+     self.functions         = ['METIS_PartGraphKway']
+-    self.includes          = ['metis.h']
+-    self.liblist           = [['libmetis.a'],['libmetis.a','libexecinfo.a']]
++    self.includes          = ['metis64.h']
++    self.liblist           = [['libmetis64.a'],['libmetis64.a','libexecinfo.a']]
+     self.hastests          = 1
+     self.useddirectly      = 0
+     self.downloadonWindows = 1
+@@ -51,7 +51,7 @@
+     config.package.Package.configureLibrary(self)
+     oldFlags = self.compilers.CPPFLAGS
+     self.compilers.CPPFLAGS += ' '+self.headers.toString(self.include)
+-    if not self.checkCompile('#include "metis.h"', '#if (IDXTYPEWIDTH != '+ str(self.getDefaultIndexSize())+')\n#error incompatible IDXTYPEWIDTH\n#endif\n'):
++    if not self.checkCompile('#include "metis64.h"', '#if (IDXTYPEWIDTH != '+ str(self.getDefaultIndexSize())+')\n#error incompatible IDXTYPEWIDTH\n#endif\n'):
+       if self.defaultIndexSize == 64:
+         msg= '--with-64-bit-indices option requires a METIS build with IDXTYPEWIDTH=64.\n'
+       else:
+--- a/src/mat/graphops/order/metisnd/metisnd.orig.c	2024-03-30 01:34:11.000000000 +0100
++++ b/src/mat/graphops/order/metisnd/metisnd.c	2024-05-09 19:18:46.723155414 +0200
+@@ -1,7 +1,7 @@
+ #include <petscmat.h>
+ #include <petsc/private/matorderimpl.h>
+ #include <petsc/private/matmetisimpl.h>
+-#include <metis.h>
++#include <metis64.h>
+ 
+ /*
+     MatGetOrdering_METISND - Find the nested dissection ordering of a given matrix.

diff --git a/petsc.spec b/petsc.spec
index 1aed608..317f139 100644
--- a/petsc.spec
+++ b/petsc.spec
@@ -313,11 +313,11 @@
 %global mpichversion %(rpm -qi mpich | awk -F': ' '/Version/ {print $2}')
 %global openmpiversion %(rpm -qi openmpi | awk -F': ' '/Version/ {print $2}')
 %global majorver 3
-%global releasever %{majorver}.25
+%global releasever %{majorver}.26
 
 Name:    petsc
 Summary: Portable Extensible Toolkit for Scientific Computation
-Version: %{releasever}.5
+Version: %{releasever}.0
 Epoch:   %{epoch}
 Release: %autorelease
 License: BSD-2-Clause
@@ -328,7 +328,7 @@ Source0: https://web.cels.anl.gov/projects/%{name}/download/release-snapshots/%{
 Patch0:  %{name}-3.21.1-no-rpath.patch
 
 ## Rename library name for 64-bit integer package
-Patch4:  %{name}-3.24.0-fix_metis64.patch
+Patch4:  %{name}-3.26.0-fix_metis64.patch
 Patch6:  %{name}-3.14.1-fix_pkgconfig_file.patch
 Patch7:  %{name}-3.22.2-avoid_fake_MKL_detection.patch
 

diff --git a/sources b/sources
index 74d73f3..78fe21a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (petsc-with-docs-3.25.5.tar.gz) = dcd6c6436f41606c5080a639111f33714198fbcf14c275b88d88cc227b25eadd0f3dadc64f47f248d8ec1756c36dba6e0eec3dc781ed18460755d449995596b6
+SHA512 (petsc-with-docs-3.26.0.tar.gz) = f18839294848319a5e21ea794882309be85fe2cb29c178abf213a10f1d1c27649f22167f2611228dc3968f0dcc76e4f13f696d0a8c3b82014e7fdc62b2af181f

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-12  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12  9:48 [rpms/petsc] f45: Release 3.26.0 Antonio Trande

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox