!414 [SPEC] disable isl

From: @huyubiao 
Reviewed-by: @huang-xiaoquan 
Signed-off-by: @huang-xiaoquan
This commit is contained in:
openeuler-ci-bot 2024-04-22 07:13:58 +00:00 committed by Gitee
commit 8c28074ec9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -46,7 +46,7 @@
%else
%global build_libitm 0
%endif
%global build_isl 1
%global build_isl 0
%global build_libstdcxx_docs 0
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64 %{mips}
%global attr_ifunc 1
@ -61,7 +61,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
Release: 52
Release: 53
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
URL: https://gcc.gnu.org
@ -1004,10 +1004,15 @@ CC="$CC" CFLAGS="$OPT_FLAGS" \
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
--enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu \
--enable-languages=c,c++,fortran${enablelobjc}${enablelada}${enablelgo}${enableld},lto --enable-plugin \
--enable-initfini-array --disable-libgcj --with-isl --without-cloog \
--enable-initfini-array --disable-libgcj --without-cloog \
--enable-gnu-indirect-function --build=%{gcc_target_platform} \
--with-stage1-ldflags="$OPT_LDFLAGS" \
--with-boot-ldflags="$OPT_LDFLAGS" --disable-bootstrap \
%if %{build_isl}
--with-isl \
%else
--without-isl \
%endif
%ifarch x86_64
--with-tune=generic \
--with-arch_32=x86-64 \
@ -2963,6 +2968,12 @@ end
%doc rpm.doc/changelogs/libcc1/ChangeLog*
%changelog
* Mon Apr 15 2024 huyubiao <huyubiao@huawei.com> - 10.3.1-53
- Type:SPEC
- ID:NA
- SUG:NA
- DESC:disable isl
* Mon Apr 8 2024 Chenhui Zheng <zhengchenhui1@huawei.com> - 10.3.1-52
- Type:Sync
- ID:NA