Skip to content

Fix SIMD conf#819

Merged
byroot merged 7 commits into
ruby:masterfrom
nobu:simd_conf
Jun 30, 2025
Merged

Fix SIMD conf#819
byroot merged 7 commits into
ruby:masterfrom
nobu:simd_conf

Conversation

@nobu
Copy link
Copy Markdown
Member

@nobu nobu commented Jun 30, 2025

required file does not run twice, SIMD is not enabled one of generator and parser, when the extconf files are run in the same process.

And refactored simd/conf.rb.

nobu added 7 commits June 30, 2025 21:17
When both extconf.rb of generator and parser are run in one process,
the second `require_relative` does nothing.
Suppress warnings for old style function definition and unused
variable.
Align code for arm and x86_64 in parallel.
See the results of `have_type` and `try_compile` in addition to
`have_header` for NEON as well as x86_64.  The former results were
just ignored, and `HAVE_TYPE_` macros are unused too.
Remove `have_type` calls because the next `try_compile` calls check
those types.
Integrate duplicate code by extracting headers, types and
initialization code.
@nobu nobu requested a review from byroot June 30, 2025 13:42
@byroot byroot merged commit 12d9221 into ruby:master Jun 30, 2025
35 checks passed
@nobu nobu mentioned this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants