SHA256
1
0
forked from pool/gcc13

- Disable building glibc cross compilers on SLE based code streams,

the required cross-glibc packages are not available there.
- Disable building avr cross on non-openSUSE code streams since
  avr-libc isn't available there.
- Disable building newlib cross compilers on non-openSUSE code streams
  since newlib isn't available there.
- Fix typo preventing s390x compiler build.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=64
This commit is contained in:
Richard Biener 2023-08-28 08:05:13 +00:00 committed by Git OBS Bridge
parent b18fc9566e
commit 2967fb3cdd
36 changed files with 365 additions and 34 deletions

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -216,14 +216,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -746,7 +756,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -216,14 +216,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -746,7 +756,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -216,14 +216,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -746,7 +756,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -216,14 +216,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -746,7 +756,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -216,14 +216,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -746,7 +756,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -215,14 +215,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"
@ -745,7 +755,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -125,14 +125,24 @@ BuildRequires: libunwind-devel
%if 0%{!?gcc_icecream:1}
%if 0%{!?gcc_libc_bootstrap:1}
%if 0%{?gcc_target_newlib:1}
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: cross-%cross_arch-newlib-devel
%endif
%if "%{cross_arch}" == "avr"
%if !0%{?is_opensuse}
ExclusiveArch: do-not-build
%endif
BuildRequires: avr-libc
%endif
%if 0%{?gcc_target_glibc:1}
%if %{suse_version} >= 1600
BuildRequires: cross-%cross_arch-glibc-devel
Requires: cross-%cross_arch-glibc-devel
%else
ExclusiveArch: do-not-build
%endif
%endif
%endif
%if "%{cross_arch}" == "nvptx"

View File

@ -1756,7 +1756,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -947,7 +947,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Aug 28 07:59:17 UTC 2023 - Richard Biener <rguenther@suse.com>
- Disable building glibc cross compilers on SLE based code streams,
the required cross-glibc packages are not available there.
- Disable building avr cross on non-openSUSE code streams since
avr-libc isn't available there.
- Disable building newlib cross compilers on non-openSUSE code streams
since newlib isn't available there.
- Fix typo preventing s390x compiler build.
-------------------------------------------------------------------
Wed Aug 23 06:50:07 UTC 2023 - Richard Biener <rguenther@suse.com>

View File

@ -2764,7 +2764,7 @@ amdgcn-amdhsa,\
%endif
--with-long-double-128 \
--enable-decimal-float \
%if %{?cross_arch:1}
%if 0%{?cross_arch:1}
--disable-multilib \
%endif
%endif