File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,6 +169,9 @@ COMMON_PROF = -pg
169169# 64 bit integer interfaces in OpenBLAS.
170170# For details, https://github.com/xianyi/OpenBLAS/pull/459
171171#
172+ # The same prefix and suffix are also added to the library name,
173+ # i.e. you get lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX) rather than libopenblas
174+ #
172175# SYMBOLPREFIX=
173176# SYMBOLSUFFIX=
174177
Original file line number Diff line number Diff line change @@ -880,12 +880,6 @@ ifdef USE_SIMPLE_THREADED_LEVEL3
880880CCOMMON_OPT += -DUSE_SIMPLE_THREADED_LEVEL3
881881endif
882882
883- ifndef LIBNAMESUFFIX
884- LIBPREFIX = libopenblas
885- else
886- LIBPREFIX = libopenblas_$(LIBNAMESUFFIX)
887- endif
888-
889883ifndef SYMBOLPREFIX
890884SYMBOLPREFIX =
891885endif
@@ -894,6 +888,12 @@ ifndef SYMBOLSUFFIX
894888SYMBOLSUFFIX =
895889endif
896890
891+ ifndef LIBNAMESUFFIX
892+ LIBPREFIX = lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX)
893+ else
894+ LIBPREFIX = lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX)_$(LIBNAMESUFFIX)
895+ endif
896+
897897KERNELDIR = $(TOPDIR)/kernel/$(ARCH)
898898
899899include $(TOPDIR)/Makefile.$(ARCH)
You can’t perform that action at this time.
0 commit comments