diff options
author | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-04 17:35:05 -0500 |
---|---|---|
committer | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-04 17:35:05 -0500 |
commit | 9dd0968b2148a6f9cfdb193d9ae9a224ab28ddb7 (patch) | |
tree | b3f76c2a4956386bd6b03af9480d38d5f625de49 /LAPACKE | |
parent | 40a3b2fb153ab14ba4d5b51d6dbe1ec12f1578e9 (diff) |
STYLE: Change source template files to .in extension
The cblas_mangling_with_flags.h and lapacke_mangling_with_flags.h
are template files that are not used directly. They need to be
configured (i.e. copied) to lapacke_mangling.h and cblas_mangling.h
header files that are used. These renamings make the intent of
these files more clearly reported.
The file LAPACKE/include/lapacke_mangling.h should not be stored in the
repository because it should be generated (copied from above) at build
time.
Diffstat (limited to 'LAPACKE')
-rw-r--r-- | LAPACKE/Makefile | 2 | ||||
-rw-r--r-- | LAPACKE/include/lapacke_mangling_with_flags.h | 17 | ||||
-rw-r--r-- | LAPACKE/include/lapacke_mangling_with_flags.h.in (renamed from LAPACKE/include/lapacke_mangling.h) | 0 |
3 files changed, 1 insertions, 18 deletions
diff --git a/LAPACKE/Makefile b/LAPACKE/Makefile index 31ddcd7a..2eedab23 100644 --- a/LAPACKE/Makefile +++ b/LAPACKE/Makefile @@ -45,7 +45,7 @@ include ../make.inc all: lapacke lapacke: - cd include && cp lapacke_mangling_with_flags.h lapacke_mangling.h + cd include && cp lapacke_mangling_with_flags.h.in lapacke_mangling.h cd src && $(MAKE) cd utils && $(MAKE) diff --git a/LAPACKE/include/lapacke_mangling_with_flags.h b/LAPACKE/include/lapacke_mangling_with_flags.h deleted file mode 100644 index 6211fd14..00000000 --- a/LAPACKE/include/lapacke_mangling_with_flags.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef LAPACK_HEADER_INCLUDED -#define LAPACK_HEADER_INCLUDED - -#ifndef LAPACK_GLOBAL -#if defined(LAPACK_GLOBAL_PATTERN_LC) || defined(ADD_) -#define LAPACK_GLOBAL(lcname,UCNAME) lcname##_ -#elif defined(LAPACK_GLOBAL_PATTERN_UC) || defined(UPPER) -#define LAPACK_GLOBAL(lcname,UCNAME) UCNAME -#elif defined(LAPACK_GLOBAL_PATTERN_MC) || defined(NOCHANGE) -#define LAPACK_GLOBAL(lcname,UCNAME) lcname -#else -#define LAPACK_GLOBAL(lcname,UCNAME) lcname##_ -#endif -#endif - -#endif - diff --git a/LAPACKE/include/lapacke_mangling.h b/LAPACKE/include/lapacke_mangling_with_flags.h.in index 6211fd14..6211fd14 100644 --- a/LAPACKE/include/lapacke_mangling.h +++ b/LAPACKE/include/lapacke_mangling_with_flags.h.in |