Skip to content

Suggest making CMAKE_SYSTEM_PROCESSOR return "ppc" (from uname -m) #6

Description

@ksdhans

I tried to use CMAKE_SYSTEM_PROCESSOR to detect that the script was being built for AmigaOS 4 on PowerPC. However, on my system it returns "Freescale P5040 (E5500 core)" That is the specific CPU inside my machine, but the information is next to useless for the purpose of detecting the target system's properties.

It would be preferable to return "ppc" or "PowerPC." Uname -m returns "ppc," so setting that variable to "ppc" would be consistent with behaviour on other systems.

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