superlu: update version 5.2.1->5.2.2

This commit is contained in:
Marcus Calhoun-Lopez
2021-04-07 05:44:35 -07:00
parent b57e70582d
commit 9e1d2cc31f
3 changed files with 6 additions and 103 deletions
+6 -9
View File
@@ -6,8 +6,8 @@ PortGroup linear_algebra 1.0
PortGroup compilers 1.0
name superlu
version 5.2.1
revision 2
version 5.2.2
revision 0
categories math
license BSD
platforms darwin
@@ -20,15 +20,12 @@ long_description SuperLU is a general purpose library for the direct
homepage https://portal.nersc.gov/project/sparse/superlu
master_sites ${homepage}
checksums rmd160 2aae43b29da1301e70625d79d41453e5d5ed04e2 \
sha256 28fb66d6107ee66248d5cf508c79de03d0621852a0ddeba7301801d3d859f463 \
size 2560875
checksums rmd160 7f5deb8b9af7db5d44639342a1a046c5ec4f5dde \
sha256 470334a72ba637578e34057f46948495e601a5988a602604f5576367e606a28c \
size 2481538
distname ${name}_${version}
worksrcdir SuperLU_${version}
patchfiles-append patch-implicit.diff \
patch-no_fortran.diff
worksrcdir superlu-${version}
compilers.setup -fortran
-82
View File
@@ -1,82 +0,0 @@
See https://github.com/xiaoyeli/superlu/commit/78001cad98f15ef4269129f106e394b6df62fe97
--- SRC/sp_ienv.c.orig 2016-05-22 08:58:44.000000000 -0700
+++ SRC/sp_ienv.c 2021-04-06 18:31:46.000000000 -0700
@@ -24,6 +24,7 @@
* History: Modified from lapack routine ILAENV
*/
#include "slu_Cnames.h"
+extern int input_error(char *, int *);
/*! \brief
--- SRC/slacon2.c.orig 2016-05-22 08:58:44.000000000 -0700
+++ SRC/slacon2.c 2021-04-06 18:35:17.000000000 -0700
@@ -21,6 +21,7 @@
*/
#include <math.h>
#include "slu_Cnames.h"
+extern int idamax_(int *, double *, int *);
/*! \brief
*
--- SRC/smach.c.orig 2016-05-22 08:58:44.000000000 -0700
+++ SRC/smach.c 2021-04-06 18:37:44.000000000 -0700
@@ -11,6 +11,7 @@
#include <float.h>
#include <math.h>
#include <stdio.h>
+#include <string.h>
float smach(char *cmach)
{
--- SRC/dmach.c.orig 2016-05-22 08:58:44.000000000 -0700
+++ SRC/dmach.c 2021-04-06 18:38:58.000000000 -0700
@@ -11,6 +11,7 @@
#include <float.h>
#include <math.h>
#include <stdio.h>
+#include <string.h>
double dmach(char *cmach)
{
--- SRC/clacon2.c.orig 2016-05-22 08:58:44.000000000 -0700
+++ SRC/clacon2.c 2021-04-06 18:40:26.000000000 -0700
@@ -22,6 +22,7 @@
#include <math.h>
#include "slu_Cnames.h"
#include "slu_scomplex.h"
+extern void ccopy_(int *, complex [], int *, complex [], int *);
/*! \brief
*
--- SRC/zlacon2.c.orig 2016-05-22 08:58:44.000000000 -0700
+++ SRC/zlacon2.c 2021-04-06 18:42:02.000000000 -0700
@@ -22,6 +22,7 @@
#include <math.h>
#include "slu_Cnames.h"
#include "slu_dcomplex.h"
+extern int zcopy_(int *, doublecomplex *, int *, doublecomplex *, int *);
/*! \brief
*
--- SRC/ilu_cdrop_row.c.orig 2016-05-22 08:58:44.000000000 -0700
+++ SRC/ilu_cdrop_row.c 2021-04-06 18:44:53.000000000 -0700
@@ -30,6 +30,7 @@
extern float scnrm2_(int *, complex *, int *);
extern double dnrm2_(int *, double [], int *);
extern int icamax_(int *, complex [], int *);
+extern int scopy_(int *, float [], int *, float [], int *);
static float *A; /* used in _compare_ only */
static int _compare_(const void *a, const void *b)
--- SRC/ilu_zdrop_row.c.orig 2016-05-22 08:58:44.000000000 -0700
+++ SRC/ilu_zdrop_row.c 2021-04-06 18:47:21.000000000 -0700
@@ -30,6 +30,7 @@
extern double dznrm2_(int *, doublecomplex *, int *);
extern double dnrm2_(int *, double [], int *);
extern int izamax_(int *, doublecomplex [], int *);
+extern void dcopy_(int *, double [], int *, double [], int *);
static double *A; /* used in _compare_ only */
static int _compare_(const void *a, const void *b)
-12
View File
@@ -1,12 +0,0 @@
--- CMakeLists.txt.orig 2016-05-22 08:58:44.000000000 -0700
+++ CMakeLists.txt 2021-04-07 05:14:45.000000000 -0700
@@ -39,8 +39,7 @@
endif()
enable_language(C)
-enable_language (Fortran)
-set(NOFORTRAN FALSE)
+set(NOFORTRAN TRUE)
set(SUPERLU_VERSION "${PROJECT_VERSION}")
set(SUPERLU_REV "${PROJECT_REV}")