Skip to content

On PowerPC, configure script fails with Flag -march=native failed! error #486

@iamazeem

Description

@iamazeem

Not sure if PowerPC is the supported target.
Encountered this error while working on RPM packaging.
Thought it should be documented for future reference even if it's not supported.

Error:

checking whether compiler accepts -march=native... no
Flag -march=native failed!

Build: https://koji.fedoraproject.org/koji/taskinfo?taskID=138829209
Logs: https://kojipkgs.fedoraproject.org//work/tasks/9209/138829209/build.log

According to mfem/mfem#216 (comment), the flags should be:

-mcpu=native -mtune=native

Related:


PS

To support PowerPC, the following would be worth looking into:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions