microsoft / vcpkg

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

[clapack:x64-windows-static] build failure #40129

Open theoractice opened 1 month ago

theoractice commented 1 month ago

Operating system

Windows 10 latest version

Compiler

MSVC 19.40.33813.0

Steps to reproduce the behavior

vcpkg install clapack:x64-windows-static

Failure logs

CMake Error at ports/clapack/portfile.cmake:2 (message):
  Can't build clapack if lapack-reference is installed.  Please remove
  lapack-reference:x64-windows-static, and try to install
  clapack:x64-windows-static again.
Call Stack (most recent call first):
  scripts/ports.cmake:192 (include)

Additional context

Installing clapack:x64-windows-static will install lapack-reference:x64-windows-static first, then it says Can't build clapack if lapack-reference is installed. Weird.

BTW is it possible to let user switch between lapack-reference and clapack? For example when installing dlib, lapack-reference is installed along with it automatically and there seems no way to uninstall lapack-reference leaving dlib untouched, then install clapack.

theoractice commented 1 month ago

Same situation for x86-windows-static.

MonicaLiu0311 commented 1 month ago

Confirmed, repro locally.

PS G:\vcpkg> ./vcpkg version
vcpkg package management program version 2024-07-10-d2dfc73769081bdd9b782d08d27794780b7a99b9

See LICENSE.txt for license information.