[rtems-source-builder commit] Support in-tree CLooG and ISL libraries for GCC
Sebastian Huber
sebh at rtems.org
Tue Nov 6 09:50:14 UTC 2018
Module: rtems-source-builder
Branch: master
Commit: 509dfbdd2e6849f9ea1523f38d5c7bd646158b60
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=509dfbdd2e6849f9ea1523f38d5c7bd646158b60
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Oct 31 08:00:56 2018 +0100
Support in-tree CLooG and ISL libraries for GCC
Update #3577.
---
source-builder/config/gcc-common-1.cfg | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/source-builder/config/gcc-common-1.cfg b/source-builder/config/gcc-common-1.cfg
index 69e71ee..4e13efc 100644
--- a/source-builder/config/gcc-common-1.cfg
+++ b/source-builder/config/gcc-common-1.cfg
@@ -47,6 +47,16 @@ URL: http://gcc.gnu.org/
%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.
#
%prep
@@ -74,6 +84,28 @@ URL: http://gcc.gnu.org/
%{__rmfile} ${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
source_dir_mpfr="mpfr-%{mpfr_version}"
%source setup mpfr -q -D -n mpfr-%{mpfr_version}
More information about the vc
mailing list