diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 85dc671e..3874f2ef 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -36,7 +36,6 @@ jobs: - {os: ubuntu-20.04, r: 'devel', http-user-agent: 'release'} - {os: ubuntu-20.04, r: 'release'} - {os: ubuntu-20.04, r: 'release', custom: 'no-cpp11test'} - - {os: ubuntu-20.04, r: 'release', custom: 'gcc 4.8'} - {os: ubuntu-20.04, r: 'oldrel-1'} - {os: ubuntu-20.04, r: 'oldrel-2'} - {os: ubuntu-20.04, r: 'oldrel-3'} @@ -57,24 +56,6 @@ jobs: http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true - - name : Install compiler version - # We check on this old compiler specifically to support CentOS 7, - # which uses this gcc version. RStudio products support CentOS 7 through - # June 2024. - # https://github.com/r-lib/cpp11/pull/78 - # https://www.rstudio.com/about/platform-support/ - # Ubuntu 20.04 technically dropped support for gcc 4.8, so we have to - # add old archives back in manually to install it - # https://github.com/r-lib/cpp11/pull/279 - if: matrix.config.custom == 'gcc 4.8' - run: | - echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" | sudo tee -a /etc/apt/sources.list - echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" | sudo tee -a /etc/apt/sources.list - sudo apt update - sudo apt-get install -y g++-4.8 - mkdir ~/.R/ - echo $'CXX1X=g++-4.8\nCXX11=g++-4.8\nCC=gcc-4.8 -std=c99\nCXX=g++-4.8 -std=gnu++11' >> ~/.R/Makevars - - name: Install macOS system dependencies if: runner.os == 'macOS' run: brew install --cask xquartz diff --git a/NEWS.md b/NEWS.md index 9e328fb4..7de96b3e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,10 @@ # cpp11 (development version) +* Dropped support for gcc 4.8, mainly an issue for extremely old CentOS 7 + systems which used that as their default compiler. As of June 2024, CentOS 7 + is past its Vendor end of support date and therefore also out of scope for + Posit at this time (#359). + # cpp11 0.4.7 * Internal changes requested by CRAN to fix invalid format string tokens