FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.
C++ ai-agentsalgorithmic-tradingbloomberg-terminalcppfinancefinancial-marketsfintechgood-first-issueinvestmentinvestment-researchmachine-learningopensourcepythonqtquantitative-financestock-markettrading
fix: use -T ClangCL for Windows ARM64 cmake configure
tilakpatel2268ebacd1a8b8
diff --git a/.github/workflows/build-cpp.yml b/.github/workflows/build-cpp.ymlindex 43984d752..890c924f4 100644--- a/.github/workflows/build-cpp.yml+++ b/.github/workflows/build-cpp.yml@@ -155,17 +155,16 @@ jobs:run: |# jurplel/install-qt-action with dir set installs into <dir>/Qt/<version>/<arch>HOST_QT="${{ runner.temp }}/qt-host/Qt/${{ env.QT_VERSION }}/msvc2022_64"- # clang-cl ships with VS 2022 and is required by whisper.cpp's GGML CPU backend- # for ARM64 — pure MSVC cl.exe is rejected by ggml-cpu/CMakeLists.txt.- # Using clang-cl gives full ARM NEON acceleration while keeping the MSVC ABI- # so Qt ARM64 libs link correctly.- CLANG_CL=$(find "/c/Program Files/Microsoft Visual Studio/2022" -name "clang-cl.exe" 2>/dev/null | head -1)+ # Use -T ClangCL with the VS generator — this is the correct way to select+ # clang-cl for ARM64 cross-compilation. -DCMAKE_C_COMPILER does not work with+ # the Visual Studio generator; -T ClangCL selects the clang_cl_arm64_x64+ # toolset (x64 host tools targeting ARM64) and satisfies whisper.cpp's+ # GGML CPU backend requirement for Clang on ARM.cmake -B build \-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \-DCMAKE_PREFIX_PATH="${QT_ROOT_DIR}" \-DQT_HOST_PATH="${HOST_QT}" \- -DCMAKE_C_COMPILER="${CLANG_CL}" \- -DCMAKE_CXX_COMPILER="${CLANG_CL}" \+ -T ClangCL \${{ matrix.cmake_extra }}# ---- Build ----