Uh oh!
There was an error while loading. Please reload this page.
win, build: add arbitrary MSBuild flag option and binlog option - #25994
win, build: add arbitrary MSBuild flag option and binlog option#25994jkunkee wants to merge 1 commit into
Conversation
94eea9a to
623ec64CompareUh oh!
There was an error while loading. Please reload this page.
refack
commented
Feb 7, 2019
Hello @jkunkee I like the idea behind the proposed change, but I think we can do it with a simpler, more generic way 🤷♂️. P.S. If you have any questions you can also feel free to contact me directly. |
refack
commented
Feb 7, 2019
/CC @nodejs/build-files @nodejs/platform-windows |
jkunkee
commented
Feb 8, 2019
Thanks for the welcome and the review! I've reread the contributor and PR guides and will email you soon. |
4bed141 to
490f726CompareUh oh!
There was an error while loading. Please reload this page.
4edce07 to
cf0681cComparejkunkee
commented
Feb 10, 2019
Note new commit message ( |
CI: https://ci.nodejs.org/view/All/job/node-test-pull-request/20750/ ❌ (arm-fanned) @refack does your request for changes still hold? |
This change adds a 'msbuild_arg' option to vcbuild.bat that can be used to pass arbitrary flags to MSBuild. It also adds a 'binlog' flag as a shortcut 'msbuild_arg' option to enable binary logging to `%config%\node.binlog`. This is especially convenient when debugging changes to the build system. In the process of developing this change, the idea of adding 'setlocal' to the beginning of the script was rejected since other scripts in this repo rely on the exported environment variables. This change adds a note describing this.
cf0681c to
11b5a48Compare@refack I believe your feedback has been addressed, I'll assume there's no problem with landing this. CI: https://ci.nodejs.org/job/node-test-pull-request/21182/ ✔️ |
This change adds a 'msbuild_arg' option to vcbuild.bat that can be used to pass arbitrary flags to MSBuild. It also adds a 'binlog' flag as a shortcut 'msbuild_arg' option to enable binary logging to `%config%\node.binlog`. This is especially convenient when debugging changes to the build system. In the process of developing this change, the idea of adding 'setlocal' to the beginning of the script was rejected since other scripts in this repo rely on the exported environment variables. This change adds a note describing this. PR-URL: #25994 Reviewed-By: João Reis <reis@janeasystems.com>
joaocgreis
commented
Mar 4, 2019
jkunkee
commented
Mar 4, 2019
Thanks, @joaocgreis! |
PR-URL: nodejs#26431 Refs: nodejs#25994 Reviewed-By: João Reis <reis@janeasystems.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This change adds a 'msbuild_arg' option to vcbuild.bat that can be used to pass arbitrary flags to MSBuild. It also adds a 'binlog' flag as a shortcut 'msbuild_arg' option to enable binary logging to `%config%\node.binlog`. This is especially convenient when debugging changes to the build system. In the process of developing this change, the idea of adding 'setlocal' to the beginning of the script was rejected since other scripts in this repo rely on the exported environment variables. This change adds a note describing this. PR-URL: nodejs#25994 Reviewed-By: João Reis <reis@janeasystems.com>
PR-URL: nodejs#26431 Refs: nodejs#25994 Reviewed-By: João Reis <reis@janeasystems.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This change adds a 'msbuild_arg' option to vcbuild.bat that can be used to pass arbitrary flags to MSBuild. It also adds a 'binlog' flag as a shortcut 'msbuild_arg' option to enable binary logging to `%config%\node.binlog`. This is especially convenient when debugging changes to the build system. In the process of developing this change, the idea of adding 'setlocal' to the beginning of the script was rejected since other scripts in this repo rely on the exported environment variables. This change adds a note describing this. PR-URL: #25994 Reviewed-By: João Reis <reis@janeasystems.com>
This commit adds a 'verbose' flag to vcbuild.bat that turns on outputs
useful for build debugging, including MSBuild BinLogging and
DEBUG_HELPER logging.
It also adds a 'setlocal' call so internal environment variables no
longer leak out to the calling shell.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes[Edit: Note new commit message (
cf0681c)]