-
Notifications
You must be signed in to change notification settings - Fork 2
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
The LS1 PR: Introduce system for checking compiler flags: avx2 & fma #34
The LS1 PR: Introduce system for checking compiler flags: avx2 & fma #34
Conversation
claudiushaag
commented
Nov 1, 2024
- i7-2600 was otherwise not able to built
- super backward change
- does not apply/test on macos
+ i7-2600 was otherwise not able to built + super backward change + does not apply/test on macos
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. Two minor suggestions.
Thanks a lot for adding this!
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.
Let's merge.
PS. there's a typo in LSCU_OUTPUT
CMakeLists.txt
Outdated
target_compile_options(FANS_FANS PUBLIC -mavx2 -mfma) | ||
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux") | ||
# Linux: Check for AVX2 support using lscpu | ||
execute_process(COMMAND lscpu OUTPUT_VARIABLE LSCU_OUTPUT ERROR_QUIET) |
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.
typo: missing P in LSCU_OUTPUT