Skip to content

Problem when building orc cross platform #1534

@santrancisco

Description

@santrancisco

Hi team,

While trying to update our fork of orc, I ran into an issue where apache/orc is built successfully for some architects, but fails at others and the culprit seems to be this part here

if (!ArchParseUserSimdLevel(userSimdLevel, &hardware_flags)) {

The error is /build/contrib/orc/c++/src/CpuInfoUtil.cc:475:12: error: use of undeclared identifier 'ArchParseUserSimdLevel' and from looking at the code, correct me if i'm wrong but it seems ArchParseUserSimdLevel is only set when CPUINFO_ARCH_X86 is defined and thus undeclared identifier is thrown for all other architects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions