scripts/build/test_suite/gcc.sh
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:40:31 2011 +0200 (2011-08-22)
branch1.12
changeset 2637 97cc0c987a1a
parent 1965 e3d532dd8b5d
child 2830 c3ff88a0c788
permissions -rw-r--r--
configure: require libtoolize, create wrapper to it

libtoolize must be checked_for and there needs to be a wrapper
that points to GNU libtoolize since that may be installed
as glibtoolize.
This fixes a problem with building Cloog/PPL that was

Reported-by: "Pierrick Brossin" <pierrick@bs-network.net>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from c7c9e98d36d8a6a49fcd5f3836d5797bb965eba7)
     1 # This file adds the functions to build the GCC test suite
     2 # Copyright 2010 DoréDevelopment
     3 # Created by Martin Lund <mgl@doredevelopment.dk>
     4 # Licensed under the GPL v2. See COPYING in the root of this package
     5 
     6 do_test_suite_gcc_get() { :; }
     7 do_test_suite_gcc_extract() { :; }
     8 do_test_suite_gcc_build() { :; }
     9 
    10 # Overide functions depending on configuration
    11 if [ "${CT_TEST_SUITE_GCC}" = "y" ]; then
    12 
    13 do_test_suite_gcc_build() {
    14  
    15     CT_DoStep INFO "Installing GCC test suite"
    16 
    17     CT_DoExecLog ALL mkdir -p "${CT_TEST_SUITE_DIR}/gcc"
    18     CT_DoExecLog ALL cp -a "${CT_LIB_DIR}/contrib/gcc-test-suite/default.cfg"               \
    19                            "${CT_LIB_DIR}/contrib/gcc-test-suite/Makefile"                  \
    20                            "${CT_LIB_DIR}/contrib/gcc-test-suite/README"                    \
    21                            "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/testsuite"               \
    22                            "${CT_TEST_SUITE_DIR}/gcc"
    23 
    24     CT_DoExecLog ALL sed -i -r -e "s/@@DG_TARGET@@/${CT_TARGET}/g;"     \
    25                          "${CT_TEST_SUITE_DIR}/gcc/Makefile"
    26 
    27     CT_EndStep
    28 }
    29 
    30 fi # CT_TEST_SUITE_GCC