Skip to content

Instantly share code, notes, and snippets.

@whb07
Created July 9, 2021 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whb07/0a9ee26eea0ff989313e666c426520af to your computer and use it in GitHub Desktop.
Save whb07/0a9ee26eea0ff989313e666c426520af to your computer and use it in GitHub Desktop.
PS C:\Users\user1\Downloads\include-what-you-use\build> cmake .. -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_PREFIX_PATH="C:/Program Files/LLVM/lib" -DCMAKE_BUILD_TYPE=Release
-- IWYU: out-of-tree configuration
-- The C compiler identification is Clang 13.0.0 with GNU-like command-line
-- The CXX compiler identification is Clang 13.0.0 with GNU-like command-line
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/LLVM/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/LLVM/bin/clang++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- IWYU: configuring for LLVM 13.0.0git...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.31.1.windows.1")
-- Found PythonInterp: C:/Users/user1/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.4")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/user1/Downloads/include-what-you-use/build
PS C:\Users\user1\Downloads\include-what-you-use\build> cmake --build . --config Release -j 32
[171/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.obj
../iwyu_globals.cc:160:15: warning: 'getenv' is deprecated: This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
verbose(getenv("IWYU_VERBOSE") ? atoi(getenv("IWYU_VERBOSE")) : 1),
^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\stdlib.h:1183:20: note: 'getenv' has been explicitly marked deprecated here
_Check_return_ _CRT_INSECURE_DEPRECATE(_dupenv_s)
^
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.29.30130\include\vcruntime.h:320:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
#define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \
^
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.29.30130\include\vcruntime.h:310:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
#define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
^
../iwyu_globals.cc:160:45: warning: 'getenv' is deprecated: This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
verbose(getenv("IWYU_VERBOSE") ? atoi(getenv("IWYU_VERBOSE")) : 1),
^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\stdlib.h:1183:20: note: 'getenv' has been explicitly marked deprecated here
_Check_return_ _CRT_INSECURE_DEPRECATE(_dupenv_s)
^
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.29.30130\include\vcruntime.h:320:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
#define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \
^
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.29.30130\include\vcruntime.h:310:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
#define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
^
2 warnings generated.
[179/179] Linking CXX executable bin\include-what-you-use.exe
lld-link: warning: ignoring unknown argument '--gc-sections'
PS C:\Users\user1\Downloads\include-what-you-use\build>
PS C:\Users\user1\Downloads\include-what-you-use\build> cmake .. -G Ninja -DCMAKE_PREFIX_PATH="C:/Program Files/LLVM/lib" -DCMAKE_BUILD_TYPE=Release
-- IWYU: out-of-tree configuration
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success
-- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG
-- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Failed
-- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG
-- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Failed
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Failed
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- IWYU: configuring for LLVM 13.0.0git...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.31.1.windows.1")
-- Found PythonInterp: C:/Users/user1/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.4")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/user1/Downloads/include-what-you-use/build
PS C:\Users\user1\Downloads\include-what-you-use\build> cmake --build . --config Release -j 32
[166/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[167/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[168/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[169/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[170/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj
C:\PROGRA~1\MINGW-~1\X86_64~1.0-W\mingw64\bin\C__~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"a295184\" -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Wa,-mbig-obj -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -ffunction-sections -fdata-sections -Wa,-mbig-obj -O3 -DNDEBUG -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_driver.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj -c ../iwyu_driver.cc
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
In file included from C:/Program Files/LLVM/include/clang/Frontend/Utils.h:26,
from C:/Program Files/LLVM/include/clang/Frontend/CompilerInstance.h:17,
from ../iwyu_driver.cc:34:
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:8: error: 'mutex' in namespace 'std' does not name a type
std::mutex Mutex;
^~~~~
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:3: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:17:1:
+#include <mutex>
#include <string>
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:3:
std::mutex Mutex;
^~~
[171/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[172/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[173/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[174/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[175/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[176/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_output.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
[177/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu.cc.obj
FAILED: CMakeFiles/include-what-you-use.dir/iwyu.cc.obj
C:\PROGRA~1\MINGW-~1\X86_64~1.0-W\mingw64\bin\C__~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"a295184\" -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Wa,-mbig-obj -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -ffunction-sections -fdata-sections -Wa,-mbig-obj -O3 -DNDEBUG -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu.cc.obj -c ../iwyu.cc
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
In file included from C:/Program Files/LLVM/include/clang/Frontend/Utils.h:26,
from C:/Program Files/LLVM/include/clang/Frontend/CompilerInstance.h:17,
from ../iwyu.cc:135:
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:8: error: 'mutex' in namespace 'std' does not name a type
std::mutex Mutex;
^~~~~
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:3: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:17:1:
+#include <mutex>
#include <string>
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:3:
std::mutex Mutex;
^~~
In file included from ../iwyu_ast_util.h:19,
from ../iwyu.cc:104:
../iwyu_ast_util.h: In member function 'const void* include_what_you_use::ASTNode::DynCast(const void*) const [with Ignored = void]':
../iwyu_port.h:60:46: warning: control reaches end of non-void function [-Wreturn-type]
::include_what_you_use::OstreamVoidifier() & \
~~~~~~~~~~~~~~~~~~~^~~
::include_what_you_use::FatalMessageEmitter( \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__FILE__, __LINE__, message).stream()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../iwyu_ast_util.h:304:5: note: in expansion of macro 'CHECK_UNREACHABLE_'
CHECK_UNREACHABLE_("Unknown kind");
^~~~~~~~~~~~~~~~~~
[178/179] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.obj
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
ninja: build stopped: subcommand failed.
PS C:\Users\user1\Downloads\include-what-you-use\build>
PS C:\Users\user1\Downloads\include-what-you-use\build> cmake .. -DCMAKE_PREFIX_PATH="C:/Program Files/LLVM/lib" -DZLIB_LIBRARY="C:/dev/vcpkg/installed/x64-windows-static/lib/zlib.lib" -DZLIB_INCLUDE_DIR="C:/dev/vcpkg/installed/x64-windows-static/include" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="/MP32 /Zm2000"
-- Building for: Visual Studio 16 2019
-- IWYU: out-of-tree configuration
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
-- The C compiler identification is MSVC 19.28.29914.0
-- The CXX compiler identification is MSVC 19.28.29914.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using Debug VC++ CRT: MDd
-- Using Release VC++ CRT: MD
-- Using MinSizeRel VC++ CRT: MD
-- Using RelWithDebInfo VC++ CRT: MD
-- Using Release VC++ CRT: MD
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- IWYU: configuring for LLVM 13.0.0git...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.31.1.windows.1")
-- Found PythonInterp: C:/Users/user1/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.4")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
ZLIB_INCLUDE_DIR
ZLIB_LIBRARY
-- Build files have been written to: C:/Users/user1/Downloads/include-what-you-use/build
PS C:\Users\user1\Downloads\include-what-you-use\build> cmake --build . --config Release -j 32
Microsoft (R) Build Engine version 16.9.0+5e4b48a27 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Copying clang's __clang_cuda_builtin_vars.h...
Copying clang's __clang_cuda_cmath.h...
Copying clang's __clang_cuda_complex_builtins.h...
Copying clang's __clang_cuda_device_functions.h...
Copying clang's __clang_cuda_intrinsics.h...
Copying clang's __clang_cuda_libdevice_declares.h...
Copying clang's __clang_cuda_math.h...
Copying clang's __clang_cuda_math_forward_declares.h...
Copying clang's __clang_cuda_runtime_wrapper.h...
Copying clang's __clang_hip_cmath.h...
Copying clang's __clang_hip_libdevice_declares.h...
Copying clang's __clang_hip_math.h...
Copying clang's __clang_hip_runtime_wrapper.h...
Copying clang's __stddef_max_align_t.h...
Copying clang's __wmmintrin_aes.h...
Copying clang's __wmmintrin_pclmul.h...
Copying clang's adxintrin.h...
Copying clang's altivec.h...
Copying clang's ammintrin.h...
Copying clang's amxintrin.h...
Copying clang's arm64intr.h...
Copying clang's arm_acle.h...
Copying clang's arm_bf16.h...
Copying clang's arm_cde.h...
Copying clang's arm_cmse.h...
Copying clang's arm_fp16.h...
Copying clang's arm_mve.h...
Copying clang's arm_neon.h...
Copying clang's arm_sve.h...
Copying clang's armintr.h...
Copying clang's avx2intrin.h...
Copying clang's avx512bf16intrin.h...
Copying clang's avx512bitalgintrin.h...
Copying clang's avx512bwintrin.h...
Copying clang's avx512cdintrin.h...
Copying clang's avx512dqintrin.h...
Copying clang's avx512erintrin.h...
Copying clang's avx512fintrin.h...
Copying clang's avx512ifmaintrin.h...
Copying clang's avx512ifmavlintrin.h...
Copying clang's avx512pfintrin.h...
Copying clang's avx512vbmi2intrin.h...
Copying clang's avx512vbmiintrin.h...
Copying clang's avx512vbmivlintrin.h...
Copying clang's avx512vlbf16intrin.h...
Copying clang's avx512vlbitalgintrin.h...
Copying clang's avx512vlbwintrin.h...
Copying clang's avx512vlcdintrin.h...
Copying clang's avx512vldqintrin.h...
Copying clang's avx512vlintrin.h...
Copying clang's avx512vlvbmi2intrin.h...
Copying clang's avx512vlvnniintrin.h...
Copying clang's avx512vlvp2intersectintrin.h...
Copying clang's avx512vnniintrin.h...
Copying clang's avx512vp2intersectintrin.h...
Copying clang's avx512vpopcntdqintrin.h...
Copying clang's avx512vpopcntdqvlintrin.h...
Copying clang's avxintrin.h...
Copying clang's avxvnniintrin.h...
Copying clang's bmi2intrin.h...
Copying clang's bmiintrin.h...
Copying clang's cet.h...
Copying clang's cetintrin.h...
Copying clang's cldemoteintrin.h...
Copying clang's clflushoptintrin.h...
Copying clang's clwbintrin.h...
Copying clang's clzerointrin.h...
Copying clang's cpuid.h...
Copying clang's cuda_wrappers/algorithm...
Copying clang's cuda_wrappers/complex...
Copying clang's cuda_wrappers/new...
Copying clang's emmintrin.h...
Copying clang's enqcmdintrin.h...
Copying clang's f16cintrin.h...
Copying clang's float.h...
Copying clang's fma4intrin.h...
Copying clang's fmaintrin.h...
Copying clang's fxsrintrin.h...
Copying clang's gfniintrin.h...
Copying clang's hexagon_circ_brev_intrinsics.h...
Copying clang's hexagon_protos.h...
Copying clang's hexagon_types.h...
Copying clang's hresetintrin.h...
Copying clang's htmintrin.h...
Copying clang's htmxlintrin.h...
Copying clang's hvx_hexagon_protos.h...
Copying clang's ia32intrin.h...
Copying clang's immintrin.h...
Copying clang's intrin.h...
Copying clang's inttypes.h...
Copying clang's invpcidintrin.h...
Copying clang's iso646.h...
Copying clang's keylockerintrin.h...
Copying clang's limits.h...
Copying clang's lwpintrin.h...
Copying clang's lzcntintrin.h...
Copying clang's mm3dnow.h...
Copying clang's mm_malloc.h...
Copying clang's mmintrin.h...
Copying clang's module.modulemap...
Copying clang's movdirintrin.h...
Copying clang's msa.h...
Copying clang's mwaitxintrin.h...
Copying clang's nmmintrin.h...
Copying clang's opencl-c-base.h...
Copying clang's opencl-c.h...
Copying clang's openmp_wrappers/__clang_openmp_device_functions.h...
Copying clang's openmp_wrappers/cmath...
Copying clang's openmp_wrappers/complex...
Copying clang's openmp_wrappers/complex.h...
Copying clang's openmp_wrappers/complex_cmath.h...
Copying clang's openmp_wrappers/math.h...
Copying clang's openmp_wrappers/new...
Copying clang's pconfigintrin.h...
Copying clang's pkuintrin.h...
Copying clang's pmmintrin.h...
Copying clang's popcntintrin.h...
Copying clang's ppc_wrappers/emmintrin.h...
Copying clang's ppc_wrappers/mm_malloc.h...
Copying clang's ppc_wrappers/mmintrin.h...
Copying clang's ppc_wrappers/pmmintrin.h...
Copying clang's ppc_wrappers/smmintrin.h...
Copying clang's ppc_wrappers/tmmintrin.h...
Copying clang's ppc_wrappers/xmmintrin.h...
Copying clang's prfchwintrin.h...
Copying clang's ptwriteintrin.h...
Copying clang's rdseedintrin.h...
Copying clang's riscv_vector.h...
Copying clang's rtmintrin.h...
Copying clang's s390intrin.h...
Copying clang's serializeintrin.h...
Copying clang's sgxintrin.h...
Copying clang's shaintrin.h...
Copying clang's smmintrin.h...
Copying clang's stdalign.h...
Copying clang's stdarg.h...
Copying clang's stdatomic.h...
Copying clang's stdbool.h...
Copying clang's stddef.h...
Copying clang's stdint.h...
Copying clang's stdnoreturn.h...
Copying clang's tbmintrin.h...
Copying clang's tgmath.h...
Copying clang's tmmintrin.h...
Copying clang's tsxldtrkintrin.h...
Copying clang's uintrintrin.h...
Copying clang's unwind.h...
Copying clang's vadefs.h...
Copying clang's vaesintrin.h...
Copying clang's varargs.h...
Copying clang's vecintrin.h...
Copying clang's vpclmulqdqintrin.h...
Copying clang's waitpkgintrin.h...
Copying clang's wasm_simd128.h...
Copying clang's wbnoinvdintrin.h...
Copying clang's wmmintrin.h...
Copying clang's x86gprintrin.h...
Copying clang's x86intrin.h...
Copying clang's xmmintrin.h...
Copying clang's xopintrin.h...
Copying clang's xsavecintrin.h...
Copying clang's xsaveintrin.h...
Copying clang's xsaveoptintrin.h...
Copying clang's xsavesintrin.h...
Copying clang's xtestintrin.h...
Building Custom Rule C:/Users/user1/Downloads/include-what-you-use/CMakeLists.txt
Building Custom Rule C:/Users/user1/Downloads/include-what-you-use/CMakeLists.txt
iwyu.cc
iwyu_ast_util.cc
iwyu_cache.cc
iwyu_driver.cc
iwyu_getopt.cc
iwyu_globals.cc
iwyu_include_picker.cc
iwyu_lexer_utils.cc
iwyu_location_util.cc
iwyu_output.cc
iwyu_path_util.cc
iwyu_preprocessor.cc
iwyu_verrs.cc
include-what-you-use.vcxproj -> C:\Users\user1\Downloads\include-what-you-use\build\bin\Release\include-what-you-use.exe
Building Custom Rule C:/Users/user1/Downloads/include-what-you-use/CMakeLists.txt
PS C:\Users\user1\Downloads\include-what-you-use\build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment