- Fixed build error when enabling NEON optimization


合并受阻
当前仓库存在以下 保护分支 :
| Protected Branch | Version | Release |
|---|---|---|
| * master | 1.6.51 | 1 |
| openEuler-20.03-LTS-SP4 | 1.6.37 | 2 |
| openEuler-22.03-LTS-SP3 | 1.6.38 | 2 |
| openEuler-22.03-LTS-SP4 | 1.6.38 | 2 |
| openEuler-24.03-LTS | 1.6.40 | 1 |
| openEuler-24.03-LTS-Next | 1.6.40 | 1 |
| openEuler-24.03-LTS-SP1 | 1.6.40 | 1 |
| openEuler-24.03-LTS-SP2 | 1.6.40 | 1 |
| openEuler-24.03-LTS-SP3 | 1.6.40 | 1 |
| openEuler-25.03 | 1.6.47 | 1 |
| openEuler-25.09 | 1.6.50 | 1 |
评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作
注意:
- /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
- 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭


Hi panzhe0328, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @licihua , @zhujianwei001 , @xiezhipeng1 , @dillon_chen , @shenyangyang01 , @overweight , any of the committers: @yanan-rock


@panzhe0328 如果删除libpng-fix-arm-neon.patch和当前补丁,同时根据编译日志提示"configure: WARNING: --enable-arm-neon: please specify 'check' or 'api';"
同时开启%configure --enable-arm-neon=yes --enable-arm-neon=api应该也可以满足,麻烦测试下从 configure.ac 的代码来看,似乎上游倾向于使用 hardware-optimizations 来控制所有架构里的硬件加速。
而 aarch64 的单独控制,是通过
--enable-arm-neon=yes/no/api来控制的。不存在你说的,用户想关关不了的情况。如果用户想关的话,应该是可以使用--enable-arm-neon=no来关闭。
@panzhe0328 如果--enable-arm-neon=no可以满足关闭的话,--enable-hardware-optimizations是否可以满足你的使用要求。


/check-cla

