File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ endif
172
172
173
173
@echo Generating $(LIBSONAMEBASE)$(SUFFIX64).pc in "$(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)"
174
174
@echo 'libdir='$(OPENBLAS_LIBRARY_DIR) > "$(PKGFILE)"
175
- @echo 'libprefix='$(LIBPREFIX ) >> "$(PKGFILE)"
175
+ @echo 'libprefix='$(LIBNAMEPREFIX ) >> "$(PKGFILE)"
176
176
@echo 'libnamesuffix='$(LIBNAMESUFFIX) >> "$(PKGFILE)"
177
177
@echo 'libsuffix='$(SYMBOLSUFFIX) >> "$(PKGFILE)"
178
178
@echo 'includedir='$(OPENBLAS_INCLUDE_DIR) >> "$(PKGFILE)"
@@ -190,7 +190,7 @@ endif
190
190
ifneq ($(NO_SHARED),1)
191
191
#ifeq logical or
192
192
ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD NetBSD OpenBSD DragonFly))
193
- @echo "SET(OpenBLAS_LIBRARIES ${OPENBLAS_LIBRARY_DIR}/$(LIBPREFIX)$(LIBSONAMEBASE)$( LIBNAMESUFFIX).so)" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)"
193
+ @echo "SET(OpenBLAS_LIBRARIES ${OPENBLAS_LIBRARY_DIR}/$(LIBPREFIX)$(LIBNAMESUFFIX).so)" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)"
194
194
endif
195
195
ifeq ($(OSNAME), $(filter $(OSNAME),WINNT CYGWIN_NT))
196
196
@echo "SET(OpenBLAS_LIBRARIES ${OPENBLAS_BINARY_DIR}/$(LIBDLLNAME))" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)"
Original file line number Diff line number Diff line change 5
5
# This library's version
6
6
VERSION = 0.3.26.dev
7
7
8
+ # If you set this prefix, the library name will be lib$(LIBNAMESUFFIX)openblas.a
9
+ # and lib$(LIBNAMESUFFIX)openblas.so, with a matching soname in the shared library
10
+ #
11
+ # LIBNAMEPREFIX = scipy
12
+
8
13
# If you set the suffix, the library name will be libopenblas_$(LIBNAMESUFFIX).a
9
14
# and libopenblas_$(LIBNAMESUFFIX).so. Meanwhile, the soname in shared library
10
15
# is libopenblas_$(LIBNAMESUFFIX).so.0.
Original file line number Diff line number Diff line change @@ -1516,16 +1516,20 @@ ifndef LIBSONAMEBASE
1516
1516
LIBSONAMEBASE = openblas
1517
1517
endif
1518
1518
1519
+ ifndef LIBNAMEPREFIX
1520
+ LIBNAMEPREFIX =
1521
+ endif
1522
+
1519
1523
ifndef LIBNAMESUFFIX
1520
1524
LIBNAMEBASE = $(SYMBOLPREFIX)$(LIBSONAMEBASE)$(SYMBOLSUFFIX)
1521
1525
else
1522
1526
LIBNAMEBASE = $(SYMBOLPREFIX)$(LIBSONAMEBASE)$(SYMBOLSUFFIX)_$(LIBNAMESUFFIX)
1523
1527
endif
1524
1528
1525
1529
ifeq ($(OSNAME), CYGWIN_NT)
1526
- LIBPREFIX = cyg$(LIBNAMEBASE)
1530
+ LIBPREFIX = cyg$(LIBNAMEPREFIX)$( LIBNAMEBASE)
1527
1531
else
1528
- LIBPREFIX = lib$(LIBNAMEBASE)
1532
+ LIBPREFIX = lib$(LIBNAMEPREFIX)$( LIBNAMEBASE)
1529
1533
endif
1530
1534
1531
1535
KERNELDIR = $(TOPDIR)/kernel/$(ARCH)
@@ -1705,8 +1709,8 @@ endif
1705
1709
endif
1706
1710
1707
1711
ifeq ($(FIXED_LIBNAME),1)
1708
- LIBNAME = $(LIBPREFIX )$(LIBSONAMEBASE)$(LIBNAMESUFFIX).$(LIBSUFFIX)
1709
- LIBNAME_P = $(LIBPREFIX )$(LISOBNAMEBASE)$(LIBNAMESUFFIX)_p.$(LIBSUFFIX)
1712
+ LIBNAME = lib$(LIBNAMEPREFIX )$(LIBSONAMEBASE)$(LIBNAMESUFFIX).$(LIBSUFFIX)
1713
+ LIBNAME_P = lib$(LIBNAMEPREFIX )$(LISOBNAMEBASE)$(LIBNAMESUFFIX)_p.$(LIBSUFFIX)
1710
1714
endif
1711
1715
1712
1716
LIBDLLNAME = $(LIBPREFIX).dll
You can’t perform that action at this time.
0 commit comments