default to lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX), as discussed in #646: if you rename the symbols, it is best to rename the library
This commit is contained in:
parent
f27942a68a
commit
88bef3bffc
|
@ -169,6 +169,9 @@ COMMON_PROF = -pg
|
||||||
# 64 bit integer interfaces in OpenBLAS.
|
# 64 bit integer interfaces in OpenBLAS.
|
||||||
# For details, https://github.com/xianyi/OpenBLAS/pull/459
|
# For details, https://github.com/xianyi/OpenBLAS/pull/459
|
||||||
#
|
#
|
||||||
|
# The same prefix and suffix are also added to the library name,
|
||||||
|
# i.e. you get lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX) rather than libopenblas
|
||||||
|
#
|
||||||
# SYMBOLPREFIX=
|
# SYMBOLPREFIX=
|
||||||
# SYMBOLSUFFIX=
|
# SYMBOLSUFFIX=
|
||||||
|
|
||||||
|
|
|
@ -880,12 +880,6 @@ ifdef USE_SIMPLE_THREADED_LEVEL3
|
||||||
CCOMMON_OPT += -DUSE_SIMPLE_THREADED_LEVEL3
|
CCOMMON_OPT += -DUSE_SIMPLE_THREADED_LEVEL3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef LIBNAMESUFFIX
|
|
||||||
LIBPREFIX = libopenblas
|
|
||||||
else
|
|
||||||
LIBPREFIX = libopenblas_$(LIBNAMESUFFIX)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifndef SYMBOLPREFIX
|
ifndef SYMBOLPREFIX
|
||||||
SYMBOLPREFIX =
|
SYMBOLPREFIX =
|
||||||
endif
|
endif
|
||||||
|
@ -894,6 +888,12 @@ ifndef SYMBOLSUFFIX
|
||||||
SYMBOLSUFFIX =
|
SYMBOLSUFFIX =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef LIBNAMESUFFIX
|
||||||
|
LIBPREFIX = lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX)
|
||||||
|
else
|
||||||
|
LIBPREFIX = lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX)_$(LIBNAMESUFFIX)
|
||||||
|
endif
|
||||||
|
|
||||||
KERNELDIR = $(TOPDIR)/kernel/$(ARCH)
|
KERNELDIR = $(TOPDIR)/kernel/$(ARCH)
|
||||||
|
|
||||||
include $(TOPDIR)/Makefile.$(ARCH)
|
include $(TOPDIR)/Makefile.$(ARCH)
|
||||||
|
|
Loading…
Reference in New Issue