tazz4843 / whisper-rs

Rust bindings to https://github.com/ggerganov/whisper.cpp
The Unlicense
684 stars 110 forks source link

Build for Windows arm64 #182

Open thewh1teagle opened 1 month ago

thewh1teagle commented 1 month ago

Hi, I'm trying to build whisper-rs for arm64 but it failed with error from the compiler:

```console Compiling is-terminal v0.4.13 Compiling windows-interface v0.56.0 error: failed to run custom build command for `whisper-rs-sys v0.11.0 (https://github.com/thewh1teagle/whisper-rs.git?branch=v1.6.3-beta.1#fe20225d)` Caused by: process didn't exit successfully: `D:\vibe\vibe\target\debug\build\whisper-rs-sys-3c284d375b12baf0\build-script-build` (exit code: 101) --- stdout cargo:rerun-if-changed=wrapper.h cargo:rerun-if-env-changed=TARGET cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64-pc-windows-msvc cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64_pc_windows_msvc cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS cargo:rerun-if-changed=wrapper.h cargo:rerun-if-changed=./whisper.cpp/include\whisper.h cargo:rerun-if-changed=./whisper.cpp/ggml/include\ggml.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\stdbool.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\stddef.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\__stddef_ptrdiff_t.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\__stddef_size_t.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\__stddef_wchar_t.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\__stddef_null.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\__stddef_max_align_t.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\__stddef_offsetof.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\stdint.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\stdint.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\vcruntime.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\sal.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\concurrencysal.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\vadefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\vadefs.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\vcruntime.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstdio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_stdio_config.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\stddef.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\stdint.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\18\include\stdbool.h cargo:rerun-if-changed=./whisper.cpp/ggml/include\ggml.h CMAKE_TOOLCHAIN_FILE_aarch64-pc-windows-msvc = None CMAKE_TOOLCHAIN_FILE_aarch64_pc_windows_msvc = None TARGET_CMAKE_TOOLCHAIN_FILE = None CMAKE_TOOLCHAIN_FILE = None CMAKE_GENERATOR_aarch64-pc-windows-msvc = None CMAKE_GENERATOR_aarch64_pc_windows_msvc = None TARGET_CMAKE_GENERATOR = None CMAKE_GENERATOR = None CMAKE_PREFIX_PATH_aarch64-pc-windows-msvc = None CMAKE_PREFIX_PATH_aarch64_pc_windows_msvc = None TARGET_CMAKE_PREFIX_PATH = None CMAKE_PREFIX_PATH = None CMAKE_aarch64-pc-windows-msvc = None CMAKE_aarch64_pc_windows_msvc = None TARGET_CMAKE = None CMAKE = None running: "cmake" "-Wdev" "--debug-output" "D:\\vibe\\vibe\\target\\aarch64-pc-windows-msvc\\debug\\build\\whisper-rs-sys-b8108693d18aec6d\\out\\whisper.cpp/" "-G" "Visual Studio 17 2022" "-Thost=x64" "-AARM64" "-DBUILD_SHARED_LIBS=OFF" "-DWHISPER_ALL_WARNINGS=OFF" "-DWHISPER_ALL_WARNINGS_3RD_PARTY=OFF" "-DWHISPER_BUILD_TESTS=OFF" "-DWHISPER_BUILD_EXAMPLES=OFF" "-DGGML_METAL=OFF" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_SYSTEM_NAME=Windows" "-DCMAKE_SYSTEM_PROCESSOR=ARM64" "-DCMAKE_INSTALL_PREFIX=D:\\vibe\\vibe\\target\\aarch64-pc-windows-msvc\\debug\\build\\whisper-rs-sys-b8108693d18aec6d\\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_RELWITHDEBINFO= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -DWHISPER_DEBUG -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_RELWITHDEBINFO= -DWHISPER_DEBUG -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS_RELWITHDEBINFO= -nologo -MD -Brepro" "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON" Running with debug output on. -- Selecting Windows SDK version 10.0.22621.0 to target Windows . Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- The C compiler identification is MSVC 19.40.33812.0 Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- The CXX compiler identification is MSVC 19.40.33812.0 Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Detecting C compiler ABI info Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Detecting C compiler ABI info - done Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe - skipped Called from: [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Detecting C compile features Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerSupport.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Detecting C compile features - done Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerSupport.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Detecting CXX compiler ABI info Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Detecting CXX compiler ABI info - done Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe - skipped Called from: [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Detecting CXX compile features Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerSupport.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Detecting CXX compile features - done Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerSupport.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.45.2.windows.1") Called from: [5] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageMessage.cmake [4] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindGit.cmake [2] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/cmake/git-vars.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Performing Test CMAKE_HAVE_LIBC_PTHREAD Called from: [5] C:/Program Files/CMake/share/cmake-3.30/Modules/Internal/CheckSourceCompiles.cmake [4] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckCSourceCompiles.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed Called from: [5] C:/Program Files/CMake/share/cmake-3.30/Modules/Internal/CheckSourceCompiles.cmake [4] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckCSourceCompiles.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt -- Looking for pthread_create in pthreads Called from: [4] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckLibraryExists.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt -- Looking for pthread_create in pthreads - not found Called from: [4] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckLibraryExists.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt -- Looking for pthread_create in pthread Called from: [4] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckLibraryExists.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt -- Looking for pthread_create in pthread - not found Called from: [4] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckLibraryExists.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt -- Found Threads: TRUE Called from: [4] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageMessage.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindThreads.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt -- Found OpenMP_C: -openmp (found version "2.0") Called from: [4] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageMessage.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindOpenMP.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Found OpenMP_CXX: -openmp (found version "2.0") Called from: [4] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageMessage.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindOpenMP.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Found OpenMP: TRUE (found version "2.0") Called from: [4] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageMessage.cmake [3] C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/FindOpenMP.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- OpenMP found Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- CMAKE_SYSTEM_PROCESSOR: ARM64 Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- CMAKE_GENERATOR_PLATFORM: ARM64 Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- ARM detected Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Performing Test GGML_COMPILER_SUPPORT_DOTPROD Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/Internal/CheckSourceCompiles.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckCXXSourceCompiles.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Performing Test GGML_COMPILER_SUPPORT_DOTPROD - Success Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/Internal/CheckSourceCompiles.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckCXXSourceCompiles.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Performing Test GGML_COMPILER_SUPPORT_MATMUL_INT8 Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/Internal/CheckSourceCompiles.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckCXXSourceCompiles.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Performing Test GGML_COMPILER_SUPPORT_MATMUL_INT8 - Success Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/Internal/CheckSourceCompiles.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckCXXSourceCompiles.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Performing Test GGML_COMPILER_SUPPORT_FP16_VECTOR_ARITHMETIC Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/Internal/CheckSourceCompiles.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckCXXSourceCompiles.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Performing Test GGML_COMPILER_SUPPORT_FP16_VECTOR_ARITHMETIC - Failed Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/Internal/CheckSourceCompiles.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CheckCXXSourceCompiles.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Configuring done (61.8s) -- Generating D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/build Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt -- Generating D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/build/ggml Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt -- Generating D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/build/ggml/src Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt -- Generating D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/build/src Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src/CMakeLists.txt -- Generating done (0.1s) -- Build files have been written to: D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/build running: "cmake" "--build" "." "--target" "install" "--config" "Release" "--parallel" "6" Change Dir: 'D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/build' Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" install.vcxproj /p:Configuration=Release /p:Platform=ARM64 /p:VisualStudioVersion=17.0 /m:6 /v:n MSBuild version 17.10.4+10fbfbf2e for .NET Framework Build started 13/10/2024 15:45:51. 1>Project "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\install.vcxproj" on node 1 (default targets). 1>Project "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\install.vcxproj" (1) is building "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). 2>PrepareForBuild: Creating directory "ARM64\Release\ZERO_CHECK\". Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. Creating directory "ARM64\Release\ZERO_CHECK\ZERO_CHECK.tlog\". InitializeBuildStatus: Creating "ARM64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. Touching "ARM64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". CustomBuild: 1>Checking Build System FinalizeBuildStatus: Deleting file "ARM64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". Touching "ARM64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". 2>Done Building Project "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ZERO_CHECK.vcxproj" (default targets). 1>Project "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\install.vcxproj" (1) is building "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ALL_BUILD.vcxproj" (3) on node 2 (default targets). 3>Project "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ALL_BUILD.vcxproj" (3) is building "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj" (5) on node 2 (default targets). 5>PrepareForBuild: Creating directory "ggml.dir\Release\". Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. Creating directory "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\Release\". Creating directory "ggml.dir\Release\ggml.tlog\". InitializeBuildStatus: Creating "ggml.dir\Release\ggml.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. Touching "ggml.dir\Release\ggml.tlog\unsuccessfulbuild". CustomBuild: Building Custom Rule D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt ClCompile: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\arm64\CL.exe /c /I"D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\..\include" /I"D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\." /nologo /W1 /WX- /diagnostics:column /O2 /Ob2 /Oy- /D _ARM64_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 /D _MBCS /D WHISPER_DEBUG /D NDEBUG /D GGML_SCHED_MAX_COPIES=4 /D GGML_USE_OPENMP /D __aarch64__ /D __ARM_NEON /D __ARM_FEATURE_FMA /D __ARM_FEATURE_DOTPROD /D __ARM_FEATURE_MATMUL_INT8 /D _XOPEN_SOURCE=600 /D _CRT_SECURE_NO_WARNINGS /D "CMAKE_INTDIR=\"Release\"" /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /openmp /std:c11 /Fo"ggml.dir\Release\\" /Fd"D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\Release\ggml.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue -Brepro "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\ggml.c" "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\ggml-alloc.c" "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\ggml-quants.c" "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\ggml-aarch64.c" ggml.c ggml-alloc.c ggml-quants.c 5>C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\assert.h(21,9): warning C4005: 'static_assert': macro redefinition [D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj] (compiling source file '../../../whisper.cpp/ggml/src/ggml-quants.c') D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\ggml-common.h(62,9): see previous definition of 'static_assert' ggml-aarch64.c 5>C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\assert.h(21,9): warning C4005: 'static_assert': macro redefinition [D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj] (compiling source file '../../../whisper.cpp/ggml/src/ggml-aarch64.c') D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\ggml-common.h(62,9): see previous definition of 'static_assert' Generating Code... 5>D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\ggml-quants.c(3467): fatal error C1001: Internal compiler error. [D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj] (compiler file 'D:\a\_work\1\s\src\vctools\Compiler\Utc\src\p2\main.c', line 242) To work around this problem, try simplifying or changing the program near the locations listed above. If possible please provide a repro here: https://developercommunity.visualstudio.com Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information CL!RaiseException()+0x6c CL!RaiseException()+0x6c CL!InvokeCompilerPass()+0x25f CL!InvokeCompilerPassW()+0x170a64 CL!InvokeCompilerPassW()+0x70932 CL!InvokeCompilerPassW()+0x708c6 5>Done Building Project "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj" (default targets) -- FAILED. 3>Done Building Project "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ALL_BUILD.vcxproj" (default targets) -- FAILED. 1>Done Building Project "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\install.vcxproj" (default targets) -- FAILED. Build FAILED. "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\install.vcxproj" (default target) (1) -> "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ALL_BUILD.vcxproj" (default target) (3) -> "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj" (default target) (5) -> (ClCompile target) -> C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\assert.h(21,9): warning C4005: 'static_assert': macro redefinition [D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\assert.h(21,9): warning C4005: 'static_assert': macro redefinition [D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj] "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\install.vcxproj" (default target) (1) -> "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ALL_BUILD.vcxproj" (default target) (3) -> "D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj" (default target) (5) -> (ClCompile target) -> D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\whisper.cpp\ggml\src\ggml-quants.c(3467): fatal error C1001: Internal compiler error. [D:\vibe\vibe\target\aarch64-pc-windows-msvc\debug\build\whisper-rs-sys-b8108693d18aec6d\out\build\ggml\src\ggml.vcxproj] 2 Warning(s) 1 Error(s) Time Elapsed 00:00:08.02 --- stderr CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake:74 (try_compile): Policy CMP0066 is not set: Honor per-config flags in try_compile() source-file signature. Run "cmake --help-policy CMP0066" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, try_compile is not honoring caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the test project. Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake:74 (try_compile): Policy CMP0066 is not set: Honor per-config flags in try_compile() source-file signature. Run "cmake --help-policy CMP0066" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, try_compile is not honoring caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the test project. Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. Called from: [3] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake [2] C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt Entering D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt Entering D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt Returning to D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/CMakeLists.txt Returning to D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt Entering D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt Returning to D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt CMake Warning (dev) in CMakeLists.txt: Policy CMP0082 is not set: Install rules from add_subdirectory() are interleaved with those in caller. Run "cmake --help-policy CMP0082" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/CMakeLists.txt CMake Warning (dev) at ggml/src/CMakeLists.txt:1322 (add_library): Policy CMP0156 is not set: De-duplicate libraries on link lines based on linker capabilities. Run "cmake --help-policy CMP0156" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Since the policy is not set, legacy libraries de-duplication strategy will be applied. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt CMake Warning (dev) at ggml/src/CMakeLists.txt:1322 (add_library): Policy CMP0156 is not set: De-duplicate libraries on link lines based on linker capabilities. Run "cmake --help-policy CMP0156" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Since the policy is not set, legacy libraries de-duplication strategy will be applied. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt CMake Warning (dev) at ggml/src/CMakeLists.txt:1322 (add_library): Policy CMP0156 is not set: De-duplicate libraries on link lines based on linker capabilities. Run "cmake --help-policy CMP0156" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Since the policy is not set, legacy libraries de-duplication strategy will be applied. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt CMake Warning (dev) at ggml/src/CMakeLists.txt:1322 (add_library): Policy CMP0156 is not set: De-duplicate libraries on link lines based on linker capabilities. Run "cmake --help-policy CMP0156" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Since the policy is not set, legacy libraries de-duplication strategy will be applied. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/ggml/src/CMakeLists.txt CMake Warning (dev) in src/CMakeLists.txt: Policy CMP0128 is not set: Selection of language standard and extension flags improved. Run "cmake --help-policy CMP0128" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, compiler extensions won't be enabled. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src/CMakeLists.txt CMake Warning (dev) in src/CMakeLists.txt: Policy CMP0128 is not set: Selection of language standard and extension flags improved. Run "cmake --help-policy CMP0128" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, compiler extensions won't be enabled. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src/CMakeLists.txt CMake Warning (dev) in src/CMakeLists.txt: Policy CMP0128 is not set: Selection of language standard and extension flags improved. Run "cmake --help-policy CMP0128" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, compiler extensions won't be enabled. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src/CMakeLists.txt CMake Warning (dev) in src/CMakeLists.txt: Policy CMP0128 is not set: Selection of language standard and extension flags improved. Run "cmake --help-policy CMP0128" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, compiler extensions won't be enabled. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src/CMakeLists.txt CMake Warning (dev) at src/CMakeLists.txt:83 (add_library): Policy CMP0156 is not set: De-duplicate libraries on link lines based on linker capabilities. Run "cmake --help-policy CMP0156" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Since the policy is not set, legacy libraries de-duplication strategy will be applied. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src/CMakeLists.txt CMake Warning (dev) at src/CMakeLists.txt:83 (add_library): Policy CMP0156 is not set: De-duplicate libraries on link lines based on linker capabilities. Run "cmake --help-policy CMP0156" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Since the policy is not set, legacy libraries de-duplication strategy will be applied. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src/CMakeLists.txt CMake Warning (dev) at src/CMakeLists.txt:83 (add_library): Policy CMP0156 is not set: De-duplicate libraries on link lines based on linker capabilities. Run "cmake --help-policy CMP0156" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Since the policy is not set, legacy libraries de-duplication strategy will be applied. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src/CMakeLists.txt CMake Warning (dev) at src/CMakeLists.txt:83 (add_library): Policy CMP0156 is not set: De-duplicate libraries on link lines based on linker capabilities. Run "cmake --help-policy CMP0156" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Since the policy is not set, legacy libraries de-duplication strategy will be applied. This warning is for project developers. Use -Wno-dev to suppress it. Called from: [1] D:/vibe/vibe/target/aarch64-pc-windows-msvc/debug/build/whisper-rs-sys-b8108693d18aec6d/out/whisper.cpp/src/CMakeLists.txt CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_FLAGS CMAKE_ASM_FLAGS_RELWITHDEBINFO thread 'main' panicked at C:\Users\User\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.51\src/lib.rs:1100:5: command did not execute successfully, got: exit code: 1 build script failed, must exit now note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... ```

I built it with:

  1. Open visual studio installer -> individual components -> search for msvc v143 - VS 2022 C++ arm64/arm64ec -> install latest (~3GB)
  2. build
    rustup target add aarch64-pc-windows-msvc
    cargo build --target aarch64-pc-windows-msvc
tazz4843 commented 1 month ago

fatal error C1001: Internal compiler error

Doesn't seem like we can do anything here