Skip to content

Compile bug: GGML_NATIVE defaults to ON #11317

@bmwiedemann

Description

@bmwiedemann

Git commit

e1349f4

Operating systems

Linux

GGML backends

CPU

Problem description & steps to reproduce

While working on reproducible builds for openSUSE I found that
with #11315 added, there was only one reproducibility-issue left and I found that this goes away with the -DGGML_NATIVE=OFF cmake option.

I wonder if we could have cmake notice the $SOURCE_DATE_EPOCH environment variable to indicate that a reproducible build is wanted and change the default to OFF, similar to when cross-compilation is detected.

First Bad Commit

No response

Compile command

cmake

Relevant log output

Adding CPU backend variant ggml-cpu: -march=native

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions