build: better error message on python fail#17298
build: better error message on python fail#17298refack wants to merge 3 commits intonodejs:masterfrom
Conversation
|
I suggest this as an alternative to #17293 |
31ff552 to
6a10eb5
Compare
|
/CC @nodejs/build @nodejs/platform-windows |
|
This still has the issues I mentioned in #17015 (comment). Namely:
|
|
(2) bug fixed, and made the "validation" section explicit. What I suggest is that we are gaining more then we're losing. Using |
| if "%target%"=="Clean" rmdir /S /Q %~dp0deps\icu | ||
| :no-depsicu | ||
|
|
||
| call :getnodeversion || exit /b 1 |
There was a problem hiding this comment.
The next line uses FULLVERSION which is populated in getnodeversion.
There was a problem hiding this comment.
Fixed by making the rmdir line more generic.
There was a problem hiding this comment.
%TAG% is used in project-gen too.
|
I'll continue working on refactoring the MSI & release bits to a separate batch file, that way we can wrap python, and other dependency resolution in a consistent way, and handle that section differently since is not used by occasional builders. |
46ec09d to
aa15c27
Compare
| @@ -354,6 +363,7 @@ if not defined msi goto run | |||
|
|
|||
| :msibuild | |||
| echo Building node-v%FULLVERSION%-%target_arch%.msi | |||
There was a problem hiding this comment.
Isn't %FULLVERSION% set by getnodeversion?
|
Ping @refack |
|
Closing due to long inactivity. @refack please feel free to reopen if you would like to continue working on this! |
Fixes: #16864
Refs: #17293
On a machine without python installed:
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
build,windows,tools