Use elf_aux_info() on OpenBSD PowerPC#2007
Conversation
WalkthroughAdds OpenBSD to FreeBSD-specific conditional checks in configure, CMake, and arch/power source so OpenBSD follows the same runtime hardware-capability and PPC-intrinsics detection paths (elf_aux_info() where used). No other logic or error handling changed. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Configure as Configure script / test program
participant LibC as System libc
participant Kernel as Kernel auxv
Note right of Configure `#DDEDED`: Runtime detection flow (updated)
Configure->>LibC: query for hardware caps
alt FreeBSD or OpenBSD
Configure->>LibC: call elf_aux_info(AT_HWCAP / AT_HWCAP2)
LibC->>Kernel: request auxv entries
Kernel-->>LibC: return entries
LibC-->>Configure: return flags
else Other OS
Configure->>LibC: call getauxval(AT_HWCAP / AT_HWCAP2)
LibC->>Kernel: request auxv entries
Kernel-->>LibC: return entries
LibC-->>Configure: return flags
end
Suggested labels: Suggested reviewers:
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
f7baa77 to
06717dc
Compare
06717dc to
87d6ac9
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2007 +/- ##
===========================================
- Coverage 83.21% 81.81% -1.40%
===========================================
Files 160 160
Lines 12955 12955
Branches 3145 3145
===========================================
- Hits 10780 10599 -181
- Misses 1138 1324 +186
+ Partials 1037 1032 -5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.