[sundials] 04/10: patch update

Dima Kogan dima at secretsauce.net
Mon May 29 23:37:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkogan pushed a commit to branch master
in repository sundials.

commit b5734d7ae6e6aa55edf8840f3011f68820dc4220
Author: Dima Kogan <dima at secretsauce.net>
Date:   Mon May 29 02:50:27 2017 -0700

    patch update
---
 ...4-Examples-use-default-sundials-libraries.patch |  49 ++-
 ...-CMakeLists.txt-have-a-minumum-requested-.patch | 459 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 3 files changed, 487 insertions(+), 22 deletions(-)

diff --git a/debian/patches/0004-Examples-use-default-sundials-libraries.patch b/debian/patches/0004-Examples-use-default-sundials-libraries.patch
index cffe7d2..8d7837e 100644
--- a/debian/patches/0004-Examples-use-default-sundials-libraries.patch
+++ b/debian/patches/0004-Examples-use-default-sundials-libraries.patch
@@ -16,10 +16,10 @@ or ..._static, which doesn't refer to any installed-time files
  examples/arkode/C_parallel/CMakeLists.txt     | 11 ++---------
  examples/arkode/C_parhyp/CMakeLists.txt       | 11 ++---------
  examples/arkode/C_serial/CMakeLists.txt       | 12 ++----------
- examples/arkode/F77_parallel/CMakeLists.txt   | 19 ++++---------------
- examples/arkode/F77_serial/CMakeLists.txt     | 19 ++++---------------
- examples/arkode/F90_parallel/CMakeLists.txt   | 17 ++++-------------
- examples/arkode/F90_serial/CMakeLists.txt     | 19 ++++---------------
+ examples/arkode/F77_parallel/CMakeLists.txt   | 21 +++++----------------
+ examples/arkode/F77_serial/CMakeLists.txt     | 21 +++++----------------
+ examples/arkode/F90_parallel/CMakeLists.txt   | 19 +++++--------------
+ examples/arkode/F90_serial/CMakeLists.txt     | 21 +++++----------------
  examples/cvode/C_openmp/CMakeLists.txt        | 12 ++----------
  examples/cvode/fcmix_parallel/CMakeLists.txt  | 17 ++++-------------
  examples/cvode/fcmix_serial/CMakeLists.txt    | 17 ++++-------------
@@ -47,11 +47,11 @@ or ..._static, which doesn't refer to any installed-time files
  examples/kinsol/serial/CMakeLists.txt         | 12 ++----------
  examples/nvector/C_openmp/CMakeLists.txt      |  9 +--------
  examples/nvector/parallel/CMakeLists.txt      |  9 +--------
- examples/nvector/parhyp/CMakeLists.txt        |  8 +-------
+ examples/nvector/parhyp/CMakeLists.txt        | 10 ++--------
  examples/nvector/petsc/CMakeLists.txt         |  9 +--------
  examples/nvector/pthreads/CMakeLists.txt      |  9 +--------
  examples/nvector/serial/CMakeLists.txt        |  9 +--------
- 41 files changed, 100 insertions(+), 437 deletions(-)
+ 41 files changed, 105 insertions(+), 442 deletions(-)
 
 diff --git a/examples/arkode/CXX_parallel/CMakeLists.txt b/examples/arkode/CXX_parallel/CMakeLists.txt
 index 8f51139..894edec 100644
@@ -199,10 +199,7 @@ index 5454a4f..19bda13 100644
  
 -# Specify libraries to link against (through the target that was used to 
 -# generate them) based on the value of the variable LINK_LIBRARY_TYPE
-+SET(ARKODE_LIB sundials_arkode)
-+SET(NVECP_LIB sundials_nvecparallel)
-+SET(FNVECP_LIB sundials_fnvecparallel)
- 
+-
 -IF(LINK_LIBRARY_TYPE MATCHES "static")
 -  SET(ARKODE_LIB sundials_arkode_static)
 -  SET(NVECP_LIB sundials_nvecparallel_static)
@@ -216,6 +213,10 @@ index 5454a4f..19bda13 100644
 -# Only static FCMIX libraries are available
 -
 -SET(FARKODE_LIB sundials_farkode_static)
++SET(ARKODE_LIB sundials_arkode)
++SET(NVECP_LIB sundials_nvecparallel)
++SET(FNVECP_LIB sundials_fnvecparallel)
++
 +SET(FARKODE_LIB sundials_farkode)
  
  # Set-up linker flags and link libraries
@@ -230,10 +231,7 @@ index 7a9c40e..f582b6e 100644
  
 -# Specify libraries to link against (through the target that was used to 
 -# generate them) based on the value of the variable LINK_LIBRARY_TYPE
-+SET(ARKODE_LIB sundials_arkode)
-+SET(NVECS_LIB sundials_nvecserial)
-+SET(FNVECS_LIB sundials_fnvecserial)
- 
+-
 -IF(LINK_LIBRARY_TYPE MATCHES "static")
 -  SET(ARKODE_LIB sundials_arkode_static)
 -  SET(NVECS_LIB sundials_nvecserial_static)
@@ -247,6 +245,10 @@ index 7a9c40e..f582b6e 100644
 -# Only static FCMIX libraries are available
 -
 -SET(FARKODE_LIB sundials_farkode_static)
++SET(ARKODE_LIB sundials_arkode)
++SET(NVECS_LIB sundials_nvecserial)
++SET(FNVECS_LIB sundials_fnvecserial)
++
 +SET(FARKODE_LIB sundials_farkode)
  
  # Set-up linker flags and link libraries
@@ -270,12 +272,13 @@ index fca2903..72d9910 100644
 -  SET(NVECP_LIB sundials_nvecparallel_shared)
 -  SET(FNVECP_LIB sundials_fnvecparallel_shared)
 -ENDIF(LINK_LIBRARY_TYPE MATCHES "static")
+-
+-# Only static FCMIX libraries are available
+-SET(FARKODE_LIB sundials_farkode_static)
 +SET(ARKODE_LIB sundials_arkode)
 +SET(NVECP_LIB sundials_nvecparallel)
 +SET(FNVECP_LIB sundials_fnvecparallel)
- 
--# Only static FCMIX libraries are available
--SET(FARKODE_LIB sundials_farkode_static)
++
 +SET(FARKODE_LIB sundials_farkode)
  
  # Set-up linker flags and link libraries
@@ -290,10 +293,7 @@ index 62e01db..450551f 100644
  
 -# Specify libraries to link against (through the target that was used to 
 -# generate them) based on the value of the variable LINK_LIBRARY_TYPE
-+SET(ARKODE_LIB sundials_arkode)
-+SET(NVECS_LIB sundials_nvecserial)
-+SET(FNVECS_LIB sundials_fnvecserial)
- 
+-
 -IF(LINK_LIBRARY_TYPE MATCHES "static")
 -  SET(ARKODE_LIB sundials_arkode_static)
 -  SET(NVECS_LIB sundials_nvecserial_static)
@@ -307,6 +307,10 @@ index 62e01db..450551f 100644
 -# Only static FCMIX libraries are available
 -
 -SET(FARKODE_LIB sundials_farkode_static)
++SET(ARKODE_LIB sundials_arkode)
++SET(NVECS_LIB sundials_nvecserial)
++SET(FNVECS_LIB sundials_fnvecserial)
++
 +SET(FARKODE_LIB sundials_farkode)
  
  # Set-up linker flags and link libraries
@@ -1000,12 +1004,13 @@ index ad687bb..95b58fe 100644
    
 -# Specify libraries to link against (through the target that was used to 
 -# generate them) based on the value of the variable LINK_LIBRARY_TYPE
- 
+-
 -IF(LINK_LIBRARY_TYPE MATCHES "static")
 -  SET(NVECS_LIB sundials_nvecparhyp_static)
 -ELSE(LINK_LIBRARY_TYPE MATCHES "static")
 -  SET(NVECS_LIB sundials_nvecparhyp_shared)
 -ENDIF(LINK_LIBRARY_TYPE MATCHES "static")
++
 +SET(NVECS_LIB sundials_nvecparhyp)
  
  # Set-up linker flags and link libraries
diff --git a/debian/patches/0014-All-example-CMakeLists.txt-have-a-minumum-requested-.patch b/debian/patches/0014-All-example-CMakeLists.txt-have-a-minumum-requested-.patch
new file mode 100644
index 0000000..003b593
--- /dev/null
+++ b/debian/patches/0014-All-example-CMakeLists.txt-have-a-minumum-requested-.patch
@@ -0,0 +1,459 @@
+From: Dima Kogan <dima at secretsauce.net>
+Date: Mon, 29 May 2017 02:49:45 -0700
+Subject: All example CMakeLists.txt have a minumum requested CMake version
+
+This is just to pacify a cmake warning
+---
+ examples/arkode/CXX_parallel/CMakeLists.txt   | 2 ++
+ examples/arkode/CXX_serial/CMakeLists.txt     | 2 ++
+ examples/arkode/C_openmp/CMakeLists.txt       | 2 ++
+ examples/arkode/C_parallel/CMakeLists.txt     | 2 ++
+ examples/arkode/C_parhyp/CMakeLists.txt       | 2 ++
+ examples/arkode/C_serial/CMakeLists.txt       | 2 ++
+ examples/arkode/F77_parallel/CMakeLists.txt   | 2 ++
+ examples/arkode/F77_serial/CMakeLists.txt     | 2 ++
+ examples/arkode/F90_parallel/CMakeLists.txt   | 2 ++
+ examples/arkode/F90_serial/CMakeLists.txt     | 2 ++
+ examples/cvode/C_openmp/CMakeLists.txt        | 2 ++
+ examples/cvode/fcmix_parallel/CMakeLists.txt  | 2 ++
+ examples/cvode/fcmix_serial/CMakeLists.txt    | 2 ++
+ examples/cvode/parallel/CMakeLists.txt        | 2 ++
+ examples/cvode/parhyp/CMakeLists.txt          | 2 ++
+ examples/cvode/serial/CMakeLists.txt          | 2 ++
+ examples/cvodes/C_openmp/CMakeLists.txt       | 2 ++
+ examples/cvodes/parallel/CMakeLists.txt       | 2 ++
+ examples/cvodes/serial/CMakeLists.txt         | 2 ++
+ examples/ida/C_openmp/CMakeLists.txt          | 2 ++
+ examples/ida/fcmix_openmp/CMakeLists.txt      | 2 ++
+ examples/ida/fcmix_parallel/CMakeLists.txt    | 2 ++
+ examples/ida/fcmix_pthreads/CMakeLists.txt    | 2 ++
+ examples/ida/fcmix_serial/CMakeLists.txt      | 2 ++
+ examples/ida/parallel/CMakeLists.txt          | 2 ++
+ examples/ida/petsc/CMakeLists.txt             | 2 ++
+ examples/ida/serial/CMakeLists.txt            | 2 ++
+ examples/idas/C_openmp/CMakeLists.txt         | 2 ++
+ examples/idas/parallel/CMakeLists.txt         | 2 ++
+ examples/idas/serial/CMakeLists.txt           | 2 ++
+ examples/kinsol/C_openmp/CMakeLists.txt       | 2 ++
+ examples/kinsol/fcmix_parallel/CMakeLists.txt | 2 ++
+ examples/kinsol/fcmix_serial/CMakeLists.txt   | 2 ++
+ examples/kinsol/parallel/CMakeLists.txt       | 2 ++
+ examples/kinsol/serial/CMakeLists.txt         | 2 ++
+ examples/nvector/C_openmp/CMakeLists.txt      | 2 ++
+ examples/nvector/parallel/CMakeLists.txt      | 2 ++
+ examples/nvector/parhyp/CMakeLists.txt        | 2 ++
+ examples/nvector/petsc/CMakeLists.txt         | 2 ++
+ examples/nvector/pthreads/CMakeLists.txt      | 2 ++
+ examples/nvector/serial/CMakeLists.txt        | 2 ++
+ 41 files changed, 82 insertions(+)
+
+diff --git a/examples/arkode/CXX_parallel/CMakeLists.txt b/examples/arkode/CXX_parallel/CMakeLists.txt
+index a67a51c..0ef217c 100644
+--- a/examples/arkode/CXX_parallel/CMakeLists.txt
++++ b/examples/arkode/CXX_parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/arkode/CXX_serial/CMakeLists.txt b/examples/arkode/CXX_serial/CMakeLists.txt
+index b89c9ab..a51cc67 100644
+--- a/examples/arkode/CXX_serial/CMakeLists.txt
++++ b/examples/arkode/CXX_serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/arkode/C_openmp/CMakeLists.txt b/examples/arkode/C_openmp/CMakeLists.txt
+index f1f5a58..d0b29bb 100644
+--- a/examples/arkode/C_openmp/CMakeLists.txt
++++ b/examples/arkode/C_openmp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/arkode/C_parallel/CMakeLists.txt b/examples/arkode/C_parallel/CMakeLists.txt
+index ce4b7a6..06e12ff 100644
+--- a/examples/arkode/C_parallel/CMakeLists.txt
++++ b/examples/arkode/C_parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/arkode/C_parhyp/CMakeLists.txt b/examples/arkode/C_parhyp/CMakeLists.txt
+index 345b575..3097efb 100644
+--- a/examples/arkode/C_parhyp/CMakeLists.txt
++++ b/examples/arkode/C_parhyp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/arkode/C_serial/CMakeLists.txt b/examples/arkode/C_serial/CMakeLists.txt
+index 5a42e67..50ac656 100644
+--- a/examples/arkode/C_serial/CMakeLists.txt
++++ b/examples/arkode/C_serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/arkode/F77_parallel/CMakeLists.txt b/examples/arkode/F77_parallel/CMakeLists.txt
+index 10302ea..d796c30 100644
+--- a/examples/arkode/F77_parallel/CMakeLists.txt
++++ b/examples/arkode/F77_parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/arkode/F77_serial/CMakeLists.txt b/examples/arkode/F77_serial/CMakeLists.txt
+index 32426f4..1494df6 100644
+--- a/examples/arkode/F77_serial/CMakeLists.txt
++++ b/examples/arkode/F77_serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/arkode/F90_parallel/CMakeLists.txt b/examples/arkode/F90_parallel/CMakeLists.txt
+index 0712449..9391261 100644
+--- a/examples/arkode/F90_parallel/CMakeLists.txt
++++ b/examples/arkode/F90_parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/arkode/F90_serial/CMakeLists.txt b/examples/arkode/F90_serial/CMakeLists.txt
+index 782fed6..be76631 100644
+--- a/examples/arkode/F90_serial/CMakeLists.txt
++++ b/examples/arkode/F90_serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Daniel R. Reynolds
+ # ---------------------------------------------------------------
+diff --git a/examples/cvode/C_openmp/CMakeLists.txt b/examples/cvode/C_openmp/CMakeLists.txt
+index 71c65dc..00fae10 100644
+--- a/examples/cvode/C_openmp/CMakeLists.txt
++++ b/examples/cvode/C_openmp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer: Ting Yan @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/cvode/fcmix_parallel/CMakeLists.txt b/examples/cvode/fcmix_parallel/CMakeLists.txt
+index 471c789..9dc21a8 100644
+--- a/examples/cvode/fcmix_parallel/CMakeLists.txt
++++ b/examples/cvode/fcmix_parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4957 $
+ # $Date: 2016-09-23 12:21:47 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/cvode/fcmix_serial/CMakeLists.txt b/examples/cvode/fcmix_serial/CMakeLists.txt
+index c6976f2..48b7151 100644
+--- a/examples/cvode/fcmix_serial/CMakeLists.txt
++++ b/examples/cvode/fcmix_serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4957 $
+ # $Date: 2016-09-23 12:21:47 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/cvode/parallel/CMakeLists.txt b/examples/cvode/parallel/CMakeLists.txt
+index 15f20ab..1068557 100644
+--- a/examples/cvode/parallel/CMakeLists.txt
++++ b/examples/cvode/parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4957 $
+ # $Date: 2016-09-23 12:21:47 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/cvode/parhyp/CMakeLists.txt b/examples/cvode/parhyp/CMakeLists.txt
+index 3e6d80b..d4d6008 100644
+--- a/examples/cvode/parhyp/CMakeLists.txt
++++ b/examples/cvode/parhyp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4341 $
+ # $Date: 2015-02-03 10:53:47 -0800 (Tue, 03 Feb 2015) $
+diff --git a/examples/cvode/serial/CMakeLists.txt b/examples/cvode/serial/CMakeLists.txt
+index 222d407..770edd1 100644
+--- a/examples/cvode/serial/CMakeLists.txt
++++ b/examples/cvode/serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4957 $
+ # $Date: 2016-09-23 12:21:47 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/cvodes/C_openmp/CMakeLists.txt b/examples/cvodes/C_openmp/CMakeLists.txt
+index e778841..be351a0 100644
+--- a/examples/cvodes/C_openmp/CMakeLists.txt
++++ b/examples/cvodes/C_openmp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Ting Yan @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/cvodes/parallel/CMakeLists.txt b/examples/cvodes/parallel/CMakeLists.txt
+index 109ec7b..06a07b5 100644
+--- a/examples/cvodes/parallel/CMakeLists.txt
++++ b/examples/cvodes/parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4942 $
+ # $Date: 2016-09-21 17:50:22 -0700 (Wed, 21 Sep 2016) $
+diff --git a/examples/cvodes/serial/CMakeLists.txt b/examples/cvodes/serial/CMakeLists.txt
+index 22c4b16..877a500 100644
+--- a/examples/cvodes/serial/CMakeLists.txt
++++ b/examples/cvodes/serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4824 $
+ # $Date: 2016-07-24 16:39:04 -0700 (Sun, 24 Jul 2016) $
+diff --git a/examples/ida/C_openmp/CMakeLists.txt b/examples/ida/C_openmp/CMakeLists.txt
+index 1c42b4f..b06bf6e 100644
+--- a/examples/ida/C_openmp/CMakeLists.txt
++++ b/examples/ida/C_openmp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision:  $
+ # $Date:  $
+diff --git a/examples/ida/fcmix_openmp/CMakeLists.txt b/examples/ida/fcmix_openmp/CMakeLists.txt
+index 8b71b94..ff6b48f 100644
+--- a/examples/ida/fcmix_openmp/CMakeLists.txt
++++ b/examples/ida/fcmix_openmp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4958 $
+ # $Date: 2016-09-23 14:02:13 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/ida/fcmix_parallel/CMakeLists.txt b/examples/ida/fcmix_parallel/CMakeLists.txt
+index 36b6e95..79d2fc3 100644
+--- a/examples/ida/fcmix_parallel/CMakeLists.txt
++++ b/examples/ida/fcmix_parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4958 $
+ # $Date: 2016-09-23 14:02:13 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/ida/fcmix_pthreads/CMakeLists.txt b/examples/ida/fcmix_pthreads/CMakeLists.txt
+index 5b0499e..dcd3db7 100644
+--- a/examples/ida/fcmix_pthreads/CMakeLists.txt
++++ b/examples/ida/fcmix_pthreads/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4958 $
+ # $Date: 2016-09-23 14:02:13 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/ida/fcmix_serial/CMakeLists.txt b/examples/ida/fcmix_serial/CMakeLists.txt
+index 8701a27..8d78c4e 100644
+--- a/examples/ida/fcmix_serial/CMakeLists.txt
++++ b/examples/ida/fcmix_serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4958 $
+ # $Date: 2016-09-23 14:02:13 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/ida/parallel/CMakeLists.txt b/examples/ida/parallel/CMakeLists.txt
+index d94c414..9c39667 100644
+--- a/examples/ida/parallel/CMakeLists.txt
++++ b/examples/ida/parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4958 $
+ # $Date: 2016-09-23 14:02:13 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/ida/petsc/CMakeLists.txt b/examples/ida/petsc/CMakeLists.txt
+index 94a3b64..e592596 100644
+--- a/examples/ida/petsc/CMakeLists.txt
++++ b/examples/ida/petsc/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4137 $
+ # $Date: 2014-06-15 12:26:15 -0700 (Sun, 15 Jun 2014) $
+diff --git a/examples/ida/serial/CMakeLists.txt b/examples/ida/serial/CMakeLists.txt
+index 0eb6806..51ec410 100644
+--- a/examples/ida/serial/CMakeLists.txt
++++ b/examples/ida/serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4958 $
+ # $Date: 2016-09-23 14:02:13 -0700 (Fri, 23 Sep 2016) $
+diff --git a/examples/idas/C_openmp/CMakeLists.txt b/examples/idas/C_openmp/CMakeLists.txt
+index 8539e2d..ed1ab8d 100644
+--- a/examples/idas/C_openmp/CMakeLists.txt
++++ b/examples/idas/C_openmp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer:  Ting Yan @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/idas/parallel/CMakeLists.txt b/examples/idas/parallel/CMakeLists.txt
+index 6546f1c..7d4c298 100644
+--- a/examples/idas/parallel/CMakeLists.txt
++++ b/examples/idas/parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4137 $
+ # $Date: 2014-06-15 12:26:15 -0700 (Sun, 15 Jun 2014) $
+diff --git a/examples/idas/serial/CMakeLists.txt b/examples/idas/serial/CMakeLists.txt
+index 8c12b83..23c30ff 100644
+--- a/examples/idas/serial/CMakeLists.txt
++++ b/examples/idas/serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4866 $
+ # $Date: 2016-08-18 16:07:58 -0700 (Thu, 18 Aug 2016) $
+diff --git a/examples/kinsol/C_openmp/CMakeLists.txt b/examples/kinsol/C_openmp/CMakeLists.txt
+index c1ed518..9dba983 100644
+--- a/examples/kinsol/C_openmp/CMakeLists.txt
++++ b/examples/kinsol/C_openmp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # Programmer: Ting Yan @ SMU
+ # ---------------------------------------------------------------
+diff --git a/examples/kinsol/fcmix_parallel/CMakeLists.txt b/examples/kinsol/fcmix_parallel/CMakeLists.txt
+index d291432..9e8abfd 100644
+--- a/examples/kinsol/fcmix_parallel/CMakeLists.txt
++++ b/examples/kinsol/fcmix_parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4096 $
+ # $Date: 2014-05-02 14:49:50 -0700 (Fri, 02 May 2014) $
+diff --git a/examples/kinsol/fcmix_serial/CMakeLists.txt b/examples/kinsol/fcmix_serial/CMakeLists.txt
+index 008c9fc..90e296f 100644
+--- a/examples/kinsol/fcmix_serial/CMakeLists.txt
++++ b/examples/kinsol/fcmix_serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4096 $
+ # $Date: 2014-05-02 14:49:50 -0700 (Fri, 02 May 2014) $
+diff --git a/examples/kinsol/parallel/CMakeLists.txt b/examples/kinsol/parallel/CMakeLists.txt
+index 8f38c7e..bb17da1 100644
+--- a/examples/kinsol/parallel/CMakeLists.txt
++++ b/examples/kinsol/parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4137 $
+ # $Date: 2014-06-15 12:26:15 -0700 (Sun, 15 Jun 2014) $
+diff --git a/examples/kinsol/serial/CMakeLists.txt b/examples/kinsol/serial/CMakeLists.txt
+index 81ba210..589cdcb 100644
+--- a/examples/kinsol/serial/CMakeLists.txt
++++ b/examples/kinsol/serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4901 $
+ # $Date: 2016-09-14 07:45:54 -0700 (Wed, 14 Sep 2016) $
+diff --git a/examples/nvector/C_openmp/CMakeLists.txt b/examples/nvector/C_openmp/CMakeLists.txt
+index 27fc607..83d7494 100644
+--- a/examples/nvector/C_openmp/CMakeLists.txt
++++ b/examples/nvector/C_openmp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4945 $
+ # $Date: 2016-09-21 22:15:14 -0700 (Wed, 21 Sep 2016) $
+diff --git a/examples/nvector/parallel/CMakeLists.txt b/examples/nvector/parallel/CMakeLists.txt
+index d88e1ba..42216cd 100644
+--- a/examples/nvector/parallel/CMakeLists.txt
++++ b/examples/nvector/parallel/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4456 $
+ # $Date: 2015-03-28 20:22:03 -0700 (Sat, 28 Mar 2015) $
+diff --git a/examples/nvector/parhyp/CMakeLists.txt b/examples/nvector/parhyp/CMakeLists.txt
+index a8dea5e..ef7a958 100644
+--- a/examples/nvector/parhyp/CMakeLists.txt
++++ b/examples/nvector/parhyp/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4456 $
+ # $Date: 2015-03-28 20:22:03 -0700 (Sat, 28 Mar 2015) $
+diff --git a/examples/nvector/petsc/CMakeLists.txt b/examples/nvector/petsc/CMakeLists.txt
+index 5db06dc..b18982d 100644
+--- a/examples/nvector/petsc/CMakeLists.txt
++++ b/examples/nvector/petsc/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4456 $
+ # $Date: 2015-03-28 20:22:03 -0700 (Sat, 28 Mar 2015) $
+diff --git a/examples/nvector/pthreads/CMakeLists.txt b/examples/nvector/pthreads/CMakeLists.txt
+index 6c8eb1b..0218ad1 100644
+--- a/examples/nvector/pthreads/CMakeLists.txt
++++ b/examples/nvector/pthreads/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4456 $
+ # $Date: 2015-03-28 20:22:03 -0700 (Sat, 28 Mar 2015) $
+diff --git a/examples/nvector/serial/CMakeLists.txt b/examples/nvector/serial/CMakeLists.txt
+index 0076d4d..1d681db 100644
+--- a/examples/nvector/serial/CMakeLists.txt
++++ b/examples/nvector/serial/CMakeLists.txt
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 3.7)
++
+ # ---------------------------------------------------------------
+ # $Revision: 4456 $
+ # $Date: 2015-03-28 20:22:03 -0700 (Sat, 28 Mar 2015) $
diff --git a/debian/patches/series b/debian/patches/series
index 7e238ee..2f28d32 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
 0011-Examples-nvector-examples-use-shipped-copy-of-sundia.patch
 0012-Examples-fortran-examples-CMake-knows-to-do-its-fort.patch
 0013-Examples-pthread-example-assumes-we-have-pthread-sup.patch
+0014-All-example-CMakeLists.txt-have-a-minumum-requested-.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sundials.git



More information about the debian-science-commits mailing list