!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}
|
||||
|
||||
%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,6 +3290,12 @@ fi
|
||||
|
||||
|
||||
%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
|
||||
- fix-pre-improve-fake-exit-edge-placement.patch: New file
|
||||
- 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