Advertisement
Guest User

Untitled

a guest
Oct 28th, 2020
2,040
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. Things in the tools folder that do things differently if "OFFICIAL_BUILD_MACHINE" is set:
  2.  
  3. in razzle.cmd:
  4. set __BUILDMACHINE__=%_BuildBranch%
  5. set NO_PDB_PATHS=1
  6. if type is "fre", sets _NTPOGODIR depending on what branch is set to
  7.  
  8. in makefile.def:
  9. adds "-DOFFICIAL_BUILD=1" to TARGET_DBG_DEFINES
  10.  
  11. in postbuild.cmd
  12. sets compression to true, regardless of cpu cores
  13.  
  14. in timebuild.pl
  15. some check around line 404, doesn't look like it changes anything meaningful
  16.  
  17. in verifybuildmachine.cmd
  18. checks BuildMachines.txt and sets/unsets OFFICIAL_BUILD_MACHINE accordingly
  19.  
  20. in pbuild.dat:
  21. adds "PostBuildScripts\capturesourcefilelist.cmd -g ntdev"
  22. and "PostBuildScripts\submit_public.cmd"
  23. to the list of scripts to run during postbuild
  24.  
  25. in postbuildscripts/catsign.cmd
  26. copies some extra files "for testing purposes" if it is == "1"
  27.  
  28. in postbuildscripts/cdimage.cmd
  29. sets compression to true, regardless of cpu cores
  30.  
  31. in postbuildscripts/copywow64.cmd
  32. sets compression to true, regardless of cpu cores
  33. calls errmsg.cmd instead of logmsg.cmd and does goto :END around line 137
  34. displays a different error message around line 293
  35.  
  36. in postbuildscripts/cplocation.cmd
  37. according to message at the beginning of the file:
  38. "If OFFICIAL_BUILD_MACHINE is set will loop waiting for a
  39. matching build number. Otherwise, just wait for any x86
  40. build of the same debug type."
  41.  
  42. in postbuildscripts/ddkcabs.bat
  43. script only "builds" if "-f" is passed, OFFICIAL_BUILD_MACHINE is set or if __BUILDMACHINE__ == "LB6RI"
  44.  
  45. in postbuildscripts/deletebuild.cmd
  46. has some check for it around line 917
  47.  
  48. in postbuildscripts/makebfloppy.cmd
  49. sets compression to true, regardless of cpu cores
  50.  
  51. in postbuildscripts/makeprocd2.cmd
  52. sets compression to true, regardless of cpu cores
  53.  
  54. in postbuildscripts/pbuild.cmd
  55. only adds lines beginning with "OFFICIAL" to list of scripts to run if OFFICIAL_BUILD_MACHINE is set
  56.  
  57. in postbuildscripts/pdbsrcstream.cmd
  58. script doesn't run unless it is set
  59.  
  60. in postbuildscripts/release.cmd
  61. only runs "miscrel.cmd" and "startsymcopy.pl" if OFFICIAL_BUILD_MACHINE is set
  62.  
  63. in postbuildscripts/submit_public.cmd
  64. script doesn't run unless it is set
  65.  
  66. in postbuildscripts/symbolcd.cmd
  67. script doesn't run unless it is set
  68.  
  69. in postbuildscripts/symcd.cmd
  70. according to message at the beginning of the file:
  71. "If you define Official_Build_Machine, the script creates the cabs. If not, the
  72. default does only munge public symbols."
  73.  
  74. in postbuildscripts/symindex.pm
  75. doesn't "index symbols" unless it is set
  76.  
  77. in postbuildscripts/symmungepublic.cmd
  78. has some lines starting with # that mention the variable
  79.  
  80. in octobuild.cmd (which I'm pretty sure we don't use at all):
  81. runs "CaptureSourceFilelist.cmd"
  82. runs "perl release.pl"
  83. runs "postbuildscripts\AutoBootTest.cmd"
  84.  
  85. in popfilter/popfilter.pl (which I'm pretty sure we don't use at all):
  86. does something with symbols
  87. (around lines 813 and 959)
  88.  
  89. in quickindex.cmd (which I'm pretty sure we don't use at all)
  90. script only runs if it is set
  91.  
  92. in sendbuildstats.pl (which I'm pretty sure we don't use at all)
  93. script does some things differently
  94.  
  95. in sendbuildstatslab7.pl (which I'm pretty sure we don't use at all)
  96. script does some things differently
  97.  
  98. in setbuildstatus.cmd (which I'm pretty sure we don't use at all)
  99. script doesn't really do anything meaningful unless it is set
  100.  
  101. in postbuildscripts/capturesourcefilelist.cmd (which has to do with source depot, so we can't really run it properly)
  102. script doesn't run unless it is set
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement