This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove useless build product /win32/config.w32
CFGSH_TMPL (config.gc or config.vc) is not written to by config_sh.PL, so
there is no need to make a copy of it, this reduces 1 target node out of
dmake so there are less targets to traverse for dep checking, this also
fixes an "dmake -n" schedule irregularity where
"copy $(CFGSH_TMPL) config.w32" was scheduled (for serial) as the very
first recipie to run by dmake for a "dmake -n Extensions" but a recipie
in the middle of the procs to launch for "dmake -n Extensions_nonxs". This
schedule irregularity might be causing delays in finding parallel work to
do. Also arrange ..\config.sh target's deps from "on disk" to
"build product" order, so the left side dep nodes get marked "completed"
ASAP in the graph.
--- C:\p523\src\win32\xs.txt
+++ C:\p523\src\win32\nonxs.txt
@@ -1,3 +1,4 @@
+copy config.vc config.w32
if not exist ".\mini" mkdir ".\mini"
if exist config.h del /f config.h
copy config_H.vc config.h
@@ -141,20 +142,11 @@
@C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\mk31
if exist ..\miniperl.exe.manifest mt -nologo -manifest **CUT**
..\miniperl.exe -I..\lib -f ..\write_buildcustomize.pl ..
-copy config.vc config.w32
..\miniperl.exe -I..\lib config_sh.PL --cfgsh-option-file \
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\mk32 config.w32 > ..\config.sh
..\miniperl.exe -I..\lib ..\configpm --chdir=..
xcopy /f /r /i /d /y config.h ..\lib\CORE\*.*
..\miniperl.exe -I..\lib config_h.PL "ARCHPREFIX="
[Committer indented above diff to allow "git am" to apply the patch.]