summaryrefslogtreecommitdiff
path: root/sci-libs/scalapack/files/scalapack-2.2.0-cmake.patch
blob: 63168d031fbef65f67aac86ce41542aeac982755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
https://github.com/Reference-ScaLAPACK/scalapack/commit/41ac62c28fab33cd9ccc1b010c9c215b5f05201b
https://github.com/Reference-ScaLAPACK/scalapack/commit/afbc20a9465b79dea14f65c76090fbaecc9c417b

From 41ac62c28fab33cd9ccc1b010c9c215b5f05201b Mon Sep 17 00:00:00 2001
From: Cristian Le <git@lecris.dev>
Date: Mon, 31 Mar 2025 11:03:15 +0200
Subject: [PATCH] Adjust CI to test for CMake versions

---
 BLACS/INSTALL/CMakeLists.txt |  2 +-
 CMakeLists.txt               |  2 +-
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/BLACS/INSTALL/CMakeLists.txt b/BLACS/INSTALL/CMakeLists.txt
index c75773cd..257813e8 100644
--- a/BLACS/INSTALL/CMakeLists.txt
+++ b/BLACS/INSTALL/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8...4.0)
 project(INSTALL C Fortran)
 
 add_executable(xintface Fintface.f Cintface.c)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d599305..23f8ea70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9)
+cmake_minimum_required(VERSION 3.9...4.0)
 
 project(SCALAPACK VERSION 2.2.2 LANGUAGES C Fortran)
 

From afbc20a9465b79dea14f65c76090fbaecc9c417b Mon Sep 17 00:00:00 2001
From: Cristian Le <git@lecris.dev>
Date: Mon, 31 Mar 2025 18:30:54 +0200
Subject: [PATCH] Bump minimum CMake to 3.26

Signed-off-by: Cristian Le <git@lecris.dev>
---
 BLACS/INSTALL/CMakeLists.txt |  2 +-
 CMakeLists.txt               |  2 +-
 3 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/BLACS/INSTALL/CMakeLists.txt b/BLACS/INSTALL/CMakeLists.txt
index 257813e8..acbb7430 100644
--- a/BLACS/INSTALL/CMakeLists.txt
+++ b/BLACS/INSTALL/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8...4.0)
+cmake_minimum_required(VERSION 3.26...4.0)
 project(INSTALL C Fortran)
 
 add_executable(xintface Fintface.f Cintface.c)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d59f7936..c80c11ee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9...4.0)
+cmake_minimum_required(VERSION 3.26...4.0)
 
 project(SCALAPACK VERSION 2.2.2 LANGUAGES C Fortran)