File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# This library's version
66VERSION = 0.3.33.dev
77
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- #
8+ # If you set this prefix, the library name will be lib$(LIBNAMEPREFIX )openblas.a
9+ # and lib$(LIBNAMEPREFIX )openblas.so, with a matching soname in the shared library
10+ #
1111# LIBNAMEPREFIX = scipy
1212
13- # If you set the suffix, the library name will be libopenblas_ $(LIBNAMESUFFIX).a
14- # and libopenblas_ $(LIBNAMESUFFIX).so. Meanwhile, the soname in shared library
15- # is libopenblas_ $(LIBNAMESUFFIX).so.0.
16- # LIBNAMESUFFIX = omp
13+ # If you set the suffix, the library name will be libopenblas $(LIBNAMESUFFIX).a
14+ # and libopenblas $(LIBNAMESUFFIX).so. Meanwhile, the soname in shared library
15+ # is libopenblas $(LIBNAMESUFFIX).so.0.
16+ # LIBNAMESUFFIX = _omp
1717
1818# You can specify the target architecture, otherwise it's
1919# automatically detected.
Original file line number Diff line number Diff line change @@ -648,8 +648,8 @@ endif()
648648
649649set (LIBPREFIX "lib${LIBNAMEPREFIX} openblas" )
650650
651- if (DEFINED LIBNAMESUFFIX)
652- set (LIBPREFIX "${LIBNAMEPREFIX} _ ${LIBNAMESUFFIX} " )
651+ if (DEFINED LIBNAMESUFFIX AND NOT " ${LIBNAMESUFFIX} " STREQUAL "" )
652+ set (LIBPREFIX "lib ${LIBNAMEPREFIX} openblas ${LIBNAMESUFFIX} " )
653653endif ()
654654
655655if (NOT DEFINED SYMBOLPREFIX)
Original file line number Diff line number Diff line change @@ -143,9 +143,8 @@ ensures that there are a sufficient number of buffer sets available.
143143 no symbolic linking to variant names (default is ` 0 ` )
144144- ` LIBNAMEPREFIX ` : prefix that, if given, will be inserted in the library name
145145 before ` openblas ` (e.g., ` xxx ` will result in ` libxxxopenblas.so ` )
146- - ` LIBNAMESUFFIX ` : suffix that, if given, will be inserted in the library name
147- after ` openblas ` , separated by an underscore (e.g., ` yyy ` will result in
148- ` libopenblas_yyy.so ` )
146+ - ` LIBNAMESUFFIX ` : suffix that, if given, will be appended to the library name
147+ after ` openblas ` (e.g., ` _yyy ` will result in ` libopenblas_yyy.so ` )
149148- ` SYMBOLPREFIX ` : prefix that, if given, will be added to all symbol names
150149 * and* to the library name
151150- ` SYMBOLSUFFIX ` : suffix that, if given, will be added to all symbol names
You can’t perform that action at this time.
0 commit comments