Closed hgputnam closed 2 years ago
You can specify make VERSION=<version>
for all software tools. That's override what's in the config.mk file (which provides the default version). For example,
$ cd CBI/r
$ make VERSION=3.6.3
Everything is designed so that you would not have to edit any files, other than fixing typos or bugs. This works for me most of the time, but sometimes there is an upstream update that breaks the current Makefile
, e.g. moving the download URL or adding a new dependency.
Very nice, easy to forget editing something like that...
For the -gcc8 bit, are we loading scl-devtoolset8 before typing make VERSION=
?
The Makefile
should detect that
is set in the config.mk file, and configure make to automatically load that module before building R;
The goal is for all make
calls to be independent of what modules you have loaded outside. It's meant to call module purge
so everything starts out the same way (but it could be that I've missed it somewhere).
Got it, given a chance I will always overthink this type of stuff...
I was able to figure out how to make prior versions (than the current pull) of scl-devtoolset and scl-rh=python. Since the version specific lua files are present, all I did was change the version in config.mk.
First off, is that the correct way to do this?
I don't see such an easy way to get prior versions of r though, like we have on C4. I have no real need to do this, I just want to understand how it all works.