Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[MXNET-950] Enable parallel R dep builds in CI #12552

Merged
merged 2 commits into from
Sep 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 = -j"$(nproc) > ~/.R/Makevars
# make -j not supported
make rpkg USE_BLAS=openblas R_LIBS=/tmp/r-site-library
R CMD INSTALL --library=/tmp/r-site-library R-package
Expand All @@ -748,6 +751,9 @@ unittest_ubuntu_cpu_R() {
unittest_ubuntu_gpu_R() {
set -ex
mkdir -p /tmp/r-site-library
# build R packages in parallel
mkdir -p ~/.R/
echo "MAKEFLAGS = -j"$(nproc) > ~/.R/Makevars
# make -j not supported
make rpkg USE_BLAS=openblas R_LIBS=/tmp/r-site-library
R CMD INSTALL --library=/tmp/r-site-library R-package
Expand Down