Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openblas] Build error on x64-windows #42585

Closed
theoractice opened this issue Dec 7, 2024 · 4 comments
Closed

[openblas] Build error on x64-windows #42585

theoractice opened this issue Dec 7, 2024 · 4 comments

Comments

@theoractice
Copy link

Package: openblas:[email protected]#1

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.42.34435.0
  • vcpkg-tool version: 2024-11-12-eb492805e92a2c14a230f5c3deb3e89f6771c321
    vcpkg-scripts version: 20a72ce 2024-12-06 (13 hours ago)

To Reproduce

vcpkg install blas

Failure logs

-- Using cached openblas-fix-arm64-windows-uwp.patch.
-- Using cached OpenMathLib-OpenBLAS-v0.3.28.tar.gz.
-- Cleaning sources at D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/Coding/vcpkg/downloads/OpenMathLib-OpenBLAS-v0.3.28.tar.gz
-- Applying patch arm32-asm-function.diff
-- Applying patch disable-testing.diff
-- Applying patch getarch.diff
-- Applying patch system-check-msvc.diff
-- Applying patch win32-uwp.diff
-- Applying patch D:/Coding/vcpkg/downloads/openblas-fix-arm64-windows-uwp.patch
-- Using source at D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean
-- OpenBLAS native build
-- Found external ninja('1.12.1').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-dbg-CMakeCache.txt.log
      D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-rel-CMakeCache.txt.log
      D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-dbg-CMakeConfigureLog.yaml.log
      D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-rel-CMakeConfigureLog.yaml.log
      D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
  ports/openblas/portfile.cmake:55 (vcpkg_cmake_configure)
  scripts/ports.cmake:196 (include)



D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-out.log
[1/2] "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe" "D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/Coding/vcpkg/packages/openblas_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DUSE_THREAD=OFF" "-DUSE_SIMPLE_THREADED_LEVEL3=OFF" "-DDYNAMIC_ARCH=OFF" "-DCMAKE_POLICY_DEFAULT_CMP0054=NEW" "-DCMAKE_PROJECT_INCLUDE=D:/Coding/vcpkg/ports/openblas/cmake-project-include.cmake" "-DBUILD_TESTING=OFF" "-DBUILD_WITHOUT_LAPACK=ON" "-DNOFORTRAN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Coding/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Coding/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Coding/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Coding/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../../x64-windows-dbg/CMakeCache.txt 
"D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe" "D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/Coding/vcpkg/packages/openblas_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DUSE_THREAD=OFF" "-DUSE_SIMPLE_THREADED_LEVEL3=OFF" "-DDYNAMIC_ARCH=OFF" "-DCMAKE_POLICY_DEFAULT_CMP0054=NEW" "-DCMAKE_PROJECT_INCLUDE=D:/Coding/vcpkg/ports/openblas/cmake-project-include.cmake" "-DBUILD_TESTING=OFF" "-DBUILD_WITHOUT_LAPACK=ON" "-DNOFORTRAN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Coding/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Coding/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Coding/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Coding/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
...
Skipped 207 lines
...
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is MSVC 19.42.34435.0
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- TARGET: <native> (OpenBLAS getarch/getarch_2nd)
CMake Warning at CMakeLists.txt:103 (message):
  CMake support is experimental.  It does not yet support all build options
  and may not produce the same Makefiles that OpenBLAS ships with.


-- Looking for stdatomic.h
-- Looking for stdatomic.h - not found
-- GEMM multithread threshold set to 4.
-- Disabling Advanced Vector Extensions 512 (AVX512).
-- MSVC
-- Running getarch
-- GETARCH results:

CMake Error at cmake/prebuild.cmake:1454 (ParseGetArchVars):
  ParseGetArchVars Function invoked with incorrect arguments for function
  named: ParseGetArchVars
Call Stack (most recent call first):
  cmake/system.cmake:169 (include)
  CMakeLists.txt:106 (include)


CMake Error at cmake/prebuild.cmake:1469 (MESSAGE):
  Compiling getarch_2nd failed Change Dir:
  'D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/getarch2_build/CMakeFiles/CMakeTmp'




  Run Build Command(s): "C:/Program Files/Microsoft Visual
  Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe"
  -v cmTC_8c28e

  [1/2]
  C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1442~1.344\bin\Hostx64\x64\cl.exe
  /nologo -DFORCE_GENERIC /nologo /DWIN32 /D_WINDOWS /utf-8 /MP /D_DEBUG /MDd
  /Z7 /Ob0 /Od /RTC1 -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_AVX512
  -DNO_PARALLEL_MAKE=0
  -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/getarch2_build"
  -I"D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean"
  -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel" /showIncludes
  /FoCMakeFiles\cmTC_8c28e.dir\getarch_2nd.c.obj
  /FdCMakeFiles\cmTC_8c28e.dir\ /FS -c
  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c


  FAILED: CMakeFiles/cmTC_8c28e.dir/getarch_2nd.c.obj 


  C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1442~1.344\bin\Hostx64\x64\cl.exe
  /nologo -DFORCE_GENERIC /nologo /DWIN32 /D_WINDOWS /utf-8 /MP /D_DEBUG /MDd
  /Z7 /Ob0 /Od /RTC1 -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_AVX512
  -DNO_PARALLEL_MAKE=0
  -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/getarch2_build"
  -I"D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean"
  -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel" /showIncludes
  /FoCMakeFiles\cmTC_8c28e.dir\getarch_2nd.c.obj
  /FdCMakeFiles\cmTC_8c28e.dir\ /FS -c
  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c


  cl: 命令行 warning D9002 :忽略未知选项“-march=native”


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(22):
  error C2065: “SGEMM_DEFAULT_UNROLL_M”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(23):
  error C2065: “SGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(24):
  error C2065: “DGEMM_DEFAULT_UNROLL_M”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(25):
  error C2065: “DGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(29):
  error C2065: “CGEMM_DEFAULT_UNROLL_M”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(30):
  error C2065: “CGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(31):
  error C2065: “ZGEMM_DEFAULT_UNROLL_M”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(32):
  error C2065: “ZGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(39):
  error C2065: “SGEMM_DEFAULT_UNROLL_M”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(45):
  error C2065: “SGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(51):
  error C2065: “DGEMM_DEFAULT_UNROLL_M”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(57):
  error C2065: “DGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(79):
  error C2065: “SGEMM_DEFAULT_Q”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(79):
  error C2065: “SGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(79):
  warning C4477: “printf”:
  格式字符串“%ld”需要类型“long”的参数,但可变参数 1
  拥有了类型“size_t”


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(79):
  note: 请考虑在格式字符串中使用“%zd”


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(80):
  error C2065: “DGEMM_DEFAULT_Q”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(80):
  error C2065: “DGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(80):
  warning C4477: “printf”:
  格式字符串“%ld”需要类型“long”的参数,但可变参数 1
  拥有了类型“size_t”


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(80):
  note: 请考虑在格式字符串中使用“%zd”


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(81):
  error C2065: “CGEMM_DEFAULT_Q”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(81):
  error C2065: “CGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(81):
  warning C4477: “printf”:
  格式字符串“%ld”需要类型“long”的参数,但可变参数 1
  拥有了类型“size_t”


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(81):
  note: 请考虑在格式字符串中使用“%zd”


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(82):
  error C2065: “ZGEMM_DEFAULT_Q”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(82):
  error C2065: “ZGEMM_DEFAULT_UNROLL_N”: 未声明的标识符


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(82):
  warning C4477: “printf”:
  格式字符串“%ld”需要类型“long”的参数,但可变参数 1
  拥有了类型“size_t”


  D:\Coding\vcpkg\buildtrees\openblas\src\v0.3.28-cd32970279.clean\getarch_2nd.c(82):
  note: 请考虑在格式字符串中使用“%zd”


  ninja: build stopped: subcommand failed.




Call Stack (most recent call first):
  cmake/system.cmake:169 (include)
  CMakeLists.txt:106 (include)


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.
D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-rel-CMakeCache.txt.log
# This is the CMakeCache file.
# For build in directory: d:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel
# It was generated by CMake: D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Build the collection of BLAS/LAPACK benchmarks
BUILD_BENCHMARKS:BOOL=OFF

//When building LAPACK, include also some older, deprecated routines
BUILD_LAPACK_DEPRECATED:BOOL=ON

//Build with ReLAPACK (recursive implementation of several LAPACK
// functions on top of standard LAPACK)
BUILD_RELAPACK:BOOL=OFF

//No help, variable specified on the command line.
BUILD_SHARED_LIBS:UNINITIALIZED=ON

//Build static library
BUILD_STATIC_LIBS:BOOL=OFF

