pkg-config file for blis MT library

Updated Makefile to update st/mt library in blis.pc

Change-Id: Idc61d7652ee6380cf2d73f08caaf9e9216fbb77a
This commit is contained in:
jagar
2024-08-22 15:57:38 +05:30
parent 64ca52b5b8
commit 8ff27d23bd
2 changed files with 9 additions and 1 deletions

View File

@@ -1122,6 +1122,13 @@ else
$(@)/$(CONFIG_DIR)/$(CONFIG_NAME)/
endif
# BLIS library in pkg-configure blis.pc.in file.
ifeq ($(THREADING_MODEL),off)
AOCLLIB := blis
else
AOCLLIB := blis-mt
endif
$(PC_SHARE_DIR_INST): $(PC_IN_FILE)
$(MKDIR) $(@)
ifeq ($(ENABLE_VERBOSE),no)
@@ -1129,6 +1136,7 @@ ifeq ($(ENABLE_VERBOSE),no)
endif
$(shell cat "$(PC_IN_FILE)" \
| sed -e "s#@PACKAGE_VERSION@#$(VERSION)#g" \
| sed -e "s#@AOCLLIB@#$(AOCLLIB)#g" \
| sed -e "s#@prefix@#$(prefix)#g" \
| sed -e "s#@exec_prefix@#$(exec_prefix)#g" \
| sed -e "s#@libdir@#$(libdir)#g" \

View File

@@ -6,6 +6,6 @@ includedir=@includedir@
Name: BLIS
Description: BLAS-like Library Instantiation Software Framework
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lblis
Libs: -L${libdir} -l@AOCLLIB@
Libs.private: @LDFLAGS@
Cflags: -I${includedir}/blis