- Change to almalinux bugtracker
- Set --with-arch_64=x86-64-v2 on v2 arch
This commit is contained in:
parent
2e0298f29d
commit
89f4558be8
18
gcc.spec
18
gcc.spec
@ -143,7 +143,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}.1
|
Release: %{gcc_release}%{?dist}.1.alma.2
|
||||||
# License notes for some of the less obvious ones:
|
# License notes for some of the less obvious ones:
|
||||||
# gcc/doc/cppinternals.texi: Linux-man-pages-copyleft-2-para
|
# gcc/doc/cppinternals.texi: Linux-man-pages-copyleft-2-para
|
||||||
# isl: MIT, BSD-2-Clause
|
# isl: MIT, BSD-2-Clause
|
||||||
@ -1011,7 +1011,7 @@ CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
|
|||||||
--target nvptx-none --enable-as-accelerator-for=%{gcc_target_platform} \
|
--target nvptx-none --enable-as-accelerator-for=%{gcc_target_platform} \
|
||||||
--enable-languages=c,c++,fortran,lto \
|
--enable-languages=c,c++,fortran,lto \
|
||||||
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||||
--with-bugurl=http://bugzilla.redhat.com/bugzilla \
|
--with-bugurl=http://bugs.almalinux.org/ \
|
||||||
--enable-checking=release --with-system-zlib \
|
--enable-checking=release --with-system-zlib \
|
||||||
--with-gcc-major-version-only --without-isl
|
--with-gcc-major-version-only --without-isl
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -1047,7 +1047,7 @@ CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
|
|||||||
--target amdgcn-amdhsa --enable-as-accelerator-for=%{gcc_target_platform} \
|
--target amdgcn-amdhsa --enable-as-accelerator-for=%{gcc_target_platform} \
|
||||||
--enable-languages=c,c++,fortran,lto \
|
--enable-languages=c,c++,fortran,lto \
|
||||||
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||||
--with-bugurl=http://bugzilla.redhat.com/bugzilla \
|
--with-bugurl=http://bugs.almalinux.org/ \
|
||||||
--enable-checking=release --with-system-zlib \
|
--enable-checking=release --with-system-zlib \
|
||||||
--with-gcc-major-version-only --without-isl --disable-libquadmath
|
--with-gcc-major-version-only --without-isl --disable-libquadmath
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -1116,7 +1116,7 @@ offloadtgts=${offloadtgts:+${offloadtgts},}amdgcn-amdhsa
|
|||||||
%endif
|
%endif
|
||||||
CONFIGURE_OPTS="\
|
CONFIGURE_OPTS="\
|
||||||
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||||
--with-bugurl=http://bugzilla.redhat.com/bugzilla \
|
--with-bugurl=http://bugs.almalinux.org/ \
|
||||||
--enable-shared --enable-threads=posix --enable-checking=release \
|
--enable-shared --enable-threads=posix --enable-checking=release \
|
||||||
%ifarch ppc64le
|
%ifarch ppc64le
|
||||||
--enable-targets=powerpcle-linux \
|
--enable-targets=powerpcle-linux \
|
||||||
@ -1207,7 +1207,11 @@ CONFIGURE_OPTS="\
|
|||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%if 0%{?rhel} > 8
|
%if 0%{?rhel} > 8
|
||||||
%if 0%{?rhel} > 9
|
%if 0%{?rhel} > 9
|
||||||
|
%ifarch x86_64_v2
|
||||||
|
--with-arch_64=x86-64-v2 \
|
||||||
|
%else
|
||||||
--with-arch_64=x86-64-v3 \
|
--with-arch_64=x86-64-v3 \
|
||||||
|
%endif
|
||||||
%else
|
%else
|
||||||
--with-arch_64=x86-64-v2 \
|
--with-arch_64=x86-64-v2 \
|
||||||
%endif
|
%endif
|
||||||
@ -3626,6 +3630,12 @@ end
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 02 2024 Eduard Abdullin <eabdullin@almalinux.org> - 14.1.1-5.1.alma.2
|
||||||
|
- Change to almalinux bugtracker
|
||||||
|
|
||||||
|
* Mon Jul 15 2024 Eduard Abdullin <eabdullin@almalinux.org> - 14.1.1-5.1.alma.1
|
||||||
|
- Set --with-arch_64=x86-64-v2 on v2 arch
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 14.1.1-5.1
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 14.1.1-5.1
|
||||||
- Bump release for June 2024 mass rebuild
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user