//Build LAPACK testsuite when building LAPACK
BUILD_TESTING:BOOL=OFF

//Do not build the C interface (CBLAS) to the BLAS functions
BUILD_WITHOUT_CBLAS:BOOL=OFF

//Do not build LAPACK and LAPACKE (Only BLAS or CBLAS)
BUILD_WITHOUT_LAPACK:BOOL=ON

//Path to a program.
CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/lib.exe

//ASM compiler
CMAKE_ASM_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe

//Flags used by the ASM compiler during all build types.
CMAKE_ASM_FLAGS:STRING=

//Flags used by the ASM compiler during DEBUG builds.
CMAKE_ASM_FLAGS_DEBUG:STRING=

//Flags used by the ASM compiler during MINSIZEREL builds.
CMAKE_ASM_FLAGS_MINSIZEREL:STRING=

//Flags used by the ASM compiler during RELEASE builds.
CMAKE_ASM_FLAGS_RELEASE:STRING=

//Flags used by the ASM compiler during RELWITHDEBINFO builds.
CMAKE_ASM_FLAGS_RELWITHDEBINFO:STRING=

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Release

CMAKE_CROSSCOMPILING:STRING=OFF

CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP '

CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 '

CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 '

//C compiler
CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe

CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /utf-8 /MP '

CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 '

//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG

CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 '

//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG

//Libraries linked by default with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

//No help, variable specified on the command line.
CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo    /debug /INCREMENTAL

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  '

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//No help, variable specified on the command line.
...
Skipped 376 lines
...
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/ctest.exe
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake-gui.exe
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MT
CMAKE_MT-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//noop for ranlib
CMAKE_RANLIB:INTERNAL=:
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE
CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
GETARCH2_RESULT:INTERNAL=FALSE
//Result of TRY_COMPILE
GETARCH_RESULT:INTERNAL=TRUE
//Have include stdatomic.h
HAVE_C11:INTERNAL=
//Install the dependencies listed in your manifest:
//\n    If this is off, you will have to manually install your dependencies.
//\n    See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md
// for more info.
//\n
VCPKG_MANIFEST_INSTALL:INTERNAL=OFF
//ADVANCED property for variable: VCPKG_VERBOSE
VCPKG_VERBOSE-ADVANCED:INTERNAL=1
//Making sure VCPKG_MANIFEST_MODE doesn't change
Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF
//Vcpkg root directory
Z_VCPKG_ROOT_DIR:INTERNAL=D:/Coding/vcpkg
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=D:/Coding/vcpkg/packages/openblas_x64-windows

D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-dbg-CMakeCache.txt.log
# This is the CMakeCache file.
# For build in directory: d:/Coding/vcpkg/buildtrees/openblas/x64-windows-dbg
# It was generated by CMake: D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Build the collection of BLAS/LAPACK benchmarks
BUILD_BENCHMARKS:BOOL=OFF

//When building LAPACK, include also some older, deprecated routines
BUILD_LAPACK_DEPRECATED:BOOL=ON

//Build with ReLAPACK (recursive implementation of several LAPACK
// functions on top of standard LAPACK)
BUILD_RELAPACK:BOOL=OFF

//No help, variable specified on the command line.
BUILD_SHARED_LIBS:UNINITIALIZED=ON

//Build static library
BUILD_STATIC_LIBS:BOOL=OFF

//Build LAPACK testsuite when building LAPACK
BUILD_TESTING:BOOL=OFF

//Do not build the C interface (CBLAS) to the BLAS functions
BUILD_WITHOUT_CBLAS:BOOL=OFF

//Do not build LAPACK and LAPACKE (Only BLAS or CBLAS)
BUILD_WITHOUT_LAPACK:BOOL=ON

//Path to a program.
CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/lib.exe

//ASM compiler
CMAKE_ASM_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe

//Flags used by the ASM compiler during all build types.
CMAKE_ASM_FLAGS:STRING=

//Flags used by the ASM compiler during DEBUG builds.
CMAKE_ASM_FLAGS_DEBUG:STRING=

//Flags used by the ASM compiler during MINSIZEREL builds.
CMAKE_ASM_FLAGS_MINSIZEREL:STRING=

//Flags used by the ASM compiler during RELEASE builds.
CMAKE_ASM_FLAGS_RELEASE:STRING=

//Flags used by the ASM compiler during RELWITHDEBINFO builds.
CMAKE_ASM_FLAGS_RELWITHDEBINFO:STRING=

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Debug

CMAKE_CROSSCOMPILING:STRING=OFF

CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP '

CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 '

CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 '

//C compiler
CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe

CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /utf-8 /MP '

CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 '

//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG

CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 '

//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG

//Libraries linked by default with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

//No help, variable specified on the command line.
CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo    /debug /INCREMENTAL

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  '

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

...
Skipped 379 lines
...
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/ctest.exe
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake-gui.exe
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MT
CMAKE_MT-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//noop for ranlib
CMAKE_RANLIB:INTERNAL=:
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE
CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
GETARCH2_RESULT:INTERNAL=FALSE
//Result of TRY_COMPILE
GETARCH_RESULT:INTERNAL=TRUE
//Have include stdatomic.h
HAVE_C11:INTERNAL=
//Install the dependencies listed in your manifest:
//\n    If this is off, you will have to manually install your dependencies.
//\n    See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md
// for more info.
//\n
VCPKG_MANIFEST_INSTALL:INTERNAL=OFF
//ADVANCED property for variable: VCPKG_VERBOSE
VCPKG_VERBOSE-ADVANCED:INTERNAL=1
//Making sure VCPKG_MANIFEST_MODE doesn't change
Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF
//Vcpkg root directory
Z_VCPKG_ROOT_DIR:INTERNAL=D:/Coding/vcpkg
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=D:/Coding/vcpkg/packages/openblas_x64-windows/debug

D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-rel-CMakeConfigureLog.yaml.log

---
events:
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:205 (message)"
      - "CMakeLists.txt:7 (project)"
    message: |
      The system is: Windows - 10.0.19045 - AMD64
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
      - "CMakeLists.txt:7 (project)"
    message: |
      Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
      Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe 
      Build flags: /nologo;/DWIN32;/D_WINDOWS;/utf-8;/MP
      Id flags:  
      
      The output was:
      0
      CMakeCCompilerId.c
      
      
      Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"
      
      Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
      
      The C compiler identification is MSVC, found in:
        D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/CMakeFiles/3.30.1/CompilerIdC/CMakeCCompilerId.exe
      
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:1243 (message)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
      - "CMakeLists.txt:7 (project)"
    message: |
      Detecting C compiler /showIncludes prefix:
        main.c
        注意: 包含文件:  D:\\Coding\\vcpkg\\buildtrees\\openblas\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h
        
      Found prefix "注意: 包含文件:  "
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:1205 (message)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineASMCompiler.cmake:135 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
      - "CMakeLists.txt:7 (project)"
    message: |
      Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
      用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.42.34435 版
      版权所有(C) Microsoft Corporation。保留所有权利。
      
      cl: 命令行 warning D9002 :忽略未知选项“--version”
      cl: 命令行 error D8003 :缺少源文件名
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:1205 (message)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineASMCompiler.cmake:135 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
      - "CMakeLists.txt:7 (project)"
    message: |
      Checking whether the ASM compiler is AppleClang using "--version" did not match "(Apple (clang|LLVM) version)":
      用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.42.34435 版
      版权所有(C) Microsoft Corporation。保留所有权利。
      
...
Skipped 591 lines
...
        
      exitCode: 0
  -
    kind: "try_compile-v1"
    backtrace:
      - "cmake/prebuild.cmake:1461 (try_compile)"
      - "cmake/system.cmake:169 (include)"
      - "CMakeLists.txt:106 (include)"
    directories:
      source: "D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/getarch2_build/CMakeFiles/CMakeTmp"
      binary: "D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/getarch2_build/CMakeFiles/CMakeTmp"
    cmakeVariables:
      CMAKE_C_FLAGS: " /nologo /DWIN32 /D_WINDOWS /utf-8 /MP "
      CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: ""
      CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<STREQUAL:dynamic,dynamic>:DLL>"
      VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/Coding/vcpkg/scripts/toolchains/windows.cmake"
      VCPKG_CRT_LINKAGE: "dynamic"
      VCPKG_CXX_FLAGS: ""
      VCPKG_CXX_FLAGS_DEBUG: ""
      VCPKG_CXX_FLAGS_RELEASE: ""
      VCPKG_C_FLAGS: ""
      VCPKG_C_FLAGS_DEBUG: ""
      VCPKG_C_FLAGS_RELEASE: ""
      VCPKG_INSTALLED_DIR: "D:/Coding/vcpkg/installed"
      VCPKG_LINKER_FLAGS: ""
      VCPKG_LINKER_FLAGS_DEBUG: ""
      VCPKG_LINKER_FLAGS_RELEASE: ""
      VCPKG_PLATFORM_TOOLSET: "v143"
      VCPKG_PREFER_SYSTEM_LIBS: "OFF"
      VCPKG_SET_CHARSET_FLAG: "ON"
      VCPKG_TARGET_ARCHITECTURE: "x64"
      VCPKG_TARGET_TRIPLET: "x64-windows"
      Z_VCPKG_ROOT_DIR: "D:/Coding/vcpkg"
    buildResult:
      variable: "GETARCH2_RESULT"
      cached: true
      stdout: |
        Change Dir: 'D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/getarch2_build/CMakeFiles/CMakeTmp'
        
        Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_8c28e
        [1/2] C:\\PROGRA~1\\MICROS~1\\2022\\COMMUN~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\cl.exe  /nologo -DFORCE_GENERIC  /nologo /DWIN32 /D_WINDOWS /utf-8 /MP   /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1     -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_AVX512 -DNO_PARALLEL_MAKE=0 -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/getarch2_build" -I"D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean" -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel" /showIncludes /FoCMakeFiles\\cmTC_8c28e.dir\\getarch_2nd.c.obj /FdCMakeFiles\\cmTC_8c28e.dir\\ /FS -c D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c
        FAILED: CMakeFiles/cmTC_8c28e.dir/getarch_2nd.c.obj 
        C:\\PROGRA~1\\MICROS~1\\2022\\COMMUN~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\cl.exe  /nologo -DFORCE_GENERIC  /nologo /DWIN32 /D_WINDOWS /utf-8 /MP   /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1     -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_AVX512 -DNO_PARALLEL_MAKE=0 -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel/getarch2_build" -I"D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean" -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-rel" /showIncludes /FoCMakeFiles\\cmTC_8c28e.dir\\getarch_2nd.c.obj /FdCMakeFiles\\cmTC_8c28e.dir\\ /FS -c D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c
        cl: 命令行 warning D9002 :忽略未知选项“-march=native”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(22): error C2065: “SGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(23): error C2065: “SGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(24): error C2065: “DGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(25): error C2065: “DGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(29): error C2065: “CGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(30): error C2065: “CGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(31): error C2065: “ZGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(32): error C2065: “ZGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(39): error C2065: “SGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(45): error C2065: “SGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(51): error C2065: “DGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(57): error C2065: “DGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(79): error C2065: “SGEMM_DEFAULT_Q”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(79): error C2065: “SGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(79): warning C4477: “printf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 1 拥有了类型“size_t”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(79): note: 请考虑在格式字符串中使用“%zd”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(80): error C2065: “DGEMM_DEFAULT_Q”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(80): error C2065: “DGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(80): warning C4477: “printf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 1 拥有了类型“size_t”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(80): note: 请考虑在格式字符串中使用“%zd”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(81): error C2065: “CGEMM_DEFAULT_Q”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(81): error C2065: “CGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(81): warning C4477: “printf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 1 拥有了类型“size_t”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(81): note: 请考虑在格式字符串中使用“%zd”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(82): error C2065: “ZGEMM_DEFAULT_Q”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(82): error C2065: “ZGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(82): warning C4477: “printf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 1 拥有了类型“size_t”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(82): note: 请考虑在格式字符串中使用“%zd”
        ninja: build stopped: subcommand failed.
        
      exitCode: 1
...
D:\Coding\vcpkg\buildtrees\openblas\config-x64-windows-dbg-CMakeConfigureLog.yaml.log

