File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 54
54
use-public-rspm : true
55
55
56
56
- name : Install compiler version
57
+ # We check on this old compiler specifically to support CentOS 7,
58
+ # which uses this gcc version. RStudio products support CentOS 7 through
59
+ # June 2024.
60
+ # https://github.com/r-lib/cpp11/pull/78
61
+ # https://www.rstudio.com/about/platform-support/
62
+ # Ubuntu 20.04 technically dropped support for gcc 4.8, so we have to
63
+ # add old archives back in manually to install it
64
+ # https://github.com/r-lib/cpp11/pull/279
57
65
if : matrix.config.custom == 'gcc 4.8'
58
66
run : |
67
+ echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" | sudo tee -a /etc/apt/sources.list
68
+ echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" | sudo tee -a /etc/apt/sources.list
69
+ sudo apt update
59
70
sudo apt-get install -y g++-4.8
60
71
mkdir ~/.R/
61
72
echo $'CXX1X=g++-4.8\nCXX11=g++-4.8' >> ~/.R/Makevars
You can’t perform that action at this time.
0 commit comments