# git_reference => undef,
# or gmake if required. can include path if necessary.
make => 'make',
+ # 1 = any make will do, 0 = require GNU (default)
+ non_gnu_make => 0,
# >1 for parallel "make" and "make check" steps
make_jobs => undef,
# default is "tar -z -cf runlogs.tgz *.log"
my $branch_root = getcwd();
-# make sure we are using GNU make
+# Normally we would require GNU Make, but allow farm
+# configuration to override this
die "$make is not GNU Make - please fix config file"
unless check_make();
sub check_make
{
+ # Allow farm member to configure non-GNU make
+ my $non_gnu_make = $EximBuild::conf{non_gnu_make};
+ if (!defined $non_gnu_make ||
+ (defined $non_gnu_make && $non_gnu_make == 1)) {
+ return 'OK';
+ }
my @out = `$make -v 2>&1`;
return undef unless ($? == 0 && grep {/GNU Make/} @out);
return 'OK';