!84 update isl version and add --with-isl
From: @ship_harbour Reviewed-by: @haijianzhang Signed-off-by: @haijianzhang
This commit is contained in:
commit
709e735b45
18
gcc.spec
18
gcc.spec
@ -2,7 +2,7 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
%global gcc_version 7.3.0
|
%global gcc_version 7.3.0
|
||||||
%global isl_version 0.14
|
%global isl_version 0.21
|
||||||
%global cloog_version 0.18.4
|
%global cloog_version 0.18.4
|
||||||
|
|
||||||
%define compat_gcc_provides 7777777
|
%define compat_gcc_provides 7777777
|
||||||
@ -26,7 +26,7 @@
|
|||||||
%global build_libatomic 1
|
%global build_libatomic 1
|
||||||
%global build_libitm 1
|
%global build_libitm 1
|
||||||
%global attr_ifunc 1
|
%global attr_ifunc 1
|
||||||
%global build_cloog 1
|
%global build_cloog 0
|
||||||
%global build_libstdcxx_docs 0
|
%global build_libstdcxx_docs 0
|
||||||
%global build_java_tar 0
|
%global build_java_tar 0
|
||||||
%global build_libtsan 1
|
%global build_libtsan 1
|
||||||
@ -37,12 +37,12 @@
|
|||||||
Summary: Various compilers (C, C++, Objective-C, Java, ...)
|
Summary: Various compilers (C, C++, Objective-C, Java, ...)
|
||||||
Name: gcc
|
Name: gcc
|
||||||
Version: 7.3.0
|
Version: 7.3.0
|
||||||
Release: %{DATE}.39
|
Release: %{DATE}.40
|
||||||
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
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
#Source0: hcc-aarch64-linux-release.tar.bz2
|
#Source0: hcc-aarch64-linux-release.tar.bz2
|
||||||
Source0: gcc-%{version}.tar.gz
|
Source0: gcc-%{version}.tar.gz
|
||||||
Source1: isl-%{isl_version}.tar.xz
|
Source1: isl-%{isl_version}.tar.bz2
|
||||||
Source2: cloog-%{cloog_version}.tar.gz
|
Source2: cloog-%{cloog_version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: gmp libmpc-devel mpfr gmp-devel glibc-headers gcc-c++ mpfr-devel
|
BuildRequires: gmp libmpc-devel mpfr gmp-devel glibc-headers gcc-c++ mpfr-devel
|
||||||
@ -671,6 +671,7 @@ make %{?_smp_mflags}
|
|||||||
make %{?_smp_mflags} install
|
make %{?_smp_mflags} install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
%if %{build_cloog}
|
||||||
mkdir cloog-build cloog-install
|
mkdir cloog-build cloog-install
|
||||||
cd cloog-build
|
cd cloog-build
|
||||||
cat >> ../../cloog-%{cloog_version}/source/isl/constraints.c << \EOF
|
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-isl.so
|
||||||
ln -sf libcloog-isl.so.4 libcloog.so
|
ln -sf libcloog-isl.so.4 libcloog.so
|
||||||
cd ../..
|
cd ../..
|
||||||
|
%endif
|
||||||
|
|
||||||
#test don't build
|
#test don't build
|
||||||
%if 1
|
%if 1
|
||||||
@ -761,7 +763,7 @@ CC="$CC" CFLAGS="$OPT_FLAGS" \
|
|||||||
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
|
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
|
||||||
--enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu \
|
--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-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} \
|
--enable-gnu-indirect-function --build=%{gcc_target_platform} \
|
||||||
--with-stage1-ldflags="$OPT_LDFLAGS" \
|
--with-stage1-ldflags="$OPT_LDFLAGS" \
|
||||||
--with-boot-ldflags="$OPT_LDFLAGS" \
|
--with-boot-ldflags="$OPT_LDFLAGS" \
|
||||||
@ -3288,6 +3290,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 28 2021 jiangchuangang <jiangchuangang@huawei.com> - 7.3.0-20210605.40
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update isl version and add --with-isl
|
||||||
|
|
||||||
* Sat Jun 05 2021 dingguangya <dingguangya1@huawei.com> - 7.3.0-20210605.39
|
* Sat Jun 05 2021 dingguangya <dingguangya1@huawei.com> - 7.3.0-20210605.39
|
||||||
- fix-pre-improve-fake-exit-edge-placement.patch: New file
|
- fix-pre-improve-fake-exit-edge-placement.patch: New file
|
||||||
- gcc.spec: Add new patch
|
- gcc.spec: Add new patch
|
||||||
|
|||||||
BIN
isl-0.14.tar.xz
BIN
isl-0.14.tar.xz
Binary file not shown.
BIN
isl-0.21.tar.bz2
Normal file
BIN
isl-0.21.tar.bz2
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user