From 92152c5b945e4eae400027c8e8da73c96975b0f1 Mon Sep 17 00:00:00 2001 From: bri Date: Mon, 10 Feb 2014 18:17:56 +0400 Subject: [PATCH] SALOME build and run scripts are added. --- scripts/README | 12 +- scripts/build.sh | 476 ++++++++++++++++++++ scripts/env_build.sh | 838 ++++++++++++++++++++++++++++++++++++ scripts/env_products.sh | 838 ++++++++++++++++++++++++++++++++++++ scripts/env_siman.sh | 5 +- scripts/run_salome_siman.sh | 3 +- 6 files changed, 2162 insertions(+), 10 deletions(-) create mode 100644 scripts/build.sh create mode 100644 scripts/env_build.sh create mode 100644 scripts/env_products.sh diff --git a/scripts/README b/scripts/README index 70a4f09..d243642 100644 --- a/scripts/README +++ b/scripts/README @@ -23,15 +23,17 @@ wso2-wsf-cpp-2.1.0_mandriva_2010-64.tgz This README files is also delivered in SIMANIO_SRC/scripts directory 4. Build SIMANIO_SRC using these scripts as following : -source env_siman.sh +. env_siman.sh ./siman_build.sh -5. Build all other modules in usual manner +5. Build other required SALOME modules in usual manner +for example, using the scripts provided with offical SALOME installation (env_build.sh, env_products.sh, build.sh) -Note: additionally the following SALOME modules (not impacted with SIMAN changes) should be also build +Additionally the following SALOME modules (not currently impacted with SIMAN changes) can be also built to using in SIMAN project test cases. "VISU PARAVIS YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN" -6. Check runnability of SALOME in two modes - without and with SIMAN : +6. Set SALOME runtime environment and Check runnability of SALOME in two modes - without and with SIMAN : +. env_siman.sh +. env_products.sh runSalome runSalome --siman - diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100644 index 0000000..935a10c --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,476 @@ +#!/bin/bash -noprofile + +#################################################################################### +# File : build.sh +# Created : Thu Jan 27 09:50:55 2005 +# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) +# Project : SALOME +# Module : Installation Wizard +# Copyright : 2002-2012 CEA +# +# This script is the part of the SALOME installation procedure. +# +# This script can be used to build and install SALOME modules from sources. +# Try build.sh -h for more details about usage. +# +#################################################################################### + +############################################################### +# Prints usage information and exits +############################################################### +usage(){ + echo "" + echo "Description:" + echo " Builds given SALOME modules by performing make and " + echo " make install commands" + echo "" + echo "Usage:" + echo " build.sh [