Skip to content

Logic error in CheckLAPACKCompilerFlags.cmake #1118

@rbberger

Description

@rbberger

Description

https://github.com/Reference-LAPACK/lapack/blob/master/CMAKE/CheckLAPACKCompilerFlags.cmake#L38-L47

This produces the wrong flags in an environment where PE_ENV is CRAY but the Fortran_COMPILER_ID is GNU.

Note, we're not using Cray wrappers at all, they're just loaded by default, but our build uses a native GCC compiler.

Checklist

  • I've included a minimal example to reproduce the issue
  • I'd be willing to make a PR to solve this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions