This repository was archived by the owner on Nov 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.
3131
3232apt-key add r.gpg
3333
34+ # We have to install some dependencies during runtime - if somebody knows a better solution,
35+ # please don't hesitate to replace this!
36+ # This script is supposed to only be run within Docker, so this should be "safe" to do.
37+ mkdir -p /usr/local/lib/R/site-library
38+ chmod 777 /usr/local/lib/R/site-library
39+
3440# Installing the latest version (3.3+) that is compatible with MXNet
3541add-apt-repository ' deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
3642
Original file line number Diff line number Diff line change @@ -883,6 +883,7 @@ unittest_ubuntu_cpu_R() {
883883 mkdir -p /tmp/r-site-library
884884 # build R packages in parallel
885885 mkdir -p ~ /.R/
886+ build_ccache_wrappers
886887 echo " MAKEFLAGS = -j" $( nproc) > ~ /.R/Makevars
887888 # make -j not supported
888889 make rpkg \
@@ -898,6 +899,7 @@ unittest_ubuntu_gpu_R() {
898899 mkdir -p /tmp/r-site-library
899900 # build R packages in parallel
900901 mkdir -p ~ /.R/
902+ build_ccache_wrappers
901903 echo " MAKEFLAGS = -j" $( nproc) > ~ /.R/Makevars
902904 # make -j not supported
903905 make rpkg \
You can’t perform that action at this time.
0 commit comments