Enable gcc-toolset-13 binutils on CentOS Stream 9

This commit is contained in:
Miloš Prchlík 2024-01-11 16:11:12 +01:00
commit 4da7869567
2 changed files with 22 additions and 0 deletions

View file

@ -237,6 +237,22 @@ adjust+:
GCC_PACKAGE: gcc
# CentOS Stream 9 / gcc-toolset-13
- when: distro == centos-stream-9 and collection == gcc-toolset-13
require+:
- gcc-toolset-13-binutils
- gcc-toolset-13-binutils-devel
- gcc-toolset-13-binutils-gold
- gcc-toolset-13-gcc
- gcc-toolset-13-gcc-c++
- gcc-toolset-13-gcc-plugin-annobin
environment+:
PACKAGES: gcc-toolset-13-binutils
_REQUIRES: gcc-toolset-13-gcc gcc-toolset-13-gcc-c++ gcc-toolset-13-gcc-plugin-annobin glibc
WITH_SCL: scl enable gcc-toolset-13
BINUTILS_PACKAGE: gcc-toolset-13-binutils
GCC_PACKAGE: gcc-toolset-13-gcc
COLLECTION_PACKAGES: gcc-toolset-13-binutils gcc-toolset-13-binutils-devel gcc-toolset-13-binutils-gold
# CentOS Stream 9 / gcc-toolset-12
# CentOS Stream 9 / gcc-toolset-11

View file

@ -54,6 +54,12 @@ adjust+:
when: distro == centos-stream-9 and collection is not defined
test: "$WITH_SCL ./test-with-cross.sh"
- because: "On CentOS Stream 9, gcc-toolset-13 build has extra directory levels"
when: distro == centos-stream-9 and collection == gcc-toolset-13
test: "$WITH_SCL ./test-with-cross.sh"
environment+:
MAY_BUILD_OTHER_ARCHES: "no"
- because: "On Fedora 39 and newer, system binutils build extra binaries for cross compilation"
when: distro == fedora-rawhide
test: "$WITH_SCL ./test-with-cross.sh"