beew edited a comment on issue #18985:
URL:
https://github.com/apache/incubator-mxnet/issues/18985#issuecomment-683300248
@hetong007
Didn't work
```
make rpkg
Makefile:227: "USE_LAPACK disabled because libraries were not found"
Makefile:355: WARNING: Significant performance increases can be achieved by
installing and enabling gperftools or jemalloc development packages
mkdir -p R-package/inst/libs
cp src/io/image_recordio.h R-package/src
cp -rf lib/libmxnet.so R-package/inst/libs
if [ -e "lib/libdnnl.so.1" ]; then \
cp -rf lib/libdnnl.so.1 R-package/inst/libs; \
fi
if [ -e "lib/libtvm_runtime.so" ]; then \
cp -rf lib/libtvm_runtime.so R-package/inst/libs; \
fi
mkdir -p R-package/inst/include
cp -rl include/* R-package/inst/include
Rscript -e "if(!require(devtools)){install.packages('devtools', repo =
'https://cloud.r-project.org/')}"
Loading required package: devtools
Loading required package: usethis
Rscript -e "if(!require(roxygen2)||packageVersion('roxygen2') <
'6.1.1'){install.packages('roxygen2', repo = 'https://cloud.r-project.org/')}"
Loading required package: roxygen2
Rscript -e "library(devtools); library(methods);
options(repos=c(CRAN='https://cloud.r-project.org/'));
install_deps(pkg='R-package', dependencies = TRUE)"
Loading required package: usethis
Error: Can't find 'R-package'.
Execution halted
make: *** [Makefile:697: rpkg] Error 1
```
my makefile (in mxnet root) now looks like this
```
R CMD INSTALL R-package
Rscript -e "require(mxnet); mxnet:::mxnet.export('R-package'); warnings()"
touch R-package/NAMESPACE
Rscript -e "devtools::document('R-package');warnings()"
R CMD INSTALL R-package
```
Also the warnings look like it is trying to build mxnet from scratch, I have
already built successfully with
```
make -j4 USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=0 USE_CUDNN=0 USE_MKLDNN=1
USE_JEMALLOC=1
```
So why is it still saying "WARNING: Significant performance increases can be
achieved by installing and enabling gperftools or jemalloc development
packages"?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]