szha commented on a change in pull request #9273: Enhancements to the build
mechanism
URL: https://github.com/apache/incubator-mxnet/pull/9273#discussion_r162524581
##########
File path: Makefile
##########
@@ -210,10 +214,18 @@ ifneq ($(USE_GPERFTOOLS), 1)
endif
endif
endif
+ JEMALLOC_CUSTOM=$(shell pkg-config --exists jemalloc; echo $$?)
+ ifeq ($(JEMALLOC_CUSTOM), 0)
+ CFLAGS += $(shell pkg-config --cflags jemalloc)
+ LDFLAGS += $(shell pkg-config --libs jemalloc)
Review comment:
I was suggesting that we use this in [build
config](https://github.com/apache/incubator-mxnet/blob/master/make/config.mk).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services