You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/09/13 16:03:29 UTC

[GitHub] marcoabreu commented on a change in pull request #12552: [MXNET-950] Enable parallel R dep builds in CI

marcoabreu commented on a change in pull request #12552: [MXNET-950] Enable parallel R dep builds in CI
URL: https://github.com/apache/incubator-mxnet/pull/12552#discussion_r217442717
 
 

 ##########
 File path: ci/docker/runtime_functions.sh
 ##########
 @@ -739,6 +739,9 @@ unittest_ubuntu_gpu_cpp() {
 unittest_ubuntu_cpu_R() {
     set -ex
     mkdir -p /tmp/r-site-library
+    # build R packages in parallel
+    mkdir -p ~/.R/
+    echo  "MAKEFLAGS = -j72" > ~/.R/Makevars
 
 Review comment:
   Since this is during runtime, we can us nproc instead of hardcoding the number of jobs

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services