diff --git a/gcc.spec b/gcc.spec index 4df82030a649167f99f24d148bc60b138f796cbc..2b39e082367d826eb0d712301f5b2aecff6a2262 100644 --- a/gcc.spec +++ b/gcc.spec @@ -2,7 +2,7 @@ %define debug_package %{nil} %global gcc_version 7.3.0 -%global isl_version 0.14 +%global isl_version 0.21 %global cloog_version 0.18.4 %define compat_gcc_provides 7777777 @@ -26,7 +26,7 @@ %global build_libatomic 1 %global build_libitm 1 %global attr_ifunc 1 -%global build_cloog 1 +%global build_cloog 0 %global build_libstdcxx_docs 0 %global build_java_tar 0 %global build_libtsan 1 @@ -37,12 +37,12 @@ Summary: Various compilers (C, C++, Objective-C, Java, ...) Name: gcc Version: 7.3.0 -Release: %{DATE}.39 +Release: %{DATE}.40 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD Group: Development/Languages #Source0: hcc-aarch64-linux-release.tar.bz2 Source0: gcc-%{version}.tar.gz -Source1: isl-%{isl_version}.tar.xz +Source1: isl-%{isl_version}.tar.bz2 Source2: cloog-%{cloog_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gmp libmpc-devel mpfr gmp-devel glibc-headers gcc-c++ mpfr-devel @@ -671,6 +671,7 @@ make %{?_smp_mflags} make %{?_smp_mflags} install cd .. +%if %{build_cloog} mkdir cloog-build cloog-install cd cloog-build cat >> ../../cloog-%{cloog_version}/source/isl/constraints.c << \EOF @@ -695,6 +696,7 @@ cd ../cloog-install/lib ln -sf libcloog-isl.so.4 libcloog-isl.so ln -sf libcloog-isl.so.4 libcloog.so cd ../.. +%endif #test don't build %if 1 @@ -761,7 +763,7 @@ 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++,objc,obj-c++,fortran,lto --enable-plugin \ - --enable-initfini-array --disable-libgcj --without-isl --without-cloog \ + --enable-initfini-array --disable-libgcj --with-isl=`cd isl-install; pwd` --without-cloog \ --enable-gnu-indirect-function --build=%{gcc_target_platform} \ --with-stage1-ldflags="$OPT_LDFLAGS" \ --with-boot-ldflags="$OPT_LDFLAGS" \ @@ -3288,7 +3290,13 @@ fi %changelog -* Sat Jun 05 2021 dingguangya - 7.3.0-20210605.39 +* Mon 28 2021 jiangchuangang - 7.3.0-20210605.40 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:update isl version and add --with-isl + +* Sa Jun 05 2021 dingguangya - 7.3.0-20210605.39 - fix-pre-improve-fake-exit-edge-placement.patch: New file - gcc.spec: Add new patch diff --git a/isl-0.14.tar.xz b/isl-0.14.tar.xz deleted file mode 100644 index 823478eeabef35afb19b9ebea047dd34c09694cb..0000000000000000000000000000000000000000 Binary files a/isl-0.14.tar.xz and /dev/null differ diff --git a/isl-0.21.tar.bz2 b/isl-0.21.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..1b256e26d304a8a3f3b656886f5ecb4852d4a0f8 Binary files /dev/null and b/isl-0.21.tar.bz2 differ