Update cofnig.{sub,guess} for ISL 0.18 on riscv64
The scripts are too old and do not detect riscv64 arch. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
e43b577f99
commit
8e1ee6399f
12
gcc.spec
12
gcc.spec
|
@ -119,7 +119,7 @@
|
||||||
Summary: Various compilers (C, C++, Objective-C, ...)
|
Summary: Various compilers (C, C++, Objective-C, ...)
|
||||||
Name: gcc
|
Name: gcc
|
||||||
Version: %{gcc_version}
|
Version: %{gcc_version}
|
||||||
Release: %{gcc_release}%{?dist}
|
Release: %{gcc_release}.0.riscv64%{?dist}
|
||||||
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
|
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
|
||||||
# GCC Runtime Exception.
|
# GCC Runtime Exception.
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
||||||
|
@ -924,6 +924,13 @@ ISL_FLAG_PIC=-fPIC
|
||||||
ISL_FLAG_PIC=-fpic
|
ISL_FLAG_PIC=-fpic
|
||||||
%endif
|
%endif
|
||||||
cd isl-build
|
cd isl-build
|
||||||
|
|
||||||
|
%ifarch riscv64
|
||||||
|
# Update config.{sub,guess} scripts for riscv64 (the original ones are too old)
|
||||||
|
curl -o ../../isl-%{isl_version}/config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
|
||||||
|
curl -o ../../isl-%{isl_version}/config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub'
|
||||||
|
%endif
|
||||||
|
|
||||||
sed -i 's|libisl|libgcc11privateisl|g' \
|
sed -i 's|libisl|libgcc11privateisl|g' \
|
||||||
../../isl-%{isl_version}/Makefile.{am,in}
|
../../isl-%{isl_version}/Makefile.{am,in}
|
||||||
../../isl-%{isl_version}/configure \
|
../../isl-%{isl_version}/configure \
|
||||||
|
@ -3150,6 +3157,9 @@ end
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 28 2022 David Abdurachmanov <davidlt@rivosinc.com> 11.3.1-2.0.riscv64
|
||||||
|
- Update config.{sub,guess} scripts for ISL 0.18 on riscv64
|
||||||
|
|
||||||
* Thu Apr 21 2022 Jakub Jelinek <jakub@redhat.com> 11.3.1-2
|
* Thu Apr 21 2022 Jakub Jelinek <jakub@redhat.com> 11.3.1-2
|
||||||
- update from releases/gcc-11-branch
|
- update from releases/gcc-11-branch
|
||||||
- PRs debug/105203, gcov-profile/105282, libstdc++/105324, target/105257
|
- PRs debug/105203, gcov-profile/105282, libstdc++/105324, target/105257
|
||||||
|
|
Loading…
Reference in New Issue