---
events:
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:205 (message)"
      - "CMakeLists.txt:7 (project)"
    message: |
      The system is: Windows - 10.0.19045 - AMD64
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
      - "CMakeLists.txt:7 (project)"
    message: |
      Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
      Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe 
      Build flags: /nologo;/DWIN32;/D_WINDOWS;/utf-8;/MP
      Id flags:  
      
      The output was:
      0
      CMakeCCompilerId.c
      
      
      Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"
      
      Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
      
      The C compiler identification is MSVC, found in:
        D:/Coding/vcpkg/buildtrees/openblas/x64-windows-dbg/CMakeFiles/3.30.1/CompilerIdC/CMakeCCompilerId.exe
      
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:1243 (message)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
      - "CMakeLists.txt:7 (project)"
    message: |
      Detecting C compiler /showIncludes prefix:
        main.c
        注意: 包含文件:  D:\\Coding\\vcpkg\\buildtrees\\openblas\\x64-windows-dbg\\CMakeFiles\\ShowIncludes\\foo.h
        
      Found prefix "注意: 包含文件:  "
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:1205 (message)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineASMCompiler.cmake:135 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
      - "CMakeLists.txt:7 (project)"
    message: |
      Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
      用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.42.34435 版
      版权所有(C) Microsoft Corporation。保留所有权利。
      
      cl: 命令行 warning D9002 :忽略未知选项“--version”
      cl: 命令行 error D8003 :缺少源文件名
  -
    kind: "message-v1"
    backtrace:
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:1205 (message)"
      - "D:/Coding/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineASMCompiler.cmake:135 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
      - "CMakeLists.txt:7 (project)"
    message: |
      Checking whether the ASM compiler is AppleClang using "--version" did not match "(Apple (clang|LLVM) version)":
      用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.42.34435 版
      版权所有(C) Microsoft Corporation。保留所有权利。
      
      cl: 命令行 warning D9002 :忽略未知选项“--version”
...
Skipped 590 lines
...
        
      exitCode: 0
  -
    kind: "try_compile-v1"
    backtrace:
      - "cmake/prebuild.cmake:1461 (try_compile)"
      - "cmake/system.cmake:169 (include)"
      - "CMakeLists.txt:106 (include)"
    directories:
      source: "D:/Coding/vcpkg/buildtrees/openblas/x64-windows-dbg/getarch2_build/CMakeFiles/CMakeTmp"
      binary: "D:/Coding/vcpkg/buildtrees/openblas/x64-windows-dbg/getarch2_build/CMakeFiles/CMakeTmp"
    cmakeVariables:
      CMAKE_C_FLAGS: " /nologo /DWIN32 /D_WINDOWS /utf-8 /MP "
      CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: ""
      CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<STREQUAL:dynamic,dynamic>:DLL>"
      VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/Coding/vcpkg/scripts/toolchains/windows.cmake"
      VCPKG_CRT_LINKAGE: "dynamic"
      VCPKG_CXX_FLAGS: ""
      VCPKG_CXX_FLAGS_DEBUG: ""
      VCPKG_CXX_FLAGS_RELEASE: ""
      VCPKG_C_FLAGS: ""
      VCPKG_C_FLAGS_DEBUG: ""
      VCPKG_C_FLAGS_RELEASE: ""
      VCPKG_INSTALLED_DIR: "D:/Coding/vcpkg/installed"
      VCPKG_LINKER_FLAGS: ""
      VCPKG_LINKER_FLAGS_DEBUG: ""
      VCPKG_LINKER_FLAGS_RELEASE: ""
      VCPKG_PLATFORM_TOOLSET: "v143"
      VCPKG_PREFER_SYSTEM_LIBS: "OFF"
      VCPKG_SET_CHARSET_FLAG: "ON"
      VCPKG_TARGET_ARCHITECTURE: "x64"
      VCPKG_TARGET_TRIPLET: "x64-windows"
      Z_VCPKG_ROOT_DIR: "D:/Coding/vcpkg"
    buildResult:
      variable: "GETARCH2_RESULT"
      cached: true
      stdout: |
        Change Dir: 'D:/Coding/vcpkg/buildtrees/openblas/x64-windows-dbg/getarch2_build/CMakeFiles/CMakeTmp'
        
        Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_3bcbd
        [1/2] C:\\PROGRA~1\\MICROS~1\\2022\\COMMUN~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\cl.exe  /nologo -DFORCE_GENERIC  /nologo /DWIN32 /D_WINDOWS /utf-8 /MP   /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1     -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_AVX512 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -DNO_PARALLEL_MAKE=0 -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-dbg/getarch2_build" -I"D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean" -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-dbg" /showIncludes /FoCMakeFiles\\cmTC_3bcbd.dir\\getarch_2nd.c.obj /FdCMakeFiles\\cmTC_3bcbd.dir\\ /FS -c D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c
        FAILED: CMakeFiles/cmTC_3bcbd.dir/getarch_2nd.c.obj 
        C:\\PROGRA~1\\MICROS~1\\2022\\COMMUN~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\cl.exe  /nologo -DFORCE_GENERIC  /nologo /DWIN32 /D_WINDOWS /utf-8 /MP   /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1     -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_AVX512 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -DNO_PARALLEL_MAKE=0 -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-dbg/getarch2_build" -I"D:/Coding/vcpkg/buildtrees/openblas/src/v0.3.28-cd32970279.clean" -I"D:/Coding/vcpkg/buildtrees/openblas/x64-windows-dbg" /showIncludes /FoCMakeFiles\\cmTC_3bcbd.dir\\getarch_2nd.c.obj /FdCMakeFiles\\cmTC_3bcbd.dir\\ /FS -c D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c
        cl: 命令行 warning D9002 :忽略未知选项“-march=native”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(22): error C2065: “SGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(23): error C2065: “SGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(24): error C2065: “DGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(25): error C2065: “DGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(29): error C2065: “CGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(30): error C2065: “CGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(31): error C2065: “ZGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(32): error C2065: “ZGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(39): error C2065: “SGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(45): error C2065: “SGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(51): error C2065: “DGEMM_DEFAULT_UNROLL_M”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(57): error C2065: “DGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(79): error C2065: “SGEMM_DEFAULT_Q”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(79): error C2065: “SGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(79): warning C4477: “printf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 1 拥有了类型“size_t”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(79): note: 请考虑在格式字符串中使用“%zd”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(80): error C2065: “DGEMM_DEFAULT_Q”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(80): error C2065: “DGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(80): warning C4477: “printf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 1 拥有了类型“size_t”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(80): note: 请考虑在格式字符串中使用“%zd”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(81): error C2065: “CGEMM_DEFAULT_Q”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(81): error C2065: “CGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(81): warning C4477: “printf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 1 拥有了类型“size_t”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(81): note: 请考虑在格式字符串中使用“%zd”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(82): error C2065: “ZGEMM_DEFAULT_Q”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(82): error C2065: “ZGEMM_DEFAULT_UNROLL_N”: 未声明的标识符
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(82): warning C4477: “printf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 1 拥有了类型“size_t”
        D:\\Coding\\vcpkg\\buildtrees\\openblas\\src\\v0.3.28-cd32970279.clean\\getarch_2nd.c(82): note: 请考虑在格式字符串中使用“%zd”
        ninja: build stopped: subcommand failed.
        
      exitCode: 1
...
@dg0yt
Copy link
Contributor

dg0yt commented Dec 7, 2024

Does it build when you revert 8a6bfb5?
Might the problem be related to a non-English environment?

From a previous CI run of #42398, I would expect this GETARCH output:

-- GEMM multithread threshold set to 4.
-- Disabling Advanced Vector Extensions 512 (AVX512).
-- MSVC
-- Running getarch
-- GETARCH results:
CORE=generic
LIBCORE=generic
NUM_CORES=32
GENERIC=1
L1_DATA_SIZE=32768
L1_DATA_LINESIZE=128
L2_SIZE=512488
L2_LINESIZE=128
DTB_DEFAULT_ENTRIES=128
DTB_SIZE=4096
L2_ASSOCIATIVE=8
MAKEFLAGS += -j 32

-- Compiling a 64-bit binary.

But your issue shows that there is no output:

-- GEMM multithread threshold set to 4.
-- Disabling Advanced Vector Extensions 512 (AVX512).
-- MSVC
-- Running getarch
-- GETARCH results:

CMake Error at cmake/prebuild.cmake:1454 (ParseGetArchVars):
  ParseGetArchVars Function invoked with incorrect arguments for function
  named: ParseGetArchVars
Call Stack (most recent call first):
  cmake/system.cmake:169 (include)
  CMakeLists.txt:106 (include)

@theoractice
Copy link
Author

theoractice commented Dec 7, 2024

@dg0yt Oh, I just tested on another machine (also Simplified Chinese) and it builds successfully.
But on this machine it doesn't build even after reverting 8a6bfb5
I also tried with a newly cloned vcpkg repo and it failed again. But I can recall that it builds without problem several weeks ago.
#3145 #37732 Are these related? or maybe something has gone wrong only on this machine?

@dg0yt
Copy link
Contributor

dg0yt commented Dec 7, 2024

Thanks for the testing. I'm glad it is not a regression.

#37732 seems to be different (different output).
#3145 might be similar.
With only some Winows machines in the bad bucket, could it be an antivirus race? getarch is run immediately after being built.

@theoractice
Copy link
Author

Image
Ah-ha, Just find the cause. Maybe I have to repair my VS installation now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants