Salome HOME
SALOME 6.5.0 preparation: homard 10.3 -> 10.4
[tools/install.git] / config_files / build.csh
index 65ffe1b5cdba25962236831a131a122f8adb415e..10437d3456c96f49c76cd9ee03f1adc430dbee4e 100755 (executable)
@@ -21,7 +21,7 @@ set inst_with_gui=1
 set is_delete=0
 set verbose_level=2
 set params=""
-set modules=(KERNEL GUI GEOM MED SMESH VISU PARAVIS YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER MULTIPR JOBMANAGER)
+set modules=(KERNEL GUI GEOM MED SMESH VISU PARAVIS YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER HEXABLOCK HEXABLOCKPLUGIN ATOMIC ATOMGEN ATOMSOLV HOMARD JOBMANAGER)
 set optim=""
 set is_install=1
 set is_help=0
@@ -230,7 +230,7 @@ foreach module (${modules})
        #########################################################
        # check if build_configure script exists
        #########################################################
-       if ( ! -e ${module_src}/build_configure && "${module}" != "PARAVIS") then
+       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
@@ -239,7 +239,11 @@ foreach module (${modules})
            #########################################################
            # 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
@@ -337,7 +341,11 @@ foreach module (${modules})
        if ( ! -e ${module_src}/configure  && "${module}" != "PARAVIS" ) then
            echo "\!\!\! Warning \!\!\! Can not find configure script in ${module_src}."
        else
-#          set myconf_keys="${CONF_OPTS}"
+           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