Revision cd937bf2f06a2ae9ff9bae9fd421bed33ad5a8f3 authored by dmorton on 24 October 2012, 20:34:25 UTC, committed by dmorton on 24 October 2012, 20:34:25 UTC
When jobs try to shortcut they're using about 80-100Mb per fork and that's
making us top out over the 500Mb limit per job.  LSF doesn't poll really fast
so most of the time we're skirting by, but sometimes we get caught.
1 parent cba0eaa
Raw File
Build.PL
#!/usr/bin/perl
# Use local perl, not some perl on an application server!

use Config;
use Module::Build;

BEGIN {
  unshift @INC, "$ENV{PWD}/blib/lib";
}

my $class = Module::Build->subclass (
    class => 'Pod::Builder',
    code => <<'EOS',

      sub ACTION_clean {
        # FIXME: is this safe?
        use File::Path qw/rmtree/;
        rmtree "./_build";
        rmtree "./blib";
        rmtree "./cmd-bindoc";
        unlink "./Build";
        unlink "./MYMETA.yml";
      }
EOS
);

my $build = $class->new(
  module_name => 'Workflow',
  license => 'lgpl',
  dist_version => '421',
  dist_abstract => 'Workflow engine using UR framework for Perl',
);

$build->create_build_script;
back to top