-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh-actions: upgrade gcc-qemu to gcc-14
- Loading branch information
Showing
11 changed files
with
184 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -354,57 +354,57 @@ jobs: | |
arch_gnu: aarch64 | ||
arch_deb: arm64 | ||
distro: ubuntu-22.04 | ||
- version: 13 | ||
- version: 14 | ||
cross: armel | ||
arch_gnu_abi: eabi | ||
arch_deb: armel | ||
arch_gnu: arm | ||
distro: ubuntu-24.04 | ||
- version: 13 | ||
- version: 14 | ||
cross: armv7 | ||
arch_gnu: arm | ||
arch_gnu_abi: eabihf | ||
arch_deb: armhf | ||
distro: ubuntu-24.04 | ||
- version: 13 | ||
- version: 14 | ||
cross: aarch64 | ||
arch_gnu: aarch64 | ||
arch_deb: arm64 | ||
distro: ubuntu-24.04 | ||
- extra: -32bit | ||
version: 13 | ||
version: 14 | ||
cross: armv8 | ||
arch_gnu: arm | ||
arch_gnu_abi: eabihf | ||
arch_deb: armhf | ||
distro: ubuntu-24.04 | ||
- version: 13 | ||
- version: 14 | ||
cross: riscv64 | ||
arch_gnu: riscv64 | ||
arch_deb: riscv64 | ||
distro: ubuntu-24.04 | ||
- extra: -O3 | ||
version: 13 | ||
version: 14 | ||
cross: riscv64 | ||
arch_gnu: riscv64 | ||
arch_deb: riscv64 | ||
distro: ubuntu-24.04 | ||
- version: 13 | ||
- version: 14 | ||
cross: s390x | ||
arch_gnu: s390x | ||
arch_deb: s390x | ||
distro: ubuntu-24.04 | ||
- version: 13 | ||
- version: 14 | ||
cross: power9 | ||
arch_gnu: powerpc64le | ||
arch_deb: ppc64el | ||
distro: ubuntu-24.04 | ||
# - version: 13 | ||
# cross: mips64el | ||
# arch_gnu: mips64el | ||
# arch_gnu_abi: abi64 | ||
# arch_deb: mips64el | ||
# distro: ubuntu-24.04 | ||
- version: 14 | ||
cross: mips64el | ||
arch_gnu: mips64el | ||
arch_gnu_abi: abi64 | ||
arch_deb: mips64el | ||
distro: ubuntu-24.04 | ||
runs-on: ${{ matrix.distro }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -416,6 +416,7 @@ jobs: | |
- name: Install APT Dependencies | ||
run: | | ||
sudo apt-get update -y | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa | ||
sudo apt-get -yq install ninja-build parallel \ | ||
gcc-${{ matrix.version }}-${{ matrix.arch_gnu }}-linux-gnu${{ matrix.arch_gnu_abi }} \ | ||
g++-${{ matrix.version }}-${{ matrix.arch_gnu }}-linux-gnu${{ matrix.arch_gnu_abi }} binfmt-support \ | ||
|
@@ -424,7 +425,7 @@ jobs: | |
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }}-${{ matrix.distro }}-${{ matrix.cross }} | ||
key: ${{ github.job }}-${{ matrix.version}}-${{ matrix.distro }}-${{ matrix.cross }} | ||
- name: add ccache to the build path | ||
run: | | ||
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" | ||
|
@@ -645,10 +646,10 @@ jobs: | |
distro: ubuntu-22.04 | ||
arch_flags: -march=native | ||
- version: "12" | ||
distro: ubuntu-20.04 | ||
distro: ubuntu-22.04 | ||
arch_flags: -march=native | ||
- version: "12" | ||
distro: ubuntu-20.04 | ||
distro: ubuntu-22.04 | ||
arch_flags: -ffast-math | ||
ccache: 'true' | ||
- version: "13" | ||
|
@@ -886,14 +887,15 @@ jobs: | |
linux-gcc-loongarch64: | ||
runs-on: ubuntu-24.04 | ||
container: amd64/ubuntu:24.10 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: CPU Information | ||
run: cat /proc/cpuinfo | ||
- name: Install APT Dependencies | ||
run: | | ||
apt-get update && apt-get install -y --no-install-recommends \ | ||
sudo apt-get update && \ | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa && \ | ||
sudo apt-get install -y --no-install-recommends \ | ||
ninja-build ninja-build meson qemu-user-static binfmt-support \ | ||
libc6-loong64-cross libstdc++-14-dev-loong64-cross \ | ||
gcc-14-loongarch64-linux-gnu g++-14-loongarch64-linux-gnu | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[binaries] | ||
c = ['ccache', 'aarch64-linux-gnu-gcc-14'] | ||
cpp = ['ccache', 'aarch64-linux-gnu-g++-14'] | ||
ar = 'aarch64-linux-gnu-ar' | ||
strip = 'aarch64-linux-gnu-strip' | ||
objcopy = 'aarch64-linux-gnu-objcopy' | ||
ld = 'aarch64-linux-gnu-ld' | ||
exe_wrapper = ['qemu-aarch64-static', '-L', '/usr/aarch64-linux-gnu'] | ||
|
||
[properties] | ||
c_args = ['-march=armv8.2-a+simd+crypto+crc+bf16', '-Wextra', '-Werror'] | ||
cpp_args = ['-march=armv8.2-a+simd+crypto+crc+bf16', '-Wextra', '-Werror'] | ||
|
||
[host_machine] | ||
system = 'linux' | ||
cpu_family = 'aarch64' | ||
cpu = 'arm64' | ||
endian = 'little' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[binaries] | ||
c = ['ccache', 'arm-linux-gnueabi-gcc-14'] | ||
cpp = ['ccache', 'arm-linux-gnueabi-g++-14'] | ||
ar = 'arm-linux-gnueabi-ar' | ||
strip = 'arm-linux-gnueabi-strip' | ||
objcopy = 'arm-linux-gnueabi-objcopy' | ||
ld = 'arm-linux-gnueabi-ld' | ||
exe_wrapper = ['qemu-arm-static', '-L', '/usr/arm-linux-gnueabi'] | ||
|
||
[properties] | ||
c_args = ['-Wextra', '-Werror'] | ||
cpp_args = ['-Wextra', '-Werror'] | ||
|
||
[host_machine] | ||
system = 'linux' | ||
cpu_family = 'arm' | ||
cpu = 'generic' | ||
endian = 'little' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[binaries] | ||
c = ['ccache', 'arm-linux-gnueabihf-gcc-14'] | ||
cpp = ['ccache', 'arm-linux-gnueabihf-g++-14'] | ||
ar = 'arm-linux-gnueabihf-ar' | ||
strip = 'arm-linux-gnueabihf-strip' | ||
objcopy = 'arm-linux-gnueabihf-objcopy' | ||
ld = 'arm-linux-gnueabihf-ld' | ||
exe_wrapper = ['qemu-arm-static', '-L', '/usr/arm-linux-gnueabihf'] | ||
|
||
[properties] | ||
c_args = ['-march=armv7-a+simd+neon-fp16', '-mfpu=auto', '-Wextra', '-Werror'] | ||
cpp_args = ['-march=armv7-a+simd+neon-fp16', '-mfpu=auto', '-Wextra', '-Werror'] | ||
|
||
[host_machine] | ||
system = 'linux' | ||
cpu_family = 'arm' | ||
cpu = 'armv7-a' | ||
endian = 'little' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[binaries] | ||
c = ['ccache', 'arm-linux-gnueabihf-gcc-14'] | ||
cpp = ['ccache', 'arm-linux-gnueabihf-g++-14'] | ||
ar = 'arm-linux-gnueabihf-ar' | ||
strip = 'arm-linux-gnueabihf-strip' | ||
objcopy = 'arm-linux-gnueabihf-objcopy' | ||
ld = 'arm-linux-gnueabihf-ld' | ||
exe_wrapper = ['qemu-arm-static', '-L', '/usr/arm-linux-gnueabihf'] | ||
|
||
[properties] | ||
c_args = ['-mcpu=cortex-a32', '-mfpu=crypto-neon-fp-armv8', '-Wextra', '-Werror'] | ||
cpp_args = ['-mcpu=cortex-a32', '-mfpu=crypto-neon-fp-armv8', '-Wextra', '-Werror'] | ||
|
||
[host_machine] | ||
system = 'linux' | ||
cpu_family = 'arm' | ||
cpu = 'armv8-a' | ||
endian = 'little' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[binaries] | ||
c = ['ccache', 'mips64el-linux-gnuabi64-gcc-14'] | ||
cpp = ['ccache', 'mips64el-linux-gnuabi64-g++-14'] | ||
ar = 'mips64el-linux-gnuabi64-ar' | ||
strip = 'mips64el-linux-gnuabi64-strip' | ||
objcopy = 'mips64el-linux-gnuabi64-objcopy' | ||
ld = 'mips64el-linux-gnuabi64-ld' | ||
exe_wrapper = ['qemu-mips64el-static', '-L', '/usr/mips64el-linux-gnuabi64'] | ||
|
||
[properties] | ||
c_args = ['-mmsa', '-Wextra', '-Werror'] | ||
cpp_args = ['-mmsa', '-Wextra', '-Werror'] | ||
|
||
[host_machine] | ||
system = 'linux' | ||
cpu_family = 'mips64el' | ||
cpu = 'mips64el' | ||
endian = 'little' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[binaries] | ||
c = ['ccache', 'powerpc64le-linux-gnu-gcc-14'] | ||
cpp = ['ccache', 'powerpc64le-linux-gnu-g++-14'] | ||
ar = 'powerpc64le-linux-gnu-ar' | ||
strip = 'powerpc64le-linux-gnu-strip' | ||
objcopy = 'powerpc64le-linux-gnu-objcopy' | ||
ld = 'powerpc64le-linux-gnu-ld' | ||
exe_wrapper = ['qemu-ppc64le-static', '-cpu', 'power9', '-L', '/usr/powerpc64le-linux-gnu/'] | ||
|
||
[properties] | ||
c_args = ['-mcpu=power9', '-Wextra', '-Werror'] | ||
cpp_args = ['-mcpu=power9', '-Wextra', '-Werror'] | ||
|
||
[host_machine] | ||
system = 'linux' | ||
cpu_family = 'ppc64' | ||
cpu = 'ppc64el' | ||
endian = 'little' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[binaries] | ||
c = ['ccache', 'riscv64-linux-gnu-gcc-14'] | ||
cpp = ['ccache', 'riscv64-linux-gnu-g++-14'] | ||
ar = 'riscv64-linux-gnu-ar' | ||
strip = 'riscv64-linux-gnu-strip' | ||
objcopy = 'riscv64-linux-gnu-objcopy' | ||
ld = 'riscv64-linux-gnu-ld' | ||
exe_wrapper = ['qemu-riscv64-static', '-L', '/usr/riscv64-linux-gnu/'] | ||
|
||
[properties] | ||
c_args = ['-Wextra', '-Werror', '-O3'] | ||
cpp_args = ['-Wextra', '-Werror', '-O3'] | ||
|
||
[host_machine] | ||
system = 'linux' | ||
cpu_family = 'riscv64' | ||
cpu = 'riscv64' | ||
endian = 'little' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[binaries] | ||
c = ['ccache', 'riscv64-linux-gnu-gcc-14'] | ||
cpp = ['ccache', 'riscv64-linux-gnu-g++-14'] | ||
ar = 'riscv64-linux-gnu-ar' | ||
strip = 'riscv64-linux-gnu-strip' | ||
objcopy = 'riscv64-linux-gnu-objcopy' | ||
ld = 'riscv64-linux-gnu-ld' | ||
exe_wrapper = ['qemu-riscv64-static', '-L', '/usr/riscv64-linux-gnu/'] | ||
|
||
[properties] | ||
c_args = ['-Wextra', '-Werror'] | ||
cpp_args = ['-Wextra', '-Werror'] | ||
|
||
[host_machine] | ||
system = 'linux' | ||
cpu_family = 'riscv64' | ||
cpu = 'riscv64' | ||
endian = 'little' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[binaries] | ||
c = ['ccache', 's390x-linux-gnu-gcc-14'] | ||
cpp = ['ccache', 's390x-linux-gnu-g++-14'] | ||
ar = 's390x-linux-gnu-ar' | ||
strip = 's390x-linux-gnu-strip' | ||
objcopy = 's390x-linux-gnu-objcopy' | ||
ld = 's390x-linux-gnu-ld' | ||
exe_wrapper = ['qemu-s390x-static', '-L', '/usr/s390x-linux-gnu/'] | ||
|
||
[properties] | ||
c_args = ['-march=z13', '-mzvector', '-Wextra', '-Werror'] | ||
cpp_args = ['-march=z13', '-mzvector', '-Wextra', '-Werror'] | ||
|
||
[host_machine] | ||
system = 'linux' | ||
cpu_family = 's390x' | ||
cpu = 's390x' | ||
endian = 'big' |