!411 [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:16:52 +00:00 committed by Gitee
commit 259ef39248
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: 40
Release: 41
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
URL: https://gcc.gnu.org
@ -908,10 +908,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 \
@ -2872,6 +2877,12 @@ end
%doc rpm.doc/changelogs/libcc1/ChangeLog*
%changelog
* Mon Apr 15 2024 huyubiao <huyubiao@huawei.com> - 10.3.1-41
- Type:SPEC
- ID:NA
- SUG:NA
- DESC:disable isl
* Thu Mar 14 2024 chenyuanfeng <yuanfeng.chen@shingroup.cn> - 10.3.1-40
- Type: Spec
- ID:NA