summaryrefslogtreecommitdiff
path: root/regen/lib_cleanup.pl
Commit message (Collapse)AuthorAgeFilesLines
* win32: remove makefile.mk (#18511)xenu2021-01-281-1/+1
| | | | | | | | | Makefile.mk is redundant with GNUmakefile. See https://www.nntp.perl.org/group/perl.perl5.porters/2021/01/msg258848.html for more details. We planned to remove it shortly after the introduction of GNUmakefile but that slipped through the cracks for some reason: https://github.com/Perl/perl5/issues/14341
* style: Detabify regen files.Michael G. Schwern2021-01-171-1/+1
| | | | | | | | | | | They generate C files. Bump feature.pm and warnings.pm versions to satisfy cmpVERSION.pl. I can't get it to easily ignore whitespace, `git diff --name-only` does not respect the -w flag. regen_perly.pl is left alone. That would require rebuilding perly.* which is beyond a simple indentation change.
* fix parallel ALL_STATIC Win32 buildDaniel Dragan2018-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normalize depends on mktables's output. Mktables is a very long serial CPU intensive build product. No other modules except Normalize depend on mktables. Normalize XS module must be split out from all other XS modules to fill CPU cores with parallel work, so that the 2 longest running tagets, Mktables and all XS modules, run in parallel instead of 1 after another. Since Normalize was hardcoded as a dynamic module, in an ALL_STATIC build, Normalize was build twice, once as a static in the big Extensions_static target, and once as a dynamic module, a race happened if a parallel build was done, and if the Extensions_static target got around to trying to build Normalize static, before by chance Normalize dyn was build, Normalize static failed. This can be demostrated by cleaning the src tree and building each target individually explicitly. Fix the race by creating a Normalize static and dynamic target and dropout the deps depending on if its ALL_STATIC or not. Also the now "big" Extensions_static target when doing an ALL_STATIC build also failed because the general XS modules that need lib.pm to build didn't have lib.pm available when their Makefile.PL'es were run. For example cpan/Compress-Raw-Bzip2 needs lib.pm to build. So separate out lib.pm from Dynaloader target so both dyn extensions and static exts have lib.pm available. Technically, static exts dont need lib.pm unless its ALL_STATIC, since for dyn win32 perl Win32CORE is the only static module, but lib.pm is relativly fast and easy and low dep to build so build it anyways for static ext target in non-ALL_STATIC mode rather than special case the dep between ALL_STATIC and non-ALL_STATIC. -re.pm doesn't need lib.pm -normalize doesn't need lib.pm Reverts "Fix static builds with MinGW" commit 9999704e7ac and adds fixes. This is a follow on to [perl #132992]. To reduce the diff-ness between the dmake and gmake mkfs. Make the distclean identical. For dmkf, dont delete Storable.pm twice. And for gmfk add Amiga dir deletion since lib_cleanup.pl requires it for dmkf but the original day 1 of gmkf in commit 342634f3c8 "kmx's original GNUmakefile" never had the Amiga line, but that day 1 commit also never added GNUmakefile to lib_cleanup.pl the way makefile.mk was already added and chked for its dir clean list. So add GNUmakefile to be chked by lib_cleanup.pl the way the other 2 win32 mkfs are checked. In gmfk move Storable.pm line to match dmfk which is more psuedo-alpha sorted. Also fix the Test vs Test2 typo. Some more text is available in the ticket associated with this patch.
* Replace multiple 'use vars' by 'our' in regen.Nicolas R2017-11-111-1/+1
| | | | then run ./regen_perly.pl to update perly files
* Skip various tests if PERL_BUILD_PACKAGING is setDominic Hargreaves2017-10-241-0/+5
| | | | | | These are tests which tend not to be useful for downstream packagers t/porting/customized.t change originally from Todd Rinaldo
* Patch unit tests to explicitly insert "." into @INC when needed.H.Merijn Brand2016-11-111-2/+2
| | | | | require calls now require ./ to be prepended to the file since . is no longer guaranteed to be in @INC.
* Generate the lib/ cleanup rules in the Win32 Makefiles from MANIFEST.Nicholas Clark2013-07-241-4/+32
|
* Generate the lib/ cleanup rules in Makefile.SH automatically from MANIFEST.Nicholas Clark2013-07-241-3/+33
|
* Generate lib/.gitignore from MANIFEST.Nicholas Clark2013-07-241-0/+122
It's possible to programmatically determine almost all the files and directories which will be created in lib/ by building the extensions. Hence add a new script regen/lib_cleanup.pl to do this. This saves having to manually update lib/.gitignore to reflect changes in the build products of extensions, which has become a small but reoccurring instance of scut-work.