Skip to content

Build differences and issue linking m on Windows with Vulkan #735

@zhou7510

Description

@zhou7510

Hi,

Thank you for your great work on this project!

I'm trying to build the project on Windows using the instructions in your README. However, I noticed that the release binary I compiled is different from the one you've provided in the Releases section — both in size and behavior. Could you share more details about how you built your official release? Are there any additional build steps, flags, or environment settings that aren't included in the README?

Additionally, I encountered a build error on Windows when targeting Vulkan. The issue comes from this part of the CMake code:

if (MATH_LIBRARY)
    if (NOT WIN32 OR NOT DEFINED ENV{ONEAPI_ROOT})
        target_link_libraries(ggml-base PRIVATE m)
    endif()
endif()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions