From 78847c6668ef594e2f122ae63c27cc8199a721ba Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 26 May 2014 11:15:59 +0400 Subject: [PATCH] Add gcc product to force using latest gcc (v4.4) on CentOS 5.5. --- config_CentOS_5.5_64bit.xml | 98 ++++++++++++++++++++++++++++++++++++- config_files/common.sh | 2 +- config_files/gcc.sh | 83 +++++++++++++++++++++++++++++++ 3 files changed, 180 insertions(+), 3 deletions(-) create mode 100755 config_files/gcc.sh diff --git a/config_CentOS_5.5_64bit.xml b/config_CentOS_5.5_64bit.xml index 97707dd..b58f636 100755 --- a/config_CentOS_5.5_64bit.xml +++ b/config_CentOS_5.5_64bit.xml @@ -373,6 +373,15 @@ installdiskspace="0,93200,0" script="SIMAN.sh"/> + + + @@ -467,10 +476,10 @@ type="prerequisite" description="Library for supporting different graphical formats PNG, BMP, JPEG, TIFF and others"> + script="freeimage.sh"/> + gcc boost Python numpy @@ -714,6 +724,7 @@ simanio + gcc boost OpenCascade Python @@ -731,6 +742,7 @@ KERNEL + gcc boost OpenCascade Python @@ -745,6 +757,7 @@ GUI + gcc boost OpenCascade Python @@ -762,6 +775,7 @@ GUI + gcc cgnslib boost OpenCascade @@ -780,6 +794,7 @@ MED + gcc boost Python OmniORB @@ -793,6 +808,7 @@ GEOM + gcc homard boost OpenCascade @@ -811,6 +827,7 @@ SMESH + gcc boost OpenCascade Python @@ -828,6 +845,7 @@ MED + gcc boost OpenCascade Python @@ -845,6 +863,7 @@ MED + gcc boost OmniORB OpenCascade @@ -863,6 +882,7 @@ HEXABLOCK + gcc boost OpenCascade Python @@ -880,6 +900,7 @@ SMESH + gcc boost OpenCascade Python @@ -895,6 +916,7 @@ SMESH + gcc boost OpenCascade Python @@ -912,6 +934,7 @@ SMESH + gcc boost OpenCascade Python @@ -928,6 +951,7 @@ SMESH + gcc boost OpenCascade Python @@ -945,6 +969,7 @@ BLSURFPLUGIN + gcc OpenCascade Python Swig @@ -962,6 +987,7 @@ MED + gcc Python OmniORB Med @@ -971,6 +997,7 @@ MED + gcc boost OpenCascade Python @@ -984,6 +1011,7 @@ MED + gcc boost OpenCascade Python @@ -993,12 +1021,14 @@ GUI + gcc Python OmniORB KERNEL GUI + gcc OpenCascade Python Qt @@ -1010,6 +1040,7 @@ GUI + gcc OpenCascade Python Qt @@ -1021,6 +1052,7 @@ GUI + gcc Python OmniORB Doxygen @@ -1029,6 +1061,7 @@ GUI + gcc boost OpenCascade Python @@ -1046,6 +1079,7 @@ RANDOMIZER + gcc boost OpenCascade Python @@ -1063,6 +1097,7 @@ MED + gcc OpenCascade Python Swig @@ -1075,42 +1110,67 @@ KERNEL GUI + + gcc + + gcc tcltk + + gcc + + gcc Python Qt + gcc Python Qt Sip + gcc Qt Python Sip PyQt + gcc Python + gcc Python + gcc Python tcltk boost + + gcc + + gcc freetype + + gcc + + + gcc + + gcc cmake + gcc tbb gl2ps freeimage @@ -1118,26 +1178,39 @@ tcltk + gcc OpenCascade + gcc Qt + gcc Python + gcc cmake + gcc Hdf5 Python cmake + + gcc + + + gcc + + gcc Hdf5 + gcc Python tcltk Hdf5 @@ -1147,36 +1220,48 @@ gl2ps + gcc Python + + gcc + + gcc Python tcltk Swig expat + gcc Graphviz + gcc Python + gcc Python + gcc tcltk OpenCascade + gcc Python Swig cmake + gcc Python + gcc Qt OmniORB Sphinx @@ -1184,6 +1269,7 @@ GUI + gcc Python Qt PyQt @@ -1195,10 +1281,12 @@ GEOM + gcc Qt HXX2SALOMEDOC + gcc Python Qt PyQt @@ -1207,6 +1295,7 @@ GUI + gcc Python Qt OmniORB @@ -1217,6 +1306,7 @@ ATOMGEN + gcc Python Qt OmniORB @@ -1228,7 +1318,11 @@ KERNEL GUI + + gcc + + gcc wso2 diff --git a/config_files/common.sh b/config_files/common.sh index e3492f7..73d43a7 100755 --- a/config_files/common.sh +++ b/config_files/common.sh @@ -718,7 +718,7 @@ use_latest_gcc(){ fi done if [ "${gcc_found}" != "" ] ; then - echo "CC=${gcc_found} CXX=${gxx_found}" + echo "CC=${gcc_found} CXX=${gxx_found} LD=${gxx_found}" fi fi } diff --git a/config_files/gcc.sh b/config_files/gcc.sh new file mode 100755 index 0000000..e118734 --- /dev/null +++ b/config_files/gcc.sh @@ -0,0 +1,83 @@ +#!/bin/bash -noprofile + +#################################################################################### +# File : gcc.sh +# Created : Thu May 22 13:42:04 2014 +# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) +# Project : SALOME +# Module : Installation Wizard +# Copyright : 2002-2014 CEA +# +# This script is the part of the SALOME installation procedure. +# +#################################################################################### + +check_version() +{ +return 0 +} + +print_env_bin() +{ +echo "print_env_bin()" +gcc_found="`use_latest_gcc 040200`" +if [ "${gcc_found}" != "" ] ; then +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <