From 307fd26e1d2b4b592de7cbdc84ff943aaacc1934 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Fri, 4 May 2007 08:33:23 +0000 Subject: [PATCH] Adding RANDOMIZER and SIERPINSKY to IP --- config_files/RANDOMIZER_BIN.sh | 110 +++++++++++++++++++++++++++++++++ config_files/RANDOMIZER_SRC.sh | 107 ++++++++++++++++++++++++++++++++ config_files/SIERPINSKY_BIN.sh | 110 +++++++++++++++++++++++++++++++++ config_files/SIERPINSKY_SRC.sh | 107 ++++++++++++++++++++++++++++++++ config_files/build.csh | 2 +- config_files/build.sh | 2 +- 6 files changed, 436 insertions(+), 2 deletions(-) create mode 100755 config_files/RANDOMIZER_BIN.sh create mode 100755 config_files/RANDOMIZER_SRC.sh create mode 100755 config_files/SIERPINSKY_BIN.sh create mode 100755 config_files/SIERPINSKY_SRC.sh diff --git a/config_files/RANDOMIZER_BIN.sh b/config_files/RANDOMIZER_BIN.sh new file mode 100755 index 0000000..b93b88c --- /dev/null +++ b/config_files/RANDOMIZER_BIN.sh @@ -0,0 +1,110 @@ +#!/bin/bash -noprofile + +#################################################################################### +# File : RANDOMIZER_BIN.sh +# Created : Thu Dec 18 12:01:00 2002 +# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) +# Project : SALOME +# Module : Installation Wizard +# Copyright : 2002-2007 CEA +# +# This script is the part of the SALOME installation procedure. +# +#################################################################################### + +VERSION="3.2.6" + +check_version(){ +if [ -n "${RANDOMIZER_ROOT_DIR}" ]; then + if [ -f ${RANDOMIZER_ROOT_DIR}/bin/salome/VERSION ]; then + ver=`cat ${RANDOMIZER_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` + if [ "$ver" = "${VERSION}" ]; then + return 0 + fi + fi +fi +return 1 +} + +print_env(){ +if test `uname -m` = "x86_64" ; then +export LIB_PREFIX=64 +else +export LIB_PREFIX="" +fi +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <