Browse Source
Merge pull request #1890 from martin-frbg/issue1889
Include version number in openblas_get_config output
tags/v0.3.4
Martin Kroeker
GitHub
7 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
8 additions and
1 deletions
-
Makefile.system
-
cmake/system.cmake
-
driver/others/openblas_get_config.c
|
|
|
@@ -1036,6 +1036,8 @@ ifdef USE_TLS |
|
|
|
CCOMMON_OPT += -DUSE_TLS |
|
|
|
endif |
|
|
|
|
|
|
|
CCOMMON_OPT += -DVERSION=\"$(VERSION)\" |
|
|
|
|
|
|
|
ifndef SYMBOLPREFIX |
|
|
|
SYMBOLPREFIX = |
|
|
|
endif |
|
|
|
|
|
|
|
@@ -310,6 +310,8 @@ if (MIXED_MEMORY_ALLOCATION) |
|
|
|
set(CCOMMON_OPT "${CCOMMON_OPT} -DMIXED_MEMORY_ALLOCATION") |
|
|
|
endif () |
|
|
|
|
|
|
|
set(CCOMMON_OPT "${CCOMMON_OPT} -DVERSION=\"\\\"${OpenBLAS_VERSION}\\\"\"") |
|
|
|
|
|
|
|
set(REVISION "-r${OpenBLAS_VERSION}") |
|
|
|
set(MAJOR_VERSION ${OpenBLAS_MAJOR_VERSION}) |
|
|
|
|
|
|
|
|
|
|
|
@@ -42,8 +42,11 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
#endif |
|
|
|
|
|
|
|
static char* openblas_config_str="" |
|
|
|
"OpenBLAS " |
|
|
|
VERSION |
|
|
|
" " |
|
|
|
#ifdef USE64BITINT |
|
|
|
"USE64BITINT " |
|
|
|
" USE64BITINT " |
|
|
|
#endif |
|
|
|
#ifdef NO_CBLAS |
|
|
|
"NO_CBLAS " |
|
|
|
|