mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
parent
96c414c8ff
commit
509dfbdd2e
@ -46,6 +46,16 @@ URL: http://gcc.gnu.org/
|
|||||||
%define rtems_gcc_version %{rtems_version}
|
%define rtems_gcc_version %{rtems_version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# Packages GCC requires
|
||||||
|
#
|
||||||
|
%if %{defined cloog_version}
|
||||||
|
%source set cloog https://gcc.gnu.org/pub/gcc/infrastructure/cloog-%{cloog_version}.tar.gz
|
||||||
|
%endif
|
||||||
|
%if %{defined isl_version}
|
||||||
|
%source set isl https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.tar.bz2
|
||||||
|
%endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Prepare the source code.
|
# Prepare the source code.
|
||||||
#
|
#
|
||||||
@ -74,6 +84,28 @@ URL: http://gcc.gnu.org/
|
|||||||
%{__rmfile} ${source_dir_gcc}/newlib
|
%{__rmfile} ${source_dir_gcc}/newlib
|
||||||
%{__ln_s} $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
|
%{__ln_s} $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
|
||||||
|
|
||||||
|
%if %{defined cloog_version}
|
||||||
|
# CLooG
|
||||||
|
source_dir_cloog="cloog-%{cloog_version}"
|
||||||
|
%source setup cloog -q -D -n cloog-%{cloog_version}
|
||||||
|
%patch setup cloog -p1
|
||||||
|
cd ${build_top}
|
||||||
|
# Build MPFR one-tree style
|
||||||
|
%{__rmfile} ${source_dir_gcc}/cloog
|
||||||
|
%{__ln_s} $PWD/${source_dir_cloog} ${source_dir_gcc}/cloog
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{defined isl_version}
|
||||||
|
# ISL
|
||||||
|
source_dir_isl="isl-%{isl_version}"
|
||||||
|
%source setup isl -q -D -n isl-%{isl_version}
|
||||||
|
%patch setup isl -p1
|
||||||
|
cd ${build_top}
|
||||||
|
# Build MPFR one-tree style
|
||||||
|
%{__rmfile} ${source_dir_gcc}/isl
|
||||||
|
%{__ln_s} $PWD/${source_dir_isl} ${source_dir_gcc}/isl
|
||||||
|
%endif
|
||||||
|
|
||||||
# MPFR
|
# MPFR
|
||||||
source_dir_mpfr="mpfr-%{mpfr_version}"
|
source_dir_mpfr="mpfr-%{mpfr_version}"
|
||||||
%source setup mpfr -q -D -n mpfr-%{mpfr_version}
|
%source setup mpfr -q -D -n mpfr-%{mpfr_version}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user