microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.18k stars 6.39k forks source link

[vcpkg-cmake] Use error architecture #40906

Open Hlongyu opened 1 month ago

Hlongyu commented 1 month ago

Describe the bug vcpkg-cmake choose error architecture

Environment

To Reproduce Steps to reproduce the behavior:

  1. ./vcpkg install vcpkg-cmake
  2. See error

Expected behavior compiler cmake from source code.

Failure logs

Computing installation plan...
A suitable version of cmake was not found (required v3.29.2).
Extracting cmake...
error: Failed to run "/home/111/Desktop/hly/vcpkg/downloads/tools/cmake-3.29.2-linux/cmake-3.29.2-linux-x86_64/bin/cmake" to determine the cmake version.
error: /home/111/Desktop/hly/vcpkg/downloads/tools/cmake-3.29.2-linux/cmake-3.29.2-linux-x86_64/bin/cmake failed with exit code: (2).
sh: 1: /home/111/Desktop/hly/vcpkg/downloads/tools/cmake-3.29.2-linux/cmake-3.29.2-linux-x86_64/bin/cmake: Exec format error
greenozon commented 1 month ago

loongarch64 -is it MIPS like CPU Linux?

Hlongyu commented 1 month ago

loongarch64 -is it MIPS like CPU Linux?

I think it is not.