SHA256
1
0
forked from pool/gcc13

Accepting request 1061520 from devel:gcc:next

- Add support for new front-ends Rust and Modula-2.
- Align _multibuild order with gcc12 package.
- Bump to ca8fb0096713a8477614ef874f16ba5bf16c48bc, git5428.

OBS-URL: https://build.opensuse.org/request/show/1061520
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=20
This commit is contained in:
Richard Biener 2023-01-27 11:24:56 +00:00 committed by Git OBS Bridge
parent 47544fef54
commit 055da9d2f1
38 changed files with 982 additions and 42 deletions

View File

@ -7,6 +7,8 @@
<flavor>cross-arm-gcc13</flavor>
<flavor>cross-avr-gcc13-bootstrap</flavor>
<flavor>cross-avr-gcc13</flavor>
<flavor>cross-pru-gcc13-bootstrap</flavor>
<flavor>cross-pru-gcc13</flavor>
<flavor>cross-x86_64-gcc13</flavor>
<flavor>cross-s390x-gcc13</flavor>
<flavor>cross-sparc-gcc13</flavor>
@ -21,8 +23,6 @@
<flavor>cross-arm-none-gcc13</flavor>
<flavor>cross-epiphany-gcc13-bootstrap</flavor>
<flavor>cross-epiphany-gcc13</flavor>
<flavor>cross-pru-gcc13-bootstrap</flavor>
<flavor>cross-pru-gcc13</flavor>
<flavor>cross-riscv64-elf-gcc13-bootstrap</flavor>
<flavor>cross-riscv64-elf-gcc13</flavor>
<flavor>cross-rx-gcc13-bootstrap</flavor>

View File

@ -103,6 +103,7 @@ add_glibc_cross cross-riscv64-gcc$base_ver riscv64 riscv64-suse-linux
add_cross cross-arm-gcc$base_ver arm arm-suse-linux-gnueabi %define gcc_icecream 1
add_cross cross-avr-gcc$base_ver-bootstrap avr avr "%define gcc_libc_bootstrap 1"
add_cross cross-avr-gcc$base_ver avr avr
add_newlib_cross cross-pru-gcc$base_ver pru pru
add_cross cross-x86_64-gcc$base_ver x86_64 x86_64-suse-linux %define gcc_icecream 1
add_cross cross-s390x-gcc$base_ver s390x s390x-suse-linux %define gcc_icecream 1
add_cross cross-sparc-gcc$base_ver sparcv9 sparc-suse-linux %define gcc_icecream 1
@ -115,7 +116,6 @@ add_cross cross-hppa-gcc$base_ver-bootstrap hppa hppa-suse-linux %define gcc_lib
add_cross cross-hppa-gcc$base_ver hppa hppa-suse-linux %define gcc_icecream 1
add_newlib_cross cross-arm-none-gcc$base_ver arm-none arm-none-eabi
add_newlib_cross cross-epiphany-gcc$base_ver epiphany epiphany-elf
add_newlib_cross cross-pru-gcc$base_ver pru pru
#add_newlib_cross cross-nds32le-gcc$base_ver nds32le nds32le-elf
add_newlib_cross cross-riscv64-elf-gcc$base_ver riscv64 riscv64-elf
#add_newlib_cross cross-rl78-gcc$base_ver rl78 rl78-elf

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -15,6 +15,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%define enable_plugins 0
%define build_jit 0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5975247c0829349d4b3f579de1e896a0ad9cf627eaca0faf24785876a96df6cc
size 86030880

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffe7a4d399d15dc57244891922ece468536a5e4dcd0edc18e38d6d7d595e198f
size 85837588

View File

@ -71,16 +71,26 @@
%define build_d 0
%endif
%define build_m2 1
%if %{build_objcp}
%define build_cp 1
%define build_objc 1
%endif
%ifarch %ix86 x86_64 aarch64
%define build_rust 1
%else
%define build_rust 0
%endif
# For optional compilers only build C, C++, Fortran, Ada and Go
%if 0%{?build_optional_compiler_languages:1}
%define build_objc 0
%define build_objcp 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%endif
%ifarch x86_64
@ -144,6 +154,7 @@
%define libgphobos_sover 4
%define libgdruntime_sover 4
%define libgccjit_sover 0
%define libm2_sover 18
# Shared library package suffix
# This is used for the "non-standard" set of libraries, the standard
@ -177,6 +188,7 @@
%define libgphobos_suffix %{plv libgphobos %{libgphobos_sover}}
%define libgdruntime_suffix %{plv libgdruntime %{libgdruntime_sover}}
%define libgccjit_suffix %{plv libgccjit %{libgccjit_sover}}
%define libm2_suffix %{plv libm2 %{libm2_sover}}
# libFOO-devel package suffix
@ -193,7 +205,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 1
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -387,7 +399,8 @@ Core package for the GNU Compiler Collection, including the C language
frontend.
Language frontends other than C are split to different sub-packages,
namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++ and gcc-go.
namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++, gcc-go,
gcc-rust and gcc-m2.
@ -1065,6 +1078,134 @@ Requires: libgccjit%{libgccjit_sover}%{libgccjit_suffix}
%description -n libgccjit%{libgccjit_sover}-devel%{libdevel_suffix}
Package contains header files and documentation for GCC JIT front-end.
# PACKAGE-BEGIN
%package rust@variant@
Summary: GNU Rust Compiler
License: GPL-3.0-or-later
Group: Development/Languages/Other
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
Requires: gcc@base_ver@-rust = %{version}-%{release}
%description rust@variant@
This package contains a Rust compiler.
# PACKAGE-END
# PACKAGE-BEGIN
%package m2@variant@
Summary: GNU Modula-2 Compiler
License: GPL-3.0-or-later
Group: Development/Languages/Other
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
Requires: gcc@base_ver@-m2 = %{version}-%{release}
Requires: libm2log%{libm2_sover}@variant@ >= %{version}-%{release}
Requires: libm2cor%{libm2_sover}@variant@ >= %{version}-%{release}
Requires: libm2iso%{libm2_sover}@variant@ >= %{version}-%{release}
Requires: libm2pim%{libm2_sover}@variant@ >= %{version}-%{release}
Requires: libm2min%{libm2_sover}@variant@ >= %{version}-%{release}
%description m2@variant@
This package contains a Modula-2 compiler.
# PACKAGE-END
# PACKAGE-BEGIN
%package -n libm2log%{libm2_sover}%{libm2_suffix}@variant@
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2log%{libm2_sover}@variant@ = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2log%{libm2_sover}@variant@
%description -n libm2log%{libm2_sover}%{libm2_suffix}@variant@
Runtime library for the GNU Modula-2 language.
%post -n libm2log%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
%postun -n libm2log%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
# PACKAGE-END
# PACKAGE-BEGIN
%package -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2cor%{libm2_sover}@variant@ = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2cor%{libm2_sover}@variant@
%description -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@
Runtime library for the GNU Modula-2 language.
%post -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
%postun -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
# PACKAGE-END
# PACKAGE-BEGIN
%package -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2iso%{libm2_sover}@variant@ = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2iso%{libm2_sover}@variant@
%description -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@
Runtime library for the GNU Modula-2 language.
%post -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
%postun -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
# PACKAGE-END
# PACKAGE-BEGIN
%package -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2pim%{libm2_sover}@variant@ = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2pim%{libm2_sover}@variant@
%description -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@
Runtime library for the GNU Modula-2 language.
%post -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
%postun -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
# PACKAGE-END
# PACKAGE-BEGIN
%package -n libm2min%{libm2_sover}%{libm2_suffix}@variant@
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2min%{libm2_sover}@variant@ = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2min%{libm2_sover}@variant@
%description -n libm2min%{libm2_sover}%{libm2_suffix}@variant@
Runtime library for the GNU Modula-2 language.
%post -n libm2min%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
%postun -n libm2min%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
# PACKAGE-END
%package -n gcc@base_ver@-testresults
# GCC-TESTSUITE-DELETE-END
Summary: Testsuite results
@ -1270,6 +1411,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
@ -1636,7 +1783,8 @@ for lib in libobjc libgfortran libquadmath libcaf_single \
libgomp libgomp-plugin-hsa libstdc++ libsupc++ libgo \
libasan libhwasan libatomic libitm libtsan liblsan libubsan libvtv \
libstdc++fs libgomp-plugin-nvptx libgomp-plugin-gcn \
libgdruntime libgphobos libstdc++exp; do
libgdruntime libgphobos libstdc++exp \
libm2cor libm2iso libm2log libm2min libm2pim; do
rm -f %{buildroot}/%{versmainlibdir}/$lib.la
%if %{biarch}
rm -f %{buildroot}/%{versmainlibdirbi}/$lib.la
@ -1726,6 +1874,13 @@ for libname in \
%if %{build_gcn}
libgomp-plugin-gcn \
%endif
%if %{build_m2}
libm2log \
libm2cor \
libm2iso \
libm2pim \
libm2min \
%endif
%ifarch %atomic_arch
libatomic \
%endif
@ -2842,6 +2997,98 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc@base_ver@-locale.lang
%{_infodir}/libgccjit.info.gz
%endif
%if %{build_rust}
%files rust
%defattr(-,root,root)
%{_prefix}/bin/gccrs%{binsuffix}
%{libsubdir}/rust1
%endif
%if %{build_m2}
%files m2
%defattr(-,root,root)
%{_prefix}/bin/gm2%{binsuffix}
%{libsubdir}/cc1gm2
%{versmainlibdir}/m2
%versmainlib libm2log.a
%versmainlib libm2log.so
%versmainlib libm2cor.a
%versmainlib libm2cor.so
%versmainlib libm2iso.a
%versmainlib libm2iso.so
%versmainlib libm2pim.a
%versmainlib libm2pim.so
%versmainlib libm2min.a
%versmainlib libm2min.so
%doc %{_mandir}/man1/gm2%{binsuffix}.1.gz
%if %{separate_biarch}
%files m2%{separate_biarch_suffix}
%defattr(-,root,root)
%{versmainlibdirbi}/m2
%versbiarchlib libm2log.a
%versbiarchlib libm2log.so
%versbiarchlib libm2cor.a
%versbiarchlib libm2cor.so
%versbiarchlib libm2iso.a
%versbiarchlib libm2iso.so
%versbiarchlib libm2pim.a
%versbiarchlib libm2pim.so
%versbiarchlib libm2min.a
%versbiarchlib libm2min.so
%endif
%files -n libm2log%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2log.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2log%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2log.so.%{libm2_sover}*
%endif
%files -n libm2cor%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2cor.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2cor%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2cor.so.%{libm2_sover}*
%endif
%files -n libm2iso%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2iso.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2iso%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2iso.so.%{libm2_sover}*
%endif
%files -n libm2pim%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2pim.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2pim%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2pim.so.%{libm2_sover}*
%endif
%files -n libm2min%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2min.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2min%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2min.so.%{libm2_sover}*
%endif
%endif
# GCC-TESTSUITE-DELETE-END
%if 0%{?run_tests:1}

View File

@ -91,16 +91,26 @@
%define build_d 0
%endif
%define build_m2 1
%if %{build_objcp}
%define build_cp 1
%define build_objc 1
%endif
%ifarch %ix86 x86_64 aarch64
%define build_rust 1
%else
%define build_rust 0
%endif
# For optional compilers only build C, C++, Fortran, Ada and Go
%if 0%{?build_optional_compiler_languages:1}
%define build_objc 0
%define build_objcp 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%endif
%ifarch x86_64
@ -164,6 +174,7 @@
%define libgphobos_sover 4
%define libgdruntime_sover 4
%define libgccjit_sover 0
%define libm2_sover 18
# Shared library package suffix
# This is used for the "non-standard" set of libraries, the standard
@ -197,6 +208,7 @@
%define libgphobos_suffix %{plv libgphobos %{libgphobos_sover}}
%define libgdruntime_suffix %{plv libgdruntime %{libgdruntime_sover}}
%define libgccjit_suffix %{plv libgccjit %{libgccjit_sover}}
%define libm2_suffix %{plv libm2 %{libm2_sover}}
# libFOO-devel package suffix
%define libdevel_suffix -gcc13
@ -210,7 +222,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -590,6 +602,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 27 10:35:15 UTC 2023 - Martin Liška <mliska@suse.cz>
- Add support for new front-ends Rust and Modula-2.
- Align _multibuild order with gcc12 package.
- Bump to ca8fb0096713a8477614ef874f16ba5bf16c48bc, git5428.
-------------------------------------------------------------------
Mon Jan 23 15:19:53 UTC 2023 - Richard Biener <rguenther@suse.com>

View File

@ -70,16 +70,26 @@
%define build_d 0
%endif
%define build_m2 1
%if %{build_objcp}
%define build_cp 1
%define build_objc 1
%endif
%ifarch %ix86 x86_64 aarch64
%define build_rust 1
%else
%define build_rust 0
%endif
# For optional compilers only build C, C++, Fortran, Ada and Go
%if 0%{?build_optional_compiler_languages:1}
%define build_objc 0
%define build_objcp 0
%define build_d 0
%define build_rust 0
%define build_m2 0
%endif
%ifarch x86_64
@ -143,6 +153,7 @@
%define libgphobos_sover 4
%define libgdruntime_sover 4
%define libgccjit_sover 0
%define libm2_sover 18
# Shared library package suffix
# This is used for the "non-standard" set of libraries, the standard
@ -176,6 +187,7 @@
%define libgphobos_suffix %{plv libgphobos %{libgphobos_sover}}
%define libgdruntime_suffix %{plv libgdruntime %{libgdruntime_sover}}
%define libgccjit_suffix %{plv libgccjit %{libgccjit_sover}}
%define libm2_suffix %{plv libm2 %{libm2_sover}}
# libFOO-devel package suffix
%define libdevel_suffix -gcc13
@ -189,7 +201,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 13.0.1+git5254
Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -380,7 +392,8 @@ Core package for the GNU Compiler Collection, including the C language
frontend.
Language frontends other than C are split to different sub-packages,
namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++ and gcc-go.
namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++, gcc-go,
gcc-rust and gcc-m2.
%package -n gcc13-32bit
Summary: The GNU C Compiler 32bit support
@ -1893,6 +1906,321 @@ Requires: libgccjit%{libgccjit_sover}%{libgccjit_suffix}
%description -n libgccjit%{libgccjit_sover}-devel%{libdevel_suffix}
Package contains header files and documentation for GCC JIT front-end.
%package rust
Summary: GNU Rust Compiler
License: GPL-3.0-or-later
Group: Development/Languages/Other
Requires: gcc13 = %{version}-%{release}
Requires: gcc13-rust = %{version}-%{release}
%description rust
This package contains a Rust compiler.
%package rust-32bit
Summary: GNU Rust Compiler
License: GPL-3.0-or-later
Group: Development/Languages/Other
Requires: gcc13-32bit = %{version}-%{release}
Requires: gcc13-rust = %{version}-%{release}
%description rust-32bit
This package contains a Rust compiler.
%package rust-64bit
Summary: GNU Rust Compiler
License: GPL-3.0-or-later
Group: Development/Languages/Other
Requires: gcc13-64bit = %{version}-%{release}
Requires: gcc13-rust = %{version}-%{release}
%description rust-64bit
This package contains a Rust compiler.
%package m2
Summary: GNU Modula-2 Compiler
License: GPL-3.0-or-later
Group: Development/Languages/Other
Requires: gcc13 = %{version}-%{release}
Requires: gcc13-m2 = %{version}-%{release}
Requires: libm2cor%{libm2_sover} >= %{version}-%{release}
Requires: libm2iso%{libm2_sover} >= %{version}-%{release}
Requires: libm2log%{libm2_sover} >= %{version}-%{release}
Requires: libm2min%{libm2_sover} >= %{version}-%{release}
Requires: libm2pim%{libm2_sover} >= %{version}-%{release}
%description m2
This package contains a Modula-2 compiler.
%package m2-32bit
Summary: GNU Modula-2 Compiler
License: GPL-3.0-or-later
Group: Development/Languages/Other
Requires: gcc13-32bit = %{version}-%{release}
Requires: gcc13-m2 = %{version}-%{release}
Requires: libm2cor%{libm2_sover}-32bit >= %{version}-%{release}
Requires: libm2iso%{libm2_sover}-32bit >= %{version}-%{release}
Requires: libm2log%{libm2_sover}-32bit >= %{version}-%{release}
Requires: libm2min%{libm2_sover}-32bit >= %{version}-%{release}
Requires: libm2pim%{libm2_sover}-32bit >= %{version}-%{release}
%description m2-32bit
This package contains a Modula-2 compiler.
%package m2-64bit
Summary: GNU Modula-2 Compiler
License: GPL-3.0-or-later
Group: Development/Languages/Other
Requires: gcc13-64bit = %{version}-%{release}
Requires: gcc13-m2 = %{version}-%{release}
Requires: libm2cor%{libm2_sover}-64bit >= %{version}-%{release}
Requires: libm2iso%{libm2_sover}-64bit >= %{version}-%{release}
Requires: libm2log%{libm2_sover}-64bit >= %{version}-%{release}
Requires: libm2min%{libm2_sover}-64bit >= %{version}-%{release}
Requires: libm2pim%{libm2_sover}-64bit >= %{version}-%{release}
%description m2-64bit
This package contains a Modula-2 compiler.
%package -n libm2log%{libm2_sover}%{libm2_suffix}
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2log%{libm2_sover} = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2log%{libm2_sover}
%description -n libm2log%{libm2_sover}%{libm2_suffix}
Runtime library for the GNU Modula-2 language.
%post -n libm2log%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%postun -n libm2log%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%package -n libm2log%{libm2_sover}%{libm2_suffix}-32bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2log%{libm2_sover}-32bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2log%{libm2_sover}-32bit
%description -n libm2log%{libm2_sover}%{libm2_suffix}-32bit
Runtime library for the GNU Modula-2 language.
%post -n libm2log%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%postun -n libm2log%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%package -n libm2log%{libm2_sover}%{libm2_suffix}-64bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2log%{libm2_sover}-64bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2log%{libm2_sover}-64bit
%description -n libm2log%{libm2_sover}%{libm2_suffix}-64bit
Runtime library for the GNU Modula-2 language.
%post -n libm2log%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%postun -n libm2log%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%package -n libm2cor%{libm2_sover}%{libm2_suffix}
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2cor%{libm2_sover} = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2cor%{libm2_sover}
%description -n libm2cor%{libm2_sover}%{libm2_suffix}
Runtime library for the GNU Modula-2 language.
%post -n libm2cor%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%postun -n libm2cor%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%package -n libm2cor%{libm2_sover}%{libm2_suffix}-32bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2cor%{libm2_sover}-32bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2cor%{libm2_sover}-32bit
%description -n libm2cor%{libm2_sover}%{libm2_suffix}-32bit
Runtime library for the GNU Modula-2 language.
%post -n libm2cor%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%postun -n libm2cor%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%package -n libm2cor%{libm2_sover}%{libm2_suffix}-64bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2cor%{libm2_sover}-64bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2cor%{libm2_sover}-64bit
%description -n libm2cor%{libm2_sover}%{libm2_suffix}-64bit
Runtime library for the GNU Modula-2 language.
%post -n libm2cor%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%postun -n libm2cor%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%package -n libm2iso%{libm2_sover}%{libm2_suffix}
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2iso%{libm2_sover} = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2iso%{libm2_sover}
%description -n libm2iso%{libm2_sover}%{libm2_suffix}
Runtime library for the GNU Modula-2 language.
%post -n libm2iso%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%postun -n libm2iso%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%package -n libm2iso%{libm2_sover}%{libm2_suffix}-32bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2iso%{libm2_sover}-32bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2iso%{libm2_sover}-32bit
%description -n libm2iso%{libm2_sover}%{libm2_suffix}-32bit
Runtime library for the GNU Modula-2 language.
%post -n libm2iso%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%postun -n libm2iso%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%package -n libm2iso%{libm2_sover}%{libm2_suffix}-64bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2iso%{libm2_sover}-64bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2iso%{libm2_sover}-64bit
%description -n libm2iso%{libm2_sover}%{libm2_suffix}-64bit
Runtime library for the GNU Modula-2 language.
%post -n libm2iso%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%postun -n libm2iso%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%package -n libm2pim%{libm2_sover}%{libm2_suffix}
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2pim%{libm2_sover} = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2pim%{libm2_sover}
%description -n libm2pim%{libm2_sover}%{libm2_suffix}
Runtime library for the GNU Modula-2 language.
%post -n libm2pim%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%postun -n libm2pim%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%package -n libm2pim%{libm2_sover}%{libm2_suffix}-32bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2pim%{libm2_sover}-32bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2pim%{libm2_sover}-32bit
%description -n libm2pim%{libm2_sover}%{libm2_suffix}-32bit
Runtime library for the GNU Modula-2 language.
%post -n libm2pim%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%postun -n libm2pim%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%package -n libm2pim%{libm2_sover}%{libm2_suffix}-64bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2pim%{libm2_sover}-64bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2pim%{libm2_sover}-64bit
%description -n libm2pim%{libm2_sover}%{libm2_suffix}-64bit
Runtime library for the GNU Modula-2 language.
%post -n libm2pim%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%postun -n libm2pim%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%package -n libm2min%{libm2_sover}%{libm2_suffix}
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2min%{libm2_sover} = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2min%{libm2_sover}
%description -n libm2min%{libm2_sover}%{libm2_suffix}
Runtime library for the GNU Modula-2 language.
%post -n libm2min%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%postun -n libm2min%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
%package -n libm2min%{libm2_sover}%{libm2_suffix}-32bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2min%{libm2_sover}-32bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2min%{libm2_sover}-32bit
%description -n libm2min%{libm2_sover}%{libm2_suffix}-32bit
Runtime library for the GNU Modula-2 language.
%post -n libm2min%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%postun -n libm2min%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
%package -n libm2min%{libm2_sover}%{libm2_suffix}-64bit
Summary: GNU Modula-2 compiler runtime library
License: BSL-1.0
Group: Development/Languages/Other
Provides: libm2min%{libm2_sover}-64bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
# to co-exist without an overly large list of provides/obsoletes
Conflicts: %selfconflict libm2min%{libm2_sover}-64bit
%description -n libm2min%{libm2_sover}%{libm2_suffix}-64bit
Runtime library for the GNU Modula-2 language.
%post -n libm2min%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%postun -n libm2min%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
%package -n gcc13-testresults
Summary: Testsuite results
License: SUSE-Public-Domain
@ -2091,6 +2419,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
%if %{build_rust}
languages=$languages,rust
%endif
%if %{build_m2}
languages=$languages,m2
%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
@ -2453,7 +2787,8 @@ for lib in libobjc libgfortran libquadmath libcaf_single \
libgomp libgomp-plugin-hsa libstdc++ libsupc++ libgo \
libasan libhwasan libatomic libitm libtsan liblsan libubsan libvtv \
libstdc++fs libgomp-plugin-nvptx libgomp-plugin-gcn \
libgdruntime libgphobos libstdc++exp; do
libgdruntime libgphobos libstdc++exp \
libm2cor libm2iso libm2log libm2min libm2pim; do
rm -f %{buildroot}/%{versmainlibdir}/$lib.la
%if %{biarch}
rm -f %{buildroot}/%{versmainlibdirbi}/$lib.la
@ -2543,6 +2878,13 @@ for libname in \
%if %{build_gcn}
libgomp-plugin-gcn \
%endif
%if %{build_m2}
libm2log \
libm2cor \
libm2iso \
libm2pim \
libm2min \
%endif
%ifarch %atomic_arch
libatomic \
%endif
@ -3643,6 +3985,98 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc13-locale.lang
%{_infodir}/libgccjit.info.gz
%endif
%if %{build_rust}
%files rust
%defattr(-,root,root)
%{_prefix}/bin/gccrs%{binsuffix}
%{libsubdir}/rust1
%endif
%if %{build_m2}
%files m2
%defattr(-,root,root)
%{_prefix}/bin/gm2%{binsuffix}
%{libsubdir}/cc1gm2
%{versmainlibdir}/m2
%versmainlib libm2log.a
%versmainlib libm2log.so
%versmainlib libm2cor.a
%versmainlib libm2cor.so
%versmainlib libm2iso.a
%versmainlib libm2iso.so
%versmainlib libm2pim.a
%versmainlib libm2pim.so
%versmainlib libm2min.a
%versmainlib libm2min.so
%doc %{_mandir}/man1/gm2%{binsuffix}.1.gz
%if %{separate_biarch}
%files m2%{separate_biarch_suffix}
%defattr(-,root,root)
%{versmainlibdirbi}/m2
%versbiarchlib libm2log.a
%versbiarchlib libm2log.so
%versbiarchlib libm2cor.a
%versbiarchlib libm2cor.so
%versbiarchlib libm2iso.a
%versbiarchlib libm2iso.so
%versbiarchlib libm2pim.a
%versbiarchlib libm2pim.so
%versbiarchlib libm2min.a
%versbiarchlib libm2min.so
%endif
%files -n libm2log%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2log.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2log%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2log.so.%{libm2_sover}*
%endif
%files -n libm2cor%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2cor.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2cor%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2cor.so.%{libm2_sover}*
%endif
%files -n libm2iso%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2iso.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2iso%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2iso.so.%{libm2_sover}*
%endif
%files -n libm2pim%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2pim.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2pim%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2pim.so.%{libm2_sover}*
%endif
%files -n libm2min%{libm2_sover}%{libm2_suffix}
%defattr(-,root,root)
%mainlib libm2min.so.%{libm2_sover}*
%if %{separate_biarch}
%files -n libm2min%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
%defattr(-,root,root)
%biarchlib libm2min.so.%{libm2_sover}*
%endif
%endif
%if 0%{?run_tests:1}
%files -n gcc13-testresults
%defattr(-,root,root)