diff options
author | Nicholas Clark <nick@ccl4.org> | 2021-10-05 17:05:39 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2021-10-05 19:53:07 +0000 |
commit | 869b0e9f936a43b3f85682c8c3fc1512e76ca4b7 (patch) | |
tree | 74e04af4ee849510bfc870257392a25c721a38bd /Porting | |
parent | 479479896a515fe41fae81038986ace5cab636db (diff) | |
download | perl-869b0e9f936a43b3f85682c8c3fc1512e76ca4b7.tar.gz |
bisect-runner.pl should patch SDBM_File for parallel builds.
The fix in commit 4d106cc5d8fd328d:
For SDBM_File, stop EU::MM from generating its default subdirs rule.
The default subdirs rule creates a race condition with the rule that
Makefile.PL explicitly adds to generate libsdbm.a, which can cause parallel
makes to fail.
is needed for earlier perl versions to.
Diffstat (limited to 'Porting')
-rwxr-xr-x | Porting/bisect-runner.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 128cd3c460..744fc18912 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -3836,6 +3836,16 @@ EOFIX return $xs; }); } + + if ($major >= 10 && $major < 20 + && !extract_from_file('ext/SDBM_File/Makefile.PL', qr/MY::subdir_x/)) { + # Parallel make fix for SDBM_File + # Technically this is needed for pre v5.10.0, but we don't attempt + # parallel makes on earlier versions because it's unreliable due to + # other bugs. + # So far, only AIX make has come acropper on this bug. + apply_commit('4d106cc5d8fd328d', 'ext/SDBM_File/Makefile.PL'); + } } sub apply_fixups { |