🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@seiko2plus
Copy link
Member

This patch restores support for function-specific optimization attributes that were disabled during the transition from distutils to Meson. We now properly detect and enable the following GCC attributes:

  • attribute((optimize("O3")))
  • attribute((optimize("unroll-loops")))
  • attribute((nonnull(1)))

This patch restores support for function-specific optimization attributes
that were disabled during the transition from distutils to Meson.
We now properly detect and enable the following GCC attributes:

- __attribute__((optimize("O3")))
- __attribute__((optimize("unroll-loops")))
- __attribute__((nonnull(1)))
@seiko2plus seiko2plus force-pushed the restore_gcc_opt_attrs branch from 65aa41f to 0852d10 Compare April 21, 2025 04:24
@seiko2plus seiko2plus marked this pull request as ready for review April 21, 2025 04:24
@charris charris merged commit efec7e8 into numpy:main Apr 21, 2025
72 checks passed
@charris
Copy link
Member

charris commented Apr 21, 2025

Thanks Sayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants