Skip to content

[C++] Building AVX512 code when we should not #26311

@asfimport

Description

@asfimport

On autobrew/homebrew-core#31, where we are packaging Arrow for an old macOS SDK version, we found what I believe are 2 different problems:

  1. The check for AVX512 support was returning true when in fact the compiler did not support it
  2. Even when we manually set the runtime SIMD level to less-than-AVX512, it was still trying to compile one of the AVX512 files, which failed. I added a patch that made that file conditional, but there's probably a proper cmake way to tell it not to compile that file at all

cc @cyb70289 @pitrou

Reporter: Neal Richardson / @nealrichardson
Assignee: Frank Du / @jianxind

PRs and other links:

Note: This issue was originally created as ARROW-10321. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions