Skip to content

Commit 4ab3d1e

Browse files
authored
Release 3.1.0 : Update toolchain support for newer GCC versions and Raspberry Pi OS Bookworm (Fixes #86) [#119]
- Expand supported GCC versions up to `14.2.0` - Add support for Raspberry Pi OS Bookworm (Debian 12) - ⚠️ Remove support for Raspberry Pi OS Stretch (Debian 9) - Update GDB version from `10.2` to `15.1` - Update `CURL_VERSION` to `8.9.1` - Revise supported hardware to include Raspberry Pi 5 - Update dependency versions and build configurations - Improve error handling and cleanup processes in build scripts - Update CI build scripts and GitHub Actions workflows - Revise documentation (README.md and other docs) to reflect new changes - Refactor SF_deployer and SF_docs_deployer scripts - Rename 'Docs Root Deployer' job to 'Docs Experimental Deployer' in `docs.yml` workflow - Enhance `curl_stfp_patcher` script - Maintenance: Added GitHub sponsors
2 parents e637cf7 + 31f62d4 commit 4ab3d1e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+3050
-2212
lines changed

Diff for: .github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ko_fi: abhitronix
2+
github: abhiTronix
23
custom: https://paypal.me/AbhiTronix

Diff for: .github/workflows/builder_0_1.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ on:
4545

4646
env:
4747
RPI_TYPE: 0-1
48-
CURL_VERSION: 7.72.0
48+
CURL_VERSION: 8.9.1
4949
CCACHE_COMPRESS: 1
5050
CCACHE_DIR: $HOME/.ccache
5151
USER_SFTP: ${{ secrets.USER_SFTP }}
@@ -54,18 +54,18 @@ env:
5454
jobs:
5555
builder-base:
5656
name: Base GCC 32-bit Builder Pi[0-1]
57-
runs-on: ubuntu-18.04
57+
runs-on: ubuntu-20.04
5858
strategy:
5959
matrix:
60-
gcc_versions: [6.3.0, 8.3.0, 10.2.0]
61-
rpios_types: [stretch, buster, bullseye]
60+
gcc_versions: [8.3.0, 10.2.0, 12.2.0]
61+
rpios_types: [buster, bullseye, bookworm]
6262
env:
6363
RPIOS_TYPE: ${{ matrix.rpios_types }}
6464
GCC_VERSION: ${{ matrix.gcc_versions }}
6565
COMPILER_TYPE: CROSS
6666
BASE: true
6767
steps:
68-
- uses: actions/checkout@v2
68+
- uses: actions/checkout@v4
6969
- name: before_install
7070
run: |
7171
sudo apt-get update -qq
@@ -79,15 +79,15 @@ jobs:
7979
if: success()
8080
- name: install
8181
run: |
82-
sudo apt-get -y install -qq gcc g++ gperf git flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
82+
sudo apt-get -y install -qq gcc g++ gperf git flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
8383
sudo /usr/sbin/update-ccache-symlinks
8484
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
8585
source ~/.bashrc && echo $PATH
8686
if: success()
8787
- name: script
8888
run: bash build-scripts/CI/CIBB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
8989
shell: bash
90-
if: success() && (github.event_name == 'pull_request' || github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
90+
if: success() && (github.event_name == 'pull_request' || github.event_name == 'release' || github.event_name == 'push')
9191
- name: before_script
9292
run: bash patches/curl_stfp_patcher
9393
shell: bash
@@ -100,17 +100,17 @@ jobs:
100100
builder-cross:
101101
name: Cross GCC 32-bit Builder Pi[0-1]
102102
needs: builder-base
103-
runs-on: ubuntu-18.04
103+
runs-on: ubuntu-20.04
104104
strategy:
105105
matrix:
106-
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.2.0, 10.3.0]
107-
rpios_types: [stretch, buster, bullseye]
106+
gcc_versions: [8.3.0, 10.2.0, 12.2.0, 13.3.0, 14.2.0]
107+
rpios_types: [buster, bullseye, bookworm]
108108
env:
109109
GCC_VERSION: ${{ matrix.gcc_versions }}
110110
RPIOS_TYPE: ${{ matrix.rpios_types }}
111111
COMPILER_TYPE: CROSS
112112
steps:
113-
- uses: actions/checkout@v2
113+
- uses: actions/checkout@v4
114114
- name: before_install
115115
run: |
116116
sudo apt-get update -qq
@@ -121,18 +121,18 @@ jobs:
121121
chmod +x patches/curl_stfp_patcher
122122
dos2unix utils/SF_deployer
123123
chmod +x utils/SF_deployer
124-
if: success()
124+
if: success() && github.event_name == 'push'
125125
- name: install
126126
run: |
127-
sudo apt-get -y install -qq gcc g++ gperf flex texinfo git pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
127+
sudo apt-get -y install -qq gcc g++ gperf flex texinfo git pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
128128
sudo /usr/sbin/update-ccache-symlinks
129129
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
130130
source ~/.bashrc && echo $PATH
131-
if: success()
131+
if: success() && github.event_name == 'push'
132132
- name: script
133133
run: bash build-scripts/CI/CICTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
134134
shell: bash
135-
if: success()
135+
if: success() && github.event_name == 'push'
136136
- name: before_script
137137
run: bash patches/curl_stfp_patcher
138138
shell: bash
@@ -145,17 +145,17 @@ jobs:
145145
builder-native:
146146
name: Native GCC 32-bit Builder Pi[0-1]
147147
needs: [builder-base, builder-cross]
148-
runs-on: ubuntu-18.04
148+
runs-on: ubuntu-20.04
149149
strategy:
150150
matrix:
151-
gcc_versions: [9.4.0, 10.2.0, 10.3.0]
152-
rpios_types: [stretch, buster, bullseye]
151+
gcc_versions: [13.3.0, 14.2.0]
152+
rpios_types: [buster, bullseye, bookworm]
153153
env:
154154
GCC_VERSION: ${{ matrix.gcc_versions }}
155155
RPIOS_TYPE: ${{ matrix.rpios_types }}
156156
COMPILER_TYPE: NATIVE
157157
steps:
158-
- uses: actions/checkout@v2
158+
- uses: actions/checkout@v4
159159
- name: before_install
160160
run: |
161161
sudo apt-get update -qq
@@ -166,18 +166,18 @@ jobs:
166166
chmod +x patches/curl_stfp_patcher
167167
dos2unix utils/SF_deployer
168168
chmod +x utils/SF_deployer
169-
if: success()
169+
if: success() && github.event_name == 'push'
170170
- name: install
171171
run: |
172-
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
172+
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
173173
sudo /usr/sbin/update-ccache-symlinks
174174
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
175175
source ~/.bashrc && echo $PATH
176-
if: success()
176+
if: success() && github.event_name == 'push'
177177
- name: script
178178
run: bash build-scripts/CI/CINTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
179179
shell: bash
180-
if: success()
180+
if: success() && github.event_name == 'push'
181181
- name: before_script
182182
run: bash patches/curl_stfp_patcher
183183
shell: bash

Diff for: .github/workflows/builder_2_3.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ on:
4545

4646
env:
4747
RPI_TYPE: 2-3
48-
CURL_VERSION: 7.72.0
48+
CURL_VERSION: 8.9.1
4949
CCACHE_COMPRESS: 1
5050
CCACHE_DIR: $HOME/.ccache
5151
USER_SFTP: ${{ secrets.USER_SFTP }}
@@ -54,18 +54,18 @@ env:
5454
jobs:
5555
builder-base:
5656
name: Base GCC 32-bit Builder Pi[2-3]
57-
runs-on: ubuntu-18.04
57+
runs-on: ubuntu-20.04
5858
strategy:
5959
matrix:
60-
rpios_types: [stretch, buster, bullseye]
61-
gcc_versions: [6.3.0, 8.3.0, 10.2.0]
60+
rpios_types: [buster, bullseye, bookworm]
61+
gcc_versions: [8.3.0, 10.2.0, 12.2.0]
6262
env:
6363
RPIOS_TYPE: ${{ matrix.rpios_types }}
6464
GCC_VERSION: ${{ matrix.gcc_versions }}
6565
COMPILER_TYPE: CROSS
6666
BASE: true
6767
steps:
68-
- uses: actions/checkout@v2
68+
- uses: actions/checkout@v4
6969
- name: before_install
7070
run: |
7171
sudo apt-get update -qq
@@ -79,15 +79,15 @@ jobs:
7979
if: success()
8080
- name: install
8181
run: |
82-
sudo apt-get -y install -qq gcc g++ gperf git flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
82+
sudo apt-get -y install -qq gcc g++ gperf git flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
8383
sudo /usr/sbin/update-ccache-symlinks
8484
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
8585
source ~/.bashrc && echo $PATH
8686
if: success()
8787
- name: script
8888
run: bash build-scripts/CI/CIBB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
8989
shell: bash
90-
if: success() && (github.event_name == 'pull_request' || github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
90+
if: success() && (github.event_name == 'pull_request' || github.event_name == 'release' || github.event_name == 'push')
9191
- name: before_script
9292
run: bash patches/curl_stfp_patcher
9393
shell: bash
@@ -100,17 +100,17 @@ jobs:
100100
builder-cross:
101101
name: Cross GCC 32-bit Builder Pi[2-3]
102102
needs: builder-base
103-
runs-on: ubuntu-18.04
103+
runs-on: ubuntu-20.04
104104
strategy:
105105
matrix:
106-
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.2.0, 10.3.0]
107-
rpios_types: [stretch, buster, bullseye]
106+
gcc_versions: [8.3.0, 10.2.0, 12.2.0, 13.3.0, 14.2.0]
107+
rpios_types: [buster, bullseye, bookworm]
108108
env:
109109
GCC_VERSION: ${{ matrix.gcc_versions }}
110110
RPIOS_TYPE: ${{ matrix.rpios_types }}
111111
COMPILER_TYPE: CROSS
112112
steps:
113-
- uses: actions/checkout@v2
113+
- uses: actions/checkout@v4
114114
- name: before_install
115115
run: |
116116
sudo apt-get update -qq
@@ -121,18 +121,18 @@ jobs:
121121
chmod +x patches/curl_stfp_patcher
122122
dos2unix utils/SF_deployer
123123
chmod +x utils/SF_deployer
124-
if: success()
124+
if: success() && github.event_name == 'push'
125125
- name: install
126126
run: |
127-
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
127+
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
128128
sudo /usr/sbin/update-ccache-symlinks
129129
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
130130
source ~/.bashrc && echo $PATH
131-
if: success()
131+
if: success() && github.event_name == 'push'
132132
- name: script
133133
run: bash build-scripts/CI/CICTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
134134
shell: bash
135-
if: success()
135+
if: success() && github.event_name == 'push'
136136
- name: before_script
137137
run: bash patches/curl_stfp_patcher
138138
shell: bash
@@ -145,17 +145,17 @@ jobs:
145145
builder-native:
146146
name: Native GCC 32-bit Builder Pi[2-3]
147147
needs: [builder-base, builder-cross]
148-
runs-on: ubuntu-18.04
148+
runs-on: ubuntu-20.04
149149
strategy:
150150
matrix:
151-
gcc_versions: [9.4.0, 10.2.0, 10.3.0]
152-
rpios_types: [stretch, buster, bullseye]
151+
gcc_versions: [13.3.0, 14.2.0]
152+
rpios_types: [buster, bullseye, bookworm]
153153
env:
154154
GCC_VERSION: ${{ matrix.gcc_versions }}
155155
RPIOS_TYPE: ${{ matrix.rpios_types }}
156156
COMPILER_TYPE: NATIVE
157157
steps:
158-
- uses: actions/checkout@v2
158+
- uses: actions/checkout@v4
159159
- name: before_install
160160
run: |
161161
sudo apt-get update -qq
@@ -166,18 +166,18 @@ jobs:
166166
chmod +x patches/curl_stfp_patcher
167167
dos2unix utils/SF_deployer
168168
chmod +x utils/SF_deployer
169-
if: success()
169+
if: success() && github.event_name == 'push'
170170
- name: install
171171
run: |
172-
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
172+
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
173173
sudo /usr/sbin/update-ccache-symlinks
174174
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
175175
source ~/.bashrc && echo $PATH
176-
if: success()
176+
if: success() && github.event_name == 'push'
177177
- name: script
178178
run: bash build-scripts/CI/CINTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
179179
shell: bash
180-
if: success()
180+
if: success() && github.event_name == 'push'
181181
- name: before_script
182182
run: bash patches/curl_stfp_patcher
183183
shell: bash

0 commit comments

Comments
 (0)