-
-
Notifications
You must be signed in to change notification settings - Fork 307
Fix incorrect declaration of FORCE_SSE2 #1880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
WalkthroughThe changes restructure the logic for setting the Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant C as CMake
U->>C: Initiate build configuration
C->>C: Check if WITH_SSE2 option is enabled
alt WITH_SSE2 enabled
C->>C: Check for SSE2 intrinsics availability (and architecture conditions)
alt SSE2 available
C->>C: Define FORCE_SSE2 option
else SSE2 unavailable
C->>C: Skip FORCE_SSE2 definition
end
else
C->>C: Do not consider FORCE_SSE2
end
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1880 +/- ##
===========================================
- Coverage 82.37% 82.36% -0.01%
===========================================
Files 141 141
Lines 12556 12556
Branches 2894 2894
===========================================
- Hits 10343 10342 -1
+ Misses 1237 1236 -1
- Partials 976 978 +2 ☔ View full report in Codecov by Sentry. |
WildCard65
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will work, as I made this change in my own local copy of zlib-ng.
Dead2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fix for #1879
@WildCard65, test this PR, please.
Summary by CodeRabbit