- Make requirement to lld version specific to avoid requiring the
meta-package. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=101
This commit is contained in:
parent
e44bc9b6a6
commit
7de63e5e01
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -256,14 +256,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -471,7 +471,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -895,7 +895,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -256,14 +256,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -471,7 +471,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -895,7 +895,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -256,14 +256,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -471,7 +471,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -895,7 +895,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -256,14 +256,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -471,7 +471,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -895,7 +895,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -256,14 +256,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -471,7 +471,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -895,7 +895,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -255,14 +255,14 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||
@ -470,7 +470,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
@ -894,7 +894,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -160,13 +160,13 @@ BuildRequires: llvm13
|
||||
%else
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
BuildRequires: lld
|
||||
BuildRequires: lld%{product_libs_llvm_ver}
|
||||
%if %{suse_version} < 1550
|
||||
Requires: llvm13
|
||||
%else
|
||||
Requires: llvm%{product_libs_llvm_ver}
|
||||
%endif
|
||||
Requires: lld
|
||||
Requires: lld%{product_libs_llvm_ver}
|
||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||
# technically also SLE12 SP5 but do not bother there
|
||||
@ -344,7 +344,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||
|
@ -1468,7 +1468,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
|
@ -654,7 +654,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 27 12:11:03 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Make requirement to lld version specific to avoid requiring the
|
||||
meta-package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 20 08:29:09 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
|
@ -2478,7 +2478,7 @@ export _POSIX2_VERSION=199209
|
||||
mkdir -p target-tools/bin
|
||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user