8000 Add Intel Comet Lake to the microarchitecture detection script by naushniki · Pull Request #14414 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Add Intel Comet Lake to the microarchitecture detection script #14414

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

Merged
merged 4 commits into from
Jun 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix error: actually set march to sandy-bridge
  • Loading branch information
Vitaly Pryakhin committed Jun 29, 2021
commit d23b24209b3da3d1b7d4c61aef80b3d54aa65bd8
3 changes: 2 additions & 1 deletion cmake/OptimizeForArchitecture.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ macro(AutodetectHostArchitecture)
elseif(_cpu_model EQUAL 42 OR _cpu_model EQUAL 45)
set(TARGET_ARCHITECTURE "sandy-bridge")
elseif(_cpu_model GREATER 42)
message(WARNING "Your CPU (family ${_cpu_family}, model ${_cpu_model}) is not known. Auto-detection of optimization flags failed and will use the minimum required microarchitecture(sandy-bridge).")
message(WARNING "Your CPU (family ${_cpu_family}, model ${_cpu_model}) is not known. Auto-detection of optimization flags failed and will use the minimum required microarchitecture(sandy-bridge).")
set(TARGET_ARCHITECTURE "sandy-bridge")
elseif(NOT ASM_OPTIMIZATIONS)
message(WARNING "Your CPU (family ${_cpu_family}, model ${_cpu_model}) is not known. This is not fatal because ASM_OPTIMIZATIONS are disabled. If you want to use ASM_OPTIMIZATIONS make sure you have a compliant CPU(sandy-bridge or newer) and review the \"cmake/OptimizeForArchitecture.cmake\" script.")
set(TARGET_ARCHITECTURE "generic")
Expand Down
0