Task 70622293175

build: Use clang-cl to build on Windows natively

2026-04-09 14:13:54 completed 241216-clang-cl ca165a4ecf4859ede995f3988051b0c3bf25d50a


Commands that took longer than 1 second (total 34m26s)
linedurationpercentagecommand
1456s0%'"' C : '\' W i n d o w s '\' s y s t e m 3 2 '\' c m d . e x e '"' ' ' / s ' ' / c ' ' '"' '"' C : '\' P r o g r a m ' ' F i l e s '\' M i c r o s o f t ' ' V i s u a l ' ' S t u d i o '\' 1 8 '\' E n t e r p r i s e '\' C o m m o n 7 '\' T o o l s '\' v s d e v c m d . b a t '"' ' ' - a r c h = x 6 4 ' ' - n o _ l o g o ' ' '&' '&' ' ' s e t '"'
3711s0%tee msbuild_version
37950s2%bash --version
104135s1%cmake -E env 'CXXFLAGS=-Wno-return-type -Wno-error=conditional-uninitialized' cmake -B build -Werror=dev --preset=windows -DVCPKG_HOST_TRIPLET=x64-windows-release -DVCPKG_TARGET_TRIPLET=x64-windows-release -DBUILD_BENCH=ON -DBUILD_KERNEL_LIB=ON -DBUILD_UTIL_CHAINSTATE=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON
14621m10s3%library
17651s0%compiler flags .................. -Wno-return-type -Wno-error=conditional-uninitialized /DWIN32 /D_WINDOWS /EHsc -g -Og --coverage -std:c++20 /utf-8 /Zc:preprocessor /Zc:__cplusplus /sdl /W3 -Wextra -Wgnu -Wcovered-switch-default -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter
198916m44s48%cmake --build build --config Release -j 4
27305s0%'C:\hostedtoolcache\windows\Python\3.14.3\x64\python.exe' -m pip install pyzmq
29521m39s4%ctest --test-dir 'D:\a\bitcoin\bitcoin\build' --output-on-failure --stop-on-failure -j 4 --build-config Release
327012m59s37%'C:\hostedtoolcache\windows\Python\3.14.3\x64\python.exe' 'D:\a\bitcoin\bitcoin\build\test\functional\test_runner.py' --jobs 4 --quiet '--tmpdirprefix=D:\a\bitcoin\bitcoin' --combinedlogslen=99999999 --timeout-factor=40
Tags
  • Windows native, clang-cl
  • 241216-clang-cl
  • COMPLETED