Skip to content

Conversation

@brad0
Copy link
Contributor

@brad0 brad0 commented Jun 18, 2025

No description provided.

@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Jun 18, 2025
{
memset(npy__cpu_have, 0, sizeof(npy__cpu_have[0]) * NPY_CPU_FEATURE_MAX);

#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes the logic and doesn't just extend it. Why not

#if defined(__FreeBSD__) || defined(__OpenBSD__)
,,,
#else
...
#endif

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, just as the ARM / PowerPC code does the exact same thing. The current code is Linux specific and does not build.

@brad0 brad0 force-pushed the elf_aux_info_riscv64 branch from 975833e to 5cbc0bc Compare June 19, 2025 03:52
@charris charris merged commit 80833c5 into numpy:main Jun 20, 2025
91 of 94 checks passed
@github-project-automation github-project-automation bot moved this from Pending authors' response to Completed in NumPy first-time contributor PRs Jun 20, 2025
@charris
Copy link
Member

charris commented Jun 20, 2025

Thanks @brad0 .

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jun 20, 2025
@brad0 brad0 deleted the elf_aux_info_riscv64 branch January 7, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants