nehaljwani commented on a change in pull request #9273: Enhancements to the
build mechanism
URL: https://github.com/apache/incubator-mxnet/pull/9273#discussion_r160116868
##########
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:
Are you suggesting to make this a CLI option that one can pass to `make` ?
----------------------------------------------------------------
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