Changeset 24837


Ignore:
Timestamp:
2011-12-01T12:20:26+13:00 (10 years ago)
Author:
jmt12
Message:

Make (rather time-consuming) compilation of these libraries conditional on their compiled libraries not already existing

Location:
gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/OPENMPI.sh

    r24591 r24837  
    1010prefix=$GEXTPARALLELBUILDING_INSTALLED
    1111
     12opt_run_untar $force_untar $auto_untar $package $version
     13opt_run_configure $force_config $auto_config $package $version $prefix
     14
     15# We only compile if necessary, as compilation is quite slow and we don't
     16# edit these source files
    1217if [[ ! -e "$GEXTPARALLELBUILDING_INSTALLED/lib/libmpi.so.0.0.2" || ! -e "$GEXTPARALLELBUILDING_INSTALLED/bin/opal_wrapper" || ! -e "$GEXTPARALLELBUILDING_INSTALLED/bin/orterun" ]]
    1318  then
    14     opt_run_untar $force_untar $auto_untar $package $version
    15     opt_run_configure $force_config $auto_config $package $version $prefix
    16 
    1719    opt_run_make $compile   $package $version
    18     opt_run_make $install   $package $version "install"
    19     opt_run_make $clean     $package $version "clean"
    20     opt_run_make $distclean $package $version "distclean"
    21 
    22     opt_run_tarclean $tarclean $package $version
    2320  else
    2421    echo "Open MPI library and binaries already compiled => no need to recompile"
    2522fi
     23
     24opt_run_make $install   $package $version "install"
     25opt_run_make $clean     $package $version "clean"
     26opt_run_make $distclean $package $version "distclean"
     27
     28opt_run_tarclean $tarclean $package $version
    2629
    2730
  • gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/TINYXML.sh

    r24591 r24837  
    1010prefix=$GEXTPARALLELBUILDING_INSTALLED
    1111
     12opt_run_untar $force_untar $auto_untar $package $version
     13opt_run_configure $force_config $auto_config $package $version $prefix
     14
     15# Only compile if necessary - we don't edit these source files.
    1216if [ ! -e "$GEXTPARALLELBUILDING_INSTALLED/lib/libtinyxml.a" ]
    1317  then
    14     opt_run_untar $force_untar $auto_untar $package $version
    15     opt_run_configure $force_config $auto_config $package $version $prefix
    16 
    1718    opt_run_make $compile   $package $version
    18     opt_run_make $install   $package $version "install"
    19     opt_run_make $clean     $package $version "clean"
    20     opt_run_make $distclean $package $version "distclean"
    21 
    22     opt_run_tarclean $tarclean $package $version
    2319  else
    2420    echo "TinyXML library already compiled => no need to recompile"
    2521fi
     22
     23opt_run_make $install   $package $version "install"
     24opt_run_make $clean     $package $version "clean"
     25opt_run_make $distclean $package $version "distclean"
     26
     27opt_run_tarclean $tarclean $package $version
    2628
    2729
     
    2931
    3032
    31 
Note: See TracChangeset for help on using the changeset viewer.