microsoft / vcpkg

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

[lapack-reference] Build failure on x64-linux #41270

Open iHapiW opened 3 days ago

iHapiW commented 3 days ago

Package: lapack-reference[blas-select,core,noblas]:x64-linux@3.11.0#6

Host Environment

To Reproduce

vcpkg install

Failure logs

-- Using cached Reference-LAPACK-lapack-v3.11.0.tar.gz.
-- Cleaning sources at /home/ihapiw/vcpkg/buildtrees/lapack-reference/src/v3.11.0-6ae738f586.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/ihapiw/vcpkg/downloads/Reference-LAPACK-lapack-v3.11.0.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch lapacke.patch
-- Applying patch fix_prefix.patch
-- Using source at /home/ihapiw/vcpkg/buildtrees/lapack-reference/src/v3.11.0-6ae738f586.clean
-- The Fortran compiler identification is unknown
CMake Error at scripts/cmake/vcpkg_find_fortran.cmake:65 (message):
  Unable to find a Fortran compiler using 'CMakeDetermineFortranCompiler'.
  Please install one (e.g.  gfortran) and make it available on the PATH!
Call Stack (most recent call first):
  /home/ihapiw/.cache/vcpkg/registries/git-trees/c6447c2a6f70504bfbf20f2e649bcc17a6ce67de/portfile.cmake:47 (vcpkg_find_fortran)
  scripts/ports.cmake:192 (include)

Additional context

vcpkg.json ``` { "dependencies": [ "armadillo" ] } ```
recsater commented 2 days ago

Are you blind?

CMake Error at scripts/cmake/vcpkg_find_fortran.cmake:65 (message):
  Unable to find a Fortran compiler using 'CMakeDetermineFortranCompiler'.
  Please install one (e.g.  gfortran) and make it available on the PATH!