Merge pull request #1890 from martin-frbg/issue1889
Include version number in openblas_get_config output
This commit is contained in:
commit
71e25ae42f
|
@ -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,6 +42,9 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#endif
|
||||
|
||||
static char* openblas_config_str=""
|
||||
"OpenBLAS "
|
||||
VERSION
|
||||
" "
|
||||
#ifdef USE64BITINT
|
||||
" USE64BITINT "
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue