Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Detect CPU features on FreeBSD/powerpc64* #22967

Merged
merged 1 commit into from Jan 9, 2023

Commits on Jan 8, 2023

  1. ENH: Detect CPU features on FreeBSD/powerpc64*

    1. FreeBSD uses elf_aux_info() instead of getauxval.
    2. Switch to using compiler macros for detecting POWER platform
    FreeBSD sets the machine name (what uname -m prints) on all powerpc* to
    just powerpc. To identify actual architecture, uname -p should be used,
    but this is not present in uname() function. Thus, the only way to
    correctly detect platform is to use what uname prints and also check
    compiler defines.
    pkubaj authored and charris committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    90128b6 View commit details
    Browse the repository at this point in the history