Changeset 24667


Ignore:
Timestamp:
2011-09-27T12:43:12+13:00 (13 years ago)
Author:
jmt12
Message:

Adding another sanity test to prevent parallel building when infodb is set to GDBM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/bin/script/buildcol.pl

    r24622 r24667  
    397397      $collectcfg->{'infodbtype'} = &dbutil::get_default_infodb_type();
    398398    }
    399     # one sanity check - you currently can't have SQLite as the infodb while
     399    # sanity check - you currently can't have GDBM as the infodb while
     400    # asking for a parallel build
     401    elsif ($collectcfg->{'infodbtype'} eq 'gdbm' && $parallel)
     402    {
     403      print STDERR "WARNING: Parallel builds not supported by GDBM - reverting to serial build\n";
     404      $parallel = 0;
     405    }
     406    # sanity check - you currently can't have SQLite as the infodb while
    400407    # asking for a parallel build
    401408    elsif ($collectcfg->{'infodbtype'} eq 'sqlite' && $parallel)
Note: See TracChangeset for help on using the changeset viewer.