Browse Source

Fix compilation and linking with the desired variant of xerbla on Windows/LLVM

pull/4980/head
Martin Kroeker GitHub 1 year ago
parent
commit
7a4c36ea59
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
9 changed files with 36 additions and 0 deletions
  1. +4
    -0
      ctest/c_c2chke.c
  2. +4
    -0
      ctest/c_c3chke.c
  3. +4
    -0
      ctest/c_d2chke.c
  4. +4
    -0
      ctest/c_d3chke.c
  5. +4
    -0
      ctest/c_s2chke.c
  6. +4
    -0
      ctest/c_s3chke.c
  7. +4
    -0
      ctest/c_xerbla.c
  8. +4
    -0
      ctest/c_z2chke.c
  9. +4
    -0
      ctest/c_z3chke.c

+ 4
- 0
ctest/c_c2chke.c View File

@@ -33,7 +33,11 @@ void F77_c2chke(char *rout) {
BETA[2] = {0.0,0.0},
RALPHA = 0.0;
extern int cblas_info, cblas_lerr, cblas_ok;
#ifdef OS_WINDOWS
int RowMajorStrg = TRUE;
#else
extern int RowMajorStrg;
#endif
extern char *cblas_rout;

if (link_xerbla) /* call these first to link */


+ 4
- 0
ctest/c_c3chke.c View File

@@ -33,7 +33,11 @@ void F77_c3chke(char * rout) {
BETA[2] = {0.0,0.0},
RALPHA = 0.0, RBETA = 0.0;
extern int cblas_info, cblas_lerr, cblas_ok;
#ifdef OS_WINDOWS
int RowMajorStrg = TRUE;
#else
extern int RowMajorStrg;
#endif
extern char *cblas_rout;

cblas_ok = TRUE ;


+ 4
- 0
ctest/c_d2chke.c View File

@@ -31,7 +31,11 @@ void F77_d2chke(char *rout) {
Y[2] = {0.0,0.0},
ALPHA=0.0, BETA=0.0;
extern int cblas_info, cblas_lerr, cblas_ok;
#ifdef OS_WINDOWS
int RowMajorStrg = TRUE;
#else
extern int RowMajorStrg;
#endif
extern char *cblas_rout;

if (link_xerbla) /* call these first to link */


+ 4
- 0
ctest/c_d3chke.c View File

@@ -31,7 +31,11 @@ void F77_d3chke(char *rout) {
C[2] = {0.0,0.0},
ALPHA=0.0, BETA=0.0;
extern int cblas_info, cblas_lerr, cblas_ok;
#ifdef OS_WINDOWS
int RowMajorStrg = TRUE;
#else
extern int RowMajorStrg;
#endif
extern char *cblas_rout;

if (link_xerbla) /* call these first to link */


+ 4
- 0
ctest/c_s2chke.c View File

@@ -31,7 +31,11 @@ void F77_s2chke(char *rout) {
Y[2] = {0.0,0.0},
ALPHA=0.0, BETA=0.0;
extern int cblas_info, cblas_lerr, cblas_ok;
#ifdef OS_WINDOWS
int RowMajorStrg = TRUE;
#else
extern int RowMajorStrg;
#endif
extern char *cblas_rout;

if (link_xerbla) /* call these first to link */


+ 4
- 0
ctest/c_s3chke.c View File

@@ -31,7 +31,11 @@ void F77_s3chke(char *rout) {
C[2] = {0.0,0.0},
ALPHA=0.0, BETA=0.0;
extern int cblas_info, cblas_lerr, cblas_ok;
#ifdef OS_WINDOWS
int RowMajorStrg = TRUE;
#else
extern int RowMajorStrg;
#endif
extern char *cblas_rout;

if (link_xerbla) /* call these first to link */


+ 4
- 0
ctest/c_xerbla.c View File

@@ -9,7 +9,11 @@ void cblas_xerbla(blasint info, char *rout, char *form, ...)
{
extern int cblas_lerr, cblas_info, cblas_ok;
extern int link_xerbla;
#ifdef OS_WINDOWS
extern __declspec(selectany) int RowMajorStrg;
#else
extern int RowMajorStrg;
#endif
extern char *cblas_rout;

/* Initially, c__3chke will call this routine with


+ 4
- 0
ctest/c_z2chke.c View File

@@ -33,7 +33,11 @@ void F77_z2chke(char *rout) {
BETA[2] = {0.0,0.0},
RALPHA = 0.0;
extern int cblas_info, cblas_lerr, cblas_ok;
#ifdef OS_WINDOWS
int RowMajorStrg = TRUE;
#else
extern int RowMajorStrg;
#endif
extern char *cblas_rout;

if (link_xerbla) /* call these first to link */


+ 4
- 0
ctest/c_z3chke.c View File

@@ -33,7 +33,11 @@ void F77_z3chke(char * rout) {
BETA[2] = {0.0,0.0},
RALPHA = 0.0, RBETA = 0.0;
extern int cblas_info, cblas_lerr, cblas_ok;
#ifdef OS_WINDOWS
int RowMajorStrg = TRUE;
#else
extern int RowMajorStrg;
#endif
extern char *cblas_rout;

cblas_ok = TRUE ;


Loading…
Cancel
Save