Skip to content

Avoid -march=native for cross-architecture builds#10

Open
volkermauel wants to merge 3 commits intomainfrom
codex/fix-unsupported-argument-for-clang++
Open

Avoid -march=native for cross-architecture builds#10
volkermauel wants to merge 3 commits intomainfrom
codex/fix-unsupported-argument-for-clang++

Conversation

@volkermauel
Copy link
Copy Markdown
Owner

Summary

  • avoid passing -march=native when the build target CPU differs from the host

Testing

  • pre-commit run --files ggml/CMakeLists.txt (fails: ResolutionImpossible: flake8-no-print conflicts with flake8)
  • cmake -B build

https://chatgpt.com/codex/tasks/task_b_688db0b99cc08325805cb3c238f5b0b4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant