mirror of
https://github.com/amd/blis.git
synced 2026-04-19 23:28:52 +00:00
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:
8
Makefile
8
Makefile
@@ -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" \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user