You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/06/17 22:24:00 UTC
[incubator-mxnet] branch master updated: Fix gperftools/jemalloc
and lapack warning bug. (#11110)
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 16a06b6 Fix gperftools/jemalloc and lapack warning bug. (#11110)
16a06b6 is described below
commit 16a06b6c1dbfb92bd0ac68de6cfa32c53e544345
Author: Peng Liu <my...@gmail.com>
AuthorDate: Mon Jun 18 06:23:55 2018 +0800
Fix gperftools/jemalloc and lapack warning bug. (#11110)
* Fix gperftools/jemalloc and lapack warning bug.
* mend
---
Makefile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index ff4446a..67aaa7c 100644
--- a/Makefile
+++ b/Makefile
@@ -155,6 +155,7 @@ endif
# issue covered with this
# - for Ubuntu 14.04 or lower, lapack is not automatically installed with openblas
# - for Ubuntu, installing atlas will not automatically install the atlas provided lapack library
+# - for rhel7.2, try installing the package `lapack-static` via yum will dismiss this warning.
# silently switching lapack off instead of letting the build fail because of backward compatibility
ifeq ($(USE_LAPACK), 1)
ifeq ($(USE_BLAS),$(filter $(USE_BLAS),blas openblas atlas mkl))
@@ -222,7 +223,10 @@ ifeq ($(USE_GPERFTOOLS), 1)
ifeq (,$(FIND_LIBFILE))
FIND_LIBFILE=$(wildcard /usr/local/lib/lib$(FIND_LIBNAME).$(FIND_LIBFILEEXT))
ifeq (,$(FIND_LIBFILE))
- USE_GPERFTOOLS=0
+ FIND_LIBFILE=$(wildcard /usr/lib64/lib$(FIND_LIBNAME).$(FIND_LIBFILEEXT))
+ ifeq (,$(FIND_LIBFILE))
+ USE_GPERFTOOLS=0
+ endif
endif
endif
endif
@@ -245,7 +249,10 @@ ifneq ($(USE_GPERFTOOLS), 1)
ifeq (,$(FIND_LIBFILE))
FIND_LIBFILE=$(wildcard /usr/lib/x86_64-linux-gnu/lib$(FIND_LIBNAME).$(FIND_LIBFILEEXT))
ifeq (,$(FIND_LIBFILE))
- USE_JEMALLOC=0
+ FIND_LIBFILE=$(wildcard /usr/lib64/lib$(FIND_LIBNAME).$(FIND_LIBFILEEXT))
+ ifeq (,$(FIND_LIBFILE))
+ USE_JEMALLOC=0
+ endif
endif
endif
endif
--
To stop receiving notification emails like this one, please contact
zhasheng@apache.org.