]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
SALOME 7.3.0 preparation
authorvsr <vsr@opencascade.com>
Fri, 13 Dec 2013 12:49:38 +0000 (12:49 +0000)
committervsr <vsr@opencascade.com>
Fri, 13 Dec 2013 12:49:38 +0000 (12:49 +0000)
30 files changed:
config_files/ATOMGEN.sh
config_files/ATOMIC.sh
config_files/ATOMSOLV.sh
config_files/BLSURFPLUGIN.sh
config_files/CALCULATOR.sh
config_files/COMPONENT.sh
config_files/DOCUMENTATION.sh
config_files/GEOM.sh
config_files/GHS3DPLUGIN.sh
config_files/GHS3DPRLPLUGIN.sh
config_files/GUI.sh
config_files/HELLO.sh
config_files/HEXABLOCK.sh
config_files/HEXABLOCKPLUGIN.sh
config_files/HOMARD.sh
config_files/HexoticPLUGIN.sh
config_files/JOBMANAGER.sh
config_files/KERNEL.sh
config_files/LIGHT.sh
config_files/MED.sh
config_files/NETGENPLUGIN.sh
config_files/PARAVIS.sh
config_files/PYCALCULATOR.sh
config_files/PYHELLO.sh
config_files/PYLIGHT.sh
config_files/RANDOMIZER.sh
config_files/SIERPINSKY.sh
config_files/SMESH.sh
config_files/YACS.sh
config_files/build.csh [deleted file]

index d4d9ef53bb3b352dbea7c38e016c565a0434e56c..3751c9e911c5a1a355ffc847ae99c5b298d858bd 100755 (executable)
@@ -88,7 +88,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} ATOMGEN
+check_jb ./build.sh -d -p ${INST_ROOT} ATOMGEN
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index a60dffd85a8bcd235b4c443cdb1c5e8722b0377e..16954c06037d359d9b4bb8fb84485abfd2ebc9c1 100755 (executable)
@@ -88,7 +88,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} ATOMIC
+check_jb ./build.sh -d -p ${INST_ROOT} ATOMIC
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index 644004ba4c1552340f769f74488a6e1c81629e2d..039a5dfe8b44c9c485e13a8ba120bd0763ab32f1 100755 (executable)
@@ -88,7 +88,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} ATOMSOLV
+check_jb ./build.sh -d -p ${INST_ROOT} ATOMSOLV
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index 529d4e3f3d86f7f87c44b489b4cba537572e6b44..090b4a6ec314bad758ed24f2cfd315cc33d129b9 100755 (executable)
@@ -90,9 +90,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ "${INST_WITH_GUI}" = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ "${INST_WITH_GUI}" = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} BLSURFPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF BLSURFPLUGIN
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} BLSURFPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} BLSURFPLUGIN
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index 2945af1c38cc020a6dd1fb19f5f5c46b96d2fa8a..a121f6b5136bf3ec49837d947e5bfb6214071064 100755 (executable)
@@ -88,7 +88,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} CALCULATOR
+check_jb ./build.sh -d -p ${INST_ROOT} CALCULATOR
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index 8e8775d71a5f89946d5294d3c1acc4238bb5c7a8..71d6bfa4d1040ec235b2e3e7a8dfffad25665fda 100755 (executable)
@@ -88,7 +88,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} COMPONENT
+check_jb ./build.sh -d -p ${INST_ROOT} COMPONENT
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index 44df1ecd967fdeb83e2c4e7bac8f97128b54db0b..dc3a661be80129e7ba86b359ec82b1a018ea37d8 100755 (executable)
@@ -69,7 +69,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} DOCUMENTATION
+check_jb ./build.sh -d -p ${INST_ROOT} DOCUMENTATION
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index f1bf2104025ba4f9c452d0667d3cdd413829d649..3a26e32ab3dc326312f3c4dcee526974518a206a 100755 (executable)
@@ -89,9 +89,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} GEOM
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF GEOM
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} GEOM
+    check_jb ./build.sh -d -p ${INST_ROOT} GEOM
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index 719700fa057ed992977654c51e9afd4bc3a37275..765760096b9fa4bb64142cdb77c2a347c1ad51dd 100755 (executable)
@@ -89,9 +89,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} GHS3DPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF GHS3DPLUGIN
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} GHS3DPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} GHS3DPLUGIN
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index 34aeacb627cd489a3c97d25fcf6916a3332a513e..b351cf4e4c7706b0174f133fa64a804823d590ad 100755 (executable)
@@ -88,9 +88,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} GHS3DPRLPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF GHS3DPRLPLUGIN
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} GHS3DPRLPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} GHS3DPRLPLUGIN
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index 995b261453a9d666a6b2ba2de7d58894fbc02eae..c5f17ee15458a00b79ae33e37695ee455488e46e 100755 (executable)
@@ -89,7 +89,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} GUI
+check_jb ./build.sh -d -p ${INST_ROOT} GUI
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index e2ab3c47527202e7df554ebbd2cbe1196b769aab..006c92a38e4fa1a19d362314425bef22774f6078 100755 (executable)
@@ -87,7 +87,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} HELLO
+check_jb ./build.sh -d -p ${INST_ROOT} HELLO
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index ae667bae774c308c6fdc843634728f0d281845ce..e2fbe05dbf4a455d4368b9fb83cb0b75c7e9a4df 100755 (executable)
@@ -88,9 +88,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ "${INST_WITH_GUI}" = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ "${INST_WITH_GUI}" = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} HEXABLOCK
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF HEXABLOCK
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} HEXABLOCK
+    check_jb ./build.sh -d -p ${INST_ROOT} HEXABLOCK
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index 530a1ac2340962cd54d7616c967f5e3954e5d8a5..bd4f3af65e967cd1dc352e0c44f8af8145460cbb 100755 (executable)
@@ -89,9 +89,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ "${INST_WITH_GUI}" = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ "${INST_WITH_GUI}" = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} HEXABLOCKPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF HEXABLOCKPLUGIN
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} HEXABLOCKPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} HEXABLOCKPLUGIN
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index 5c45a9f9f6a6e2d2269b22657b14c6fc0cfd55f1..16cf0ff137c72807061126bc8ff3bcdfcc11a746 100755 (executable)
@@ -88,11 +88,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-if [ "${INST_WITH_GUI}" = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} HOMARD
-else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} HOMARD
-fi
+check_jb ./build.sh -d -p ${INST_ROOT} HOMARD
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index ebc054083837cfddcdcb76c363903fac7178ef7d..33e50b5ebfc59b7fafbccd6d34f22a4861b8e52c 100755 (executable)
@@ -88,9 +88,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} HexoticPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF HexoticPLUGIN
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} HexoticPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} HexoticPLUGIN
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index fe3e0f2230b2ab82bd7d8298a1d0e3f3520e28f6..52b421b80def09539d411e7d73c0127d1f7c3f48 100755 (executable)
@@ -82,7 +82,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} JOBMANAGER
+check_jb ./build.sh -d -p ${INST_ROOT} JOBMANAGER
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index c57e746249041a732e17918b5423b6c3a9b12acb..82fbe2a99584838442185c6a938c6c6e0bcb565c 100755 (executable)
@@ -88,7 +88,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} KERNEL
+check_jb ./build.sh -d -p ${INST_ROOT} KERNEL
 
 # create environment for the built binaries
 cd ${CUR_DIR}
 
 # create environment for the built binaries
 cd ${CUR_DIR}
index 8c37a7de66cccddf2f11501dd5f3f5e525894a81..d400d8b5826d6b9fb5fabfb9f44364d91bcfd56b 100755 (executable)
@@ -85,7 +85,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} LIGHT
+check_jb ./build.sh -d -p ${INST_ROOT} LIGHT
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index 82ade62a9ce7942b4d4be7405d3504cf3dd946ca..80921c134a03e2d419edbf8ce24c2bb35635b81b 100755 (executable)
@@ -90,9 +90,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} MED
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF MED
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} MED
+    check_jb ./build.sh -d -p ${INST_ROOT} MED
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index f200fe9c495ded311b01d85461ee37db880a63bb..4e2a37b9d03a02667999ec652faf72d1efbf2e5a 100755 (executable)
@@ -89,9 +89,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} NETGENPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF NETGENPLUGIN
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} NETGENPLUGIN
+    check_jb ./build.sh -d -p ${INST_ROOT} NETGENPLUGIN
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index 362ead0fec76db999633647cf8d5001d068a501b..32fe356155a75dad88df523741eac8c9804fac87 100755 (executable)
@@ -90,7 +90,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} PARAVIS
+check_jb ./build.sh -d -p ${INST_ROOT} PARAVIS
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index 168780625b69c16d41f37ad17a3609d288d8cc27..83ec1df751b0a77ea762ce515d506186d0dc189c 100755 (executable)
@@ -88,7 +88,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} PYCALCULATOR
+check_jb ./build.sh -d -p ${INST_ROOT} PYCALCULATOR
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index ef2f8ebca4b8b6b0993f54c0030f3b03dc095b9c..aab25b53692221340ce5ab3beab4ffcb427ff548 100755 (executable)
@@ -86,7 +86,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} PYHELLO
+check_jb ./build.sh -d -p ${INST_ROOT} PYHELLO
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index efe2b26f811ca37d7d10b672a3d99f508a54eff5..1c6bac0a4203609c968a87124c4e69a6181e0e1e 100755 (executable)
@@ -86,7 +86,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} PYLIGHT
+check_jb ./build.sh -d -p ${INST_ROOT} PYLIGHT
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index 4f9957ce04ef039621316fd1f56c2d88956d32e8..a296ce2c5e0fc02e79a052a58d701f87b6301c8e 100755 (executable)
@@ -87,7 +87,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} RANDOMIZER
+check_jb ./build.sh -d -p ${INST_ROOT} RANDOMIZER
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index b97f039bef7b125bab69a1b5d86fb60832b3d7ef..b37f3b00c669b9181e5aff0fdfd971abd52eb881 100755 (executable)
@@ -87,7 +87,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
-check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} SIERPINSKY
+check_jb ./build.sh -d -p ${INST_ROOT} SIERPINSKY
 
 cd ${CUR_DIR}
 
 
 cd ${CUR_DIR}
 
index 76286fc3acf49df8eb89b8efef8546b8a2c0f3f0..e53379eeb03188e714c6b293d16fbfafa300c6e0 100755 (executable)
@@ -89,9 +89,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ ${INST_WITH_GUI} = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} SMESH
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF SMESH
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} SMESH
+    check_jb ./build.sh -d -p ${INST_ROOT} SMESH
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
index cffa98db5ca2add44285ec9b8f46d4af2d25d443..5e32c33374df29f60f4d6001528a8f4a46b93c8e 100755 (executable)
@@ -88,9 +88,9 @@ fi
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ "${INST_WITH_GUI}" = "FALSE" ] ; then
 CUR_DIR=`pwd`
 cd ${INST_ROOT}
 if [ "${INST_WITH_GUI}" = "FALSE" ] ; then
-    check_jb ./build.sh -o -b -w -d -v 0 -p ${INST_ROOT} YACS
+    check_jb ./build.sh -d -p ${INST_ROOT} -DSALOME_BUILD_GUI=OFF YACS
 else
 else
-    check_jb ./build.sh -o -b -d -v 0 -p ${INST_ROOT} YACS
+    check_jb ./build.sh -d -p ${INST_ROOT} YACS
 fi
 
 cd ${CUR_DIR}
 fi
 
 cd ${CUR_DIR}
diff --git a/config_files/build.csh b/config_files/build.csh
deleted file mode 100755 (executable)
index 2a3536d..0000000
+++ /dev/null
@@ -1,462 +0,0 @@
-#!/bin/csh -f
-
-####################################################################################
-#  File      : build.csh
-#  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-2013 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.csh -h for more details about usage.
-#
-####################################################################################
-
-set is_build_configure=0
-set is_configure=0
-set inst_with_gui=1
-set is_delete=0
-set verbose_level=2
-set params=""
-set modules=(KERNEL GUI GEOM MED SMESH PARAVIS YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT CALCULATOR HELLO PYHELLO LIGHT PYLIGHT HEXABLOCK HEXABLOCKPLUGIN ATOMIC ATOMGEN ATOMSOLV HOMARD JOBMANAGER)
-set optim=""
-set is_install=1
-set is_help=0
-set is_tui=0
-set prefix=""
-set def_install_dir="/INSTALL"
-set b_params=""
-
-#########################################################
-# parse parameters
-#########################################################
-while ( ${%1} > 0 )
-    if ( "$1" == "-b" ) then
-       set is_build_configure=1
-       set is_configure=1
-    else if ( "$1" == "-c" ) then
-       set is_configure=1
-    else if ( "$1" == "-w" ) then
-       set inst_with_gui=0
-    else if ( "$1" == "-d" ) then
-       set is_delete=1
-    else if ( "$1" == "-o" ) then
-       set optim="--enable-production=yes --disable-debug"
-    else if ( "$1" == "-v" ) then
-       shift
-       set verbose_level=$1
-    else if ( "$1" == "-p" ) then
-       shift
-       set is_install=1
-       set prefix=$1
-    else if ( "$1" == "-h" ) then
-       set is_help=1
-    else if ( "$1" == "-t" ) then
-       set is_tui=1
-    else
-       set ckt=`echo ${modules} | grep -E "\<$1\>"`
-       if ( "$ckt" != "" ) then
-           set params="$params $1"
-       else
-           set b_params="$b_params $1"
-           echo "\!\!\! Warning \!\!\! Unknown module: $1."
-       endif
-    endif
-    shift
-end
-
-#########################################################
-# if -h option is given - print help info and exit 
-#########################################################
-if ( $is_help == 1 ) then
-echo ""
-echo ""
-echo "Description:"
-echo "            Builds given SALOME modules by performing make and make install commands"
-echo ""
-echo "Usage:"
-echo "            build.csh [ <option> ] ... [ <module> [ <module> ... ] ]"
-echo ""
-echo "<module>    Modules to build, separated by space(s)."
-echo "            If no modules are given - all SALOME modules are assumed."
-echo "            Note, that modules given in command lines are automatically sorted in such order"
-echo "            to support correct modules dependencies."
-echo ""
-echo "Options:"
-echo "-b          Perform build_configure command for all given modules."
-echo "            This option forces configure (-c) key to be set. Default is off."
-echo ""
-echo "-c          Perform configure command for all given modules. Default is off."
-echo ""
-echo "-w          Add --without-gui key to build_configure and configure commands"
-echo "            to build SALOME module sources without GUI."
-echo "            By default sources are built with GUI."
-echo ""
-echo "-d          Delete build directories before calling configure, to force full rebuild"
-echo "            and reinstall of the module."
-echo "            Use this option carefully."
-echo ""
-echo "-o          Build sources in optimized mode. Default is off that means debug mode."
-echo "            Use this option together with -c or -b."
-echo "            This option can require -d option to be set (to ensure that previously"
-echo "            created build directories are removed to enforce rebuild in optimized mode)."
-echo ""
-echo "-t          Performs make dev_docs step to build TUI documentation for those modules"
-echo "            which support this. Default is off."
-echo ""
-echo "-p <prefix> Define the directory where to install modules after compilation."
-echo "            By default the directory where compilation is performed is used."
-echo ""
-echo "-v <level>  Verbose level (0-2, default 2): print information on build status:"
-echo "            0: only 'make' errors"
-echo "            1: 0 + compiler and other errors (including build_configure, configure)"
-echo "            2: 1 + compiler and other warnings "
-echo ""
-echo "-h          Prints this help information."
-echo ""
-echo "Note:       If no keys are given script just performs make step."
-echo ""
-echo "Example:"
-echo "            ./build.csh -o -p /home/user/salome -b KERNEL MED GEOM"
-echo ""
-echo "            This will make KERNEL, GEOM and MED modules: build_configure, configure, make"
-echo "            and install procedures will be performed for all specified modules."
-echo "            The modules will be built in the optimized mode"
-echo ""
-exit
-endif
-
-#########################################################
-# sort modules in proper order according to the dependancies
-#########################################################
-if ( "${params}" != "" ) then
-    set xparams=""
-    foreach module (${modules})
-       set ckt=`echo ${params} | grep -E "\<${module}\>"`
-       if ( "$ckt" != "" ) then
-           set xparams="$xparams $module"
-       endif
-    end
-    set modules=($xparams $b_params)
-else if ( "${b_params}" != "" ) then
-    set modules=($b_params)
-endif
-
-echo ">>> The following modules will be built:"
-echo $modules
-
-#########################################################
-# set environment
-#########################################################
-set env_script=`dirname $0`/env_build.csh
-if ( ! -e $env_script ) then
-    set env_script=`dirname $0`/env_products.csh
-endif
-if ( ! -e $env_script ) then
-    set env_script=`dirname $0`/env.sh
-endif
-if ( -e $env_script ) then
-    echo ">>> Setting environment"
-    source $env_script
-else
-    echo "\!\!\! Warning \!\!\! Environment is not set."
-    echo "No environment file (env_build.sh, env_products.sh, env.sh) is found."
-    echo "Proceed with the current environment."
-endif
-
-set BUILD_DIR=${PWD}
-set LOG_DIR=${BUILD_DIR}/LOGS
-
-#########################################################
-# define installation prefix
-#########################################################
-if ( "$prefix" == "" ) then
-    echo "\!\!\! Warning \!\!\! Installation directory is not set."
-    echo "All the modules will be installed to the ${BUILD_DIR}${def_install_dir}"
-else
-    set is_absolute=`echo $prefix | grep -e "^/"`
-    if ( "$is_absolute" == "" ) then
-       set prefix=${BUILD_DIR}/$prefix
-       echo "\!\!\! Warning \!\!\! Relative prefix is used."
-       echo "All the modules will be installed to the $prefix"
-    endif
-endif
-
-#########################################################
-# create log directory
-#########################################################
-if ( ! -e ${LOG_DIR} ) then
-    mkdir -p ${LOG_DIR}
-endif
-
-echo "==========================================================================="
-echo "Starting SALOME build at `date`"
-echo "==========================================================================="
-
-#########################################################
-# loop for all given modules
-#########################################################
-foreach module (${modules})
-    echo ">>> Processing ${module} module"
-
-    set module_src=`printenv ${module}_SRC_DIR`
-    set module_build=${BUILD_DIR}/${module}_BUILD
-
-    if ( ${module_src} != "" ) then
-       cd ${BUILD_DIR}
-       #########################################################
-       # check if sources directory exists
-       #########################################################
-       if ( ! -e ${module_src} ) then
-           echo "\!\!\! Error \!\!\! Can't find sources directory: ${module_src} does not exist."
-           continue
-       endif
-       #########################################################
-       # check if configure script exists
-       #########################################################
-       set cfg_exist=0
-       if ( -e ${module_src}/configure ) then
-           set cfg_exist=1
-       endif
-       #########################################################
-       # perform build_configure if -b flag is given or if 
-       # configure script does not exist (first compilation?)
-       #########################################################
-       if ( $is_build_configure == 1 || $cfg_exist == 0 ) then
-           echo "... Performing build_configure"
-           #########################################################
-           # check if build_configure script exists
-           #########################################################
-           if ( ! -e ${module_src}/build_configure && "${module}" != "PARAVIS" ) then
-               echo "\!\!\! Warning \!\!\! Can not find build_configure script in ${module_src}."
-           else
-               if ( "${module}" == "PARAVIS" ) then
-                   echo "\!\!\! Warning \!\!\! build_configure step is not executed for ${module}."
-               else
-                   #########################################################
-                   # call build_configure
-                   #########################################################
-                   if (! ($?BUILDCONF_OPTS) ) then
-                       set mybuildconf_keys=""
-                   else
-                       set mybuildconf_keys="${BUILDCONF_OPTS}"
-                   endif    
-                   if ( $inst_with_gui == 0 ) then
-                       set mybuildconf_keys="${mybuildconf_keys} --without-gui"
-                   endif
-                   cd ${module_src}
-                   ./build_configure ${mybuildconf_keys} >& ${LOG_DIR}/build_configure_${module}.log
-                   #########################################################
-                   # echo possible errors
-                   #########################################################
-                   if ( $verbose_level > 0 ) then
-                       cat ${LOG_DIR}/build_configure_${module}.log | grep -E "(failed|: error:)"
-                   endif
-               endif
-           endif
-       endif
-       #########################################################
-       # deleting build directory if -d flag is given
-       #########################################################
-       if ( -e ${module_build} && $is_delete == 1 ) then
-           echo "... Removing ${module_build}"
-           chmod -R +w ${module_build} && rm -rf ${module_build} >& /dev/null
-           if ( "$?" != "0" ) then
-               echo "\!\!\! Warning \!\!\! Cannot remove build directory ${module_build}. Permission denied."
-           endif
-       endif
-       #########################################################
-       # creating build directory if it does not exist
-       #########################################################
-       if ( ! -e ${module_build} ) then
-           mkdir -p ${module_build} >& /dev/null
-           if ( "$?" != "0" ) then
-               echo "\!\!\! Error \!\!\! Cannot create build directory ${module_build}. Permission denied."
-               continue
-           endif
-       endif
-       cd ${module_build}
-       #########################################################
-       # check if top Makefile exists in build directory, i.e. 
-       # is it necessary to run configure script
-       #########################################################
-       set mkfile_exist=0
-       if ( -e ${module_build}/Makefile ) then
-           set mkfile_exist=1
-       endif
-       #########################################################
-       # check if configure options are changed from the 
-       # previous launch
-       #########################################################
-       set opts_changed=0
-       #########################################################
-       # define installation directory (by using module's version
-       # number); default is a build directory
-       #########################################################
-       set vx=""
-       if ( -e ${module_src}/configure.ac ) then
-           set vx=`grep -e "^AC_INIT" ${module_src}/configure.ac | sed -e "s%.*\[\([[:digit:].]*\)\].*%\1%g"`
-       else if ( -e ${module_src}/configure.in.base ) then
-           set vx=`grep -e "^VERSION=" ${module_src}/configure.in.base | awk -F= '{ if (NF>1) print $NF; }' | tr -d '[:space:]'`
-           if ( "$vx" == "" ) then
-               set vx=`grep -e "^AC_INIT" ${module_src}/configure.in.base | sed -e "s%.*\[\([[:digit:].]*\)\].*%\1%g"`
-           endif
-       else if ( -e ${module_src}/CMakeLists.txt ) then
-           set ver_maj=`cat ${module_src}/CMakeLists.txt | grep SET\(VERSION_MAJOR | sed -e "s%[A-Z_() ]%%g"`
-           set ver_min=`cat ${module_src}/CMakeLists.txt | grep SET\(VERSION_MINOR | sed -e "s%[A-Z_() ]%%g"`
-           set ver_maintenance=`cat ${module_src}/CMakeLists.txt | grep SET\(VERSION_MAINTENANCE | sed -e "s%[A-Z_() ]%%g"`
-           set vx="${ver_maj}.${ver_min}.${ver_maintenance}"
-       endif
-       if ( "$vx" != "" ) then
-           set vx="_$vx"
-       endif
-       if ( "$prefix" == "" ) then
-           set px=${BUILD_DIR}${def_install_dir}/${module}${vx}
-       else
-           set px=${prefix}/${module}${vx}
-       endif
-       #########################################################
-       # perform configure if -c flag is given or if 
-       # Makefile does not exist (first compilation?)
-       #########################################################
-       if ( $is_configure == 1 || $mkfile_exist == 0 || $opts_changed == 1 ) then
-           echo "... Performing configure"
-           #########################################################
-           # check if configure script exists
-           #########################################################
-           if ( ! -e ${module_src}/configure  && "${module}" != "PARAVIS" ) then
-               echo "\!\!\! Warning \!\!\! Can not find configure script in ${module_src}."
-           else
-               if (! ($?BUILDCONF_OPTS) ) then
-                   set myconf_keys=""
-               else
-                   set myconf_keys="${CONF_OPTS}"
-               endif
-               if ( $inst_with_gui == 0 ) then
-                   set myconf_keys="${myconf_keys} --without-gui"
-               endif
-               if ( "${module}" == "MED" && ($?METIS_ROOT_DIR) && ($?SCOTCH_ROOT_DIR) ) then
-                   set myconf_keys="${myconf_keys} --enable-splitter=yes --with-metis=${METIS_ROOT_DIR} --with-scotch=${SCOTCH_ROOT_DIR}"
-               endif
-               if ( "${module}" == "NETGENPLUGIN" && ($?NETGEN_ROOT_DIR) ) then
-                   set myconf_keys="${myconf_keys} --with-netgen=${NETGEN_ROOT_DIR}"
-               endif
-               if ( "${module}" == "PARAVIS" )  then
-                   cd ${module_build}; cmake ${module_src} -DCMAKE_INSTALL_PREFIX=$px >& ${LOG_DIR}/configure_${module}.log
-               else
-                   ${module_src}/configure --prefix=$px ${optim} ${myconf_keys} >& ${LOG_DIR}/configure_${module}.log
-               endif
-
-               #########################################################
-               # echo possible errors
-               #########################################################
-               if ( $verbose_level > 0 ) then
-                   cat ${LOG_DIR}/configure_${module}.log | grep ": error:"
-               endif
-               if ( $verbose_level > 1 ) then
-                   cat ${LOG_DIR}/configure_${module}.log | grep ": WARNING:"
-               endif
-           endif
-       endif
-       #########################################################
-       # perform make
-       #########################################################
-       echo "... Performing make"
-       #########################################################
-       # first clear dependencies
-       #########################################################
-       find . -name ".dep*" -type f -exec rm -f {} \; >& /dev/null
-        #########################################################
-        # then make
-        #########################################################
-       if ( "${module}" == "PARAVIS" )  then
-           if ( ($?VTK_AUTOLOAD_PATH) ) then
-               setenv VTK_AUTOLOAD_PATH_BACKUP ${VTK_AUTOLOAD_PATH}
-               unsetenv VTK_AUTOLOAD_PATH
-           endif
-       endif
-       make >& ${LOG_DIR}/make_${module}.log
-       set sts=$status
-       if ( "${module}" == "PARAVIS" )  then
-           if ( ($?VTK_AUTOLOAD_PATH_BACKUP) ) then
-               setenv VTK_AUTOLOAD_PATH ${VTK_AUTOLOAD_PATH_BACKUP}
-           endif
-       endif
-       #########################################################
-       # if make step is successful set the ${module}_ROOT_DIR
-       # environment variable
-       #########################################################
-       #if ( $sts == 0 ) then
-       #    setenv ${module}_ROOT_DIR ${module_build}
-       #endif
-       #########################################################
-       # print make errors
-       #########################################################
-       cat ${LOG_DIR}/make_${module}.log | grep -Ei '[*][*][*].*error'
-       #########################################################
-       # print compiler errors and warnings
-       # Note: here awk is used to concatenate together several lines of single
-       #       error or warning message produced by stupid gnu compiler
-       # Actually, instead of that we could use 'fmessage length=n' option of g++...
-       #########################################################
-       if ( $verbose_level > 0 ) then
-           ###cat ${LOG_DIR}/make_${module}.log | grep ": error"
-           cat ${LOG_DIR}/make_${module}.log | awk 'substr($0,0,1)!=" " {print ""} {print $0} END {print ""}' | grep "${module_src}/[A-Za-z_0-9./]*:" | sed s@"^${module_src}/src/"@@
-       endif
-       if ( $verbose_level > 1 ) then
-           cat ${LOG_DIR}/make_${module}.log | awk 'substr($0,0,1)!=" " {print ""} {print $0} END {print ""}' | grep -E ": warning|* Warning" | sed s@"^${module_src}/src/"@@
-       endif
-       #########################################################
-       # perform make dev_docs step if -t flag is given
-       #########################################################
-       if ( $is_tui == 1 && $sts == 0 && -d ${module_build}/doc ) then
-           cd ${module_build}/doc
-           set dd=`cat Makefile | grep -E "dev_docs[[:space:]]*:"`
-           if ( "$dd" != "" ) then
-               echo "... Performing make dev_docs"
-               make dev_docs >& ${LOG_DIR}/make_dev_docs_${module}.log
-               cat ${LOG_DIR}/make_dev_docs_${module}.log | grep '[*][*][*]'
-           endif
-       endif
-       cd ${module_build}
-       #########################################################
-       # perform make if -i or -p flags are given
-       #########################################################
-       if ( $is_install == 1 && $sts == 0 || "${module}" == "KERNEL" ) then
-           #########################################################
-           # deleting build directory if -d flag is given
-           #########################################################
-           if ( -e $px && $is_delete == 1 ) then
-               echo "... Removing $px"
-               rm -rf $px >& /dev/null
-               if ( "$?" != "0" ) then
-                   echo "\!\!\! Warning \!\!\! Cannot remove install directory ${px}. Permission denied."
-               endif
-           endif
-           echo "... Performing make install"
-           make install >& ${LOG_DIR}/make_install_${module}.log
-           set sts=$status
-           #########################################################
-           # if make install step is successful set the 
-           # ${module}_ROOT_DIR environment variable
-           #########################################################
-           if ( $sts == 0 ) then
-               setenv ${module}_ROOT_DIR $px
-           endif
-       endif
-       echo ">>> Finished ${module} module"
-    else
-       echo "\!\!\! Error \!\!\! Can't find module sources. ${module}_SRC_DIR environment variable is not set."
-    endif
-end
-#########################################################
-# finalize
-#########################################################
-cd ${BUILD_DIR}
-
-echo "==========================================================================="
-echo "SALOME build finished at `date`"
-echo "==========================================================================="