From davidhughjones at gmail.com  Thu Mar 15 21:02:31 2018
From: davidhughjones at gmail.com (David Hugh-Jones)
Date: Thu, 15 Mar 2018 20:02:31 +0000
Subject: [Rd] speeding up R compilation
Message-ID: <CAARY7kjbr9OiP3WmZ5Z+fGY2Q=vQtnAe=+pwUd-ookZ6ExyQcw@mail.gmail.com>

Hello all,

First, a small advert for this:
https://hughjonesd.shinyapps.io/rcheology/
which lists functions in core R going back to 3.0.1.

Second, I'm trying to extend this back to 2.0.0. That involves building
many versions of R from source on a Docker image of Debian Sarge. (Shades
 of 2006, when the Linux desktop was around the corner, just as soon as I'd
finished compiling this *^&%* software...)

This is obviously quite slow. Do list members have any suggestions for how
to maximize compilation speed of (old) R sources?

Currently I'm doing:

 CFLAGS="-O0 -pipe" FFLAGS=-O0 ./configure --with-recommended-packages=no \
      --with-libpng=no --with-libjpeg=no \
      --with-tcl-config=/usr/lib/tcl8.4/tclConfig.sh \
      --with-tk-config=/usr/lib/tk8.4/tkConfig.sh --with-tcl-tk=yes
 make -j4

Cheers,
David

	[[alternative HTML version deleted]]



[Rd] speeding up R compilation
David Hugh-Jones