Changeset 509dfbd in rtems-source-builder


Ignore:
Timestamp:
Oct 31, 2018, 7:00:56 AM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
9955b1a
Parents:
96c414c
git-author:
Sebastian Huber <sebastian.huber@…> (10/31/18 07:00:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/05/18 06:56:17)
Message:

Support in-tree CLooG and ISL libraries for GCC

Update #3577.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/config/gcc-common-1.cfg

    r96c414c r509dfbd  
    4848
    4949#
     50# Packages GCC requires
     51#
     52%if %{defined cloog_version}
     53%source set cloog https://gcc.gnu.org/pub/gcc/infrastructure/cloog-%{cloog_version}.tar.gz
     54%endif
     55%if %{defined isl_version}
     56%source set isl https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.tar.bz2
     57%endif
     58
     59#
    5060# Prepare the source code.
    5161#
     
    7484  %{__rmfile} ${source_dir_gcc}/newlib
    7585  %{__ln_s} $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
     86
     87%if %{defined cloog_version}
     88  # CLooG
     89  source_dir_cloog="cloog-%{cloog_version}"
     90  %source setup cloog -q -D -n cloog-%{cloog_version}
     91  %patch setup cloog -p1
     92  cd ${build_top}
     93  # Build MPFR one-tree style
     94  %{__rmfile} ${source_dir_gcc}/cloog
     95  %{__ln_s} $PWD/${source_dir_cloog} ${source_dir_gcc}/cloog
     96%endif
     97
     98%if %{defined isl_version}
     99  # ISL
     100  source_dir_isl="isl-%{isl_version}"
     101  %source setup isl -q -D -n isl-%{isl_version}
     102  %patch setup isl -p1
     103  cd ${build_top}
     104  # Build MPFR one-tree style
     105  %{__rmfile} ${source_dir_gcc}/isl
     106  %{__ln_s} $PWD/${source_dir_isl} ${source_dir_gcc}/isl
     107%endif
    76108
    77109  # MPFR
Note: See TracChangeset for help on using the changeset viewer.