Skip to content

How to cross compile lapack? #717

@atptour2017

Description

@atptour2017

I want to cross compile lapack for armv8 CPU.
I have define the fortran complier (aarch64-kedacom-linux-gnu-gfortran) but it still check complier by itself:

(base) [root@localhost build]# cmake -DCMAKE_C_COMPLIER=aarch64-kedacom-linux-gnu-gcc -DCMAKE_CXX_COMPLIER=aarch64-kedacom-linux-gnu-g++ -DCMAKE_FORTRAN_COMPLIER=aarch64-kedacom-linux-gnu-gfortran -DCMAKE_INSTALL_LIBDIR=/root/build/third_party_scipy/lapack/dist ..
-- The Fortran compiler identification is unknown
/usr/bin/f95.br_real: No such file or directory
-- The C compiler identification is unknown
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - failed
-- Check for working Fortran compiler: /usr/bin/f95
-- Check for working Fortran compiler: /usr/bin/f95 - broken

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions