Skip to content

Dynamic dispatch using cmake dont work #2795

@junqueira200

Description

@junqueira200

Hi,

I'm traing to compile an example of dynamic dispatch using cmake. I've got this error: payload.cpp:24:28: fatal error: payload.cpp: No such file or directory
24 | #define HWY_TARGET_INCLUDE "payload.cpp"

The complete example can be found here
Tried using macos in arm and x64 using linux.

The Highway was add by: git submodule add https://github.com/google/highway.git external/highway

To compile:
cmake .. -DCMAKE_CXX_FLAGS="-DHWY_COMPILE_ALL_ATTAINABLE"
make -j4
There is a build.sh

Thanks in advance for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions