Skip to content

Commit 4f64d2b

Browse files
committed
build,win: improve logs when ClangCL is missing
1 parent 70093c7 commit 4f64d2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vcbuild.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ call :getnodeversion || exit /b 1
246246
set NODE_MAJOR_VERSION=
247247
for /F "tokens=1 delims=." %%i in ("%NODE_VERSION%") do set "NODE_MAJOR_VERSION=%%i"
248248
if %NODE_MAJOR_VERSION% GEQ 24 (
249-
echo Using ClangCL because the Node.js version being compiled is ^>= 24.
249+
echo ClangCL is required because the Node.js version being compiled is ^>= 24.
250250
set clang_cl=1
251251
)
252252

@@ -324,7 +324,7 @@ goto msbuild-found
324324

325325
:msbuild-not-found
326326
set "clang_echo="
327-
if defined clang_cl set "clang_echo= or Clang compiler/LLVM toolset"
327+
if defined clang_cl set "clang_echo= with Clang compiler/LLVM toolset"
328328
echo Failed to find a suitable Visual Studio installation%clang_echo%.
329329
echo Try to run in a "Developer Command Prompt" or consult
330330
echo https://github.com/nodejs/node/blob/HEAD/BUILDING.md#windows

0 commit comments

Comments
 (0)