Skip to content
Snippets Groups Projects

Don't pass the cpu flags detected by Vc to the compiler

Merged Jö Fahlke requested to merge avoid-vc-cpu-detection into master

Vc detects CPU flags based on the name of the CPU. This can be a problem in virtualization environment, when the name of the CPU is visible, but not all features are enabled in the guest.

Also, enabling all detected features in the the compiler makes it difficult to impossible for the user to force his own feature flags, e.g. to cross-build generic executables on hosts with many features to be run later on hosts with fewer features.

Closes: docker/ci#9

WIP:

Edited by Jö Fahlke

Merge request reports

Pipeline #19026 passed

Pipeline passed for c0bbf1a5 on avoid-vc-cpu-detection

Approval is optional

Merged by Jö FahlkeJö Fahlke 5 years ago (Jun 12, 2019 2:31pm UTC)

Pipeline #19036 passed

Pipeline passed for 19557065 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading