- Use %patch -P N instead of %patchN.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=95
This commit is contained in:
parent
c1701c614c
commit
ca3f033df1
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -344,30 +344,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -344,30 +344,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -344,30 +344,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -344,30 +344,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -344,30 +344,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -343,30 +343,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
36
gcc.spec.in
36
gcc.spec.in
@ -1337,30 +1337,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -527,30 +527,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 22 14:50:13 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of %patchN.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 8 08:17:53 UTC 2024 - Richard Biener <rguenther@suse.com>
|
Thu Feb 8 08:17:53 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
36
gcc13.spec
36
gcc13.spec
@ -2347,30 +2347,30 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
|
|
||||||
#test patching start
|
#test patching start
|
||||||
|
|
||||||
%patch2
|
%patch -P 2
|
||||||
%patch5
|
%patch -P 5
|
||||||
%patch6
|
%patch -P 6
|
||||||
%patch7
|
%patch -P 7
|
||||||
%patch11
|
%patch -P 11
|
||||||
%patch15
|
%patch -P 15
|
||||||
%patch16
|
%patch -P 16
|
||||||
%patch17 -p1
|
%patch -P 17 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch -P 18 -p1
|
||||||
%patch20 -p1
|
%patch -P 20 -p1
|
||||||
%endif
|
%endif
|
||||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
%patch19 -p1
|
%patch -P 19 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p1
|
%patch -P 21 -p1
|
||||||
%patch23 -p1
|
%patch -P 23 -p1
|
||||||
%patch24 -p1
|
%patch -P 24 -p1
|
||||||
%patch51
|
%patch -P 51
|
||||||
%patch60 -p1
|
%patch -P 60 -p1
|
||||||
%patch61 -p1
|
%patch -P 61 -p1
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
|
|
||||||
#test patching end
|
#test patching end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user