yet work. Package expanded symlinks so concurrent installs do
not pull in another llvm-mc. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc11?expand=0&rev=341
This commit is contained in:
parent
accc918d92
commit
13182ade54
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -235,12 +235,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -765,13 +765,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -235,12 +235,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -765,13 +765,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -235,12 +235,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -765,13 +765,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -235,12 +235,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -765,13 +765,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -234,12 +234,12 @@ ExclusiveArch:
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -764,13 +764,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -145,12 +145,12 @@ ExclusiveArch: x86_64
|
|||||||
%define nvptx_newlib 1
|
%define nvptx_newlib 1
|
||||||
%endif
|
%endif
|
||||||
%if "%{cross_arch}" == "amdgcn"
|
%if "%{cross_arch}" == "amdgcn"
|
||||||
# amdgcn uses the llvm assembler and linker, llvm12 doesn't
|
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
|
||||||
# work at the moment
|
# work at the moment so require llvm11
|
||||||
BuildRequires: llvm11
|
BuildRequires: llvm11
|
||||||
BuildRequires: lld11
|
BuildRequires: lld
|
||||||
Requires: llvm11
|
Requires: llvm11
|
||||||
Requires: lld11
|
Requires: lld
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -307,13 +307,14 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}/install-tools
|
|||||||
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
||||||
%endif
|
%endif
|
||||||
# for amdgcn install the symlinks to the llvm tools
|
# for amdgcn install the symlinks to the llvm tools
|
||||||
|
# follow alternatives symlinks to the hardcoded version requirement
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s `readlink -f /usr/bin/llvm-ar` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s `readlink -f /usr/bin/llvm-mc` $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 $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s `readlink -f /usr/bin/llvm-nm` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s `readlink -f /usr/bin/llvm-ranlib` $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/as $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-as
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ld $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ld
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
@ -6,7 +6,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
|||||||
- Enable gfortran for offload compilers.
|
- Enable gfortran for offload compilers.
|
||||||
- BuildRequire procps from gcc11-testresults if we test go.
|
- BuildRequire procps from gcc11-testresults if we test go.
|
||||||
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
- Force using llvm11 for amdgcn offloading since llvm12 doesn't
|
||||||
yet work.
|
yet work. Package expanded symlinks so concurrent installs do
|
||||||
|
not pull in another llvm-mc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user