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

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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.