Skip to content

Build: Only include execinfo.h on linux systems that support it #8783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 1, 2024

Conversation

acon96
Copy link
Contributor

@acon96 acon96 commented Jul 31, 2024

Only include the execinfo.h header if the file is present on the system.

Fixes #8762

@github-actions github-actions bot added the ggml changes relating to the ggml tensor library for machine learning label Jul 31, 2024
@mofosyne mofosyne added the Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix label Aug 1, 2024
@slaren slaren merged commit b7a08fd into ggml-org:master Aug 1, 2024
53 checks passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Aug 2, 2024
…-org#8783)

* Only enable backtrace on GLIBC linux systems

* fix missing file from copy

* use glibc macro instead of defining a custom one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Unable to build on Alpine Linux due to dependency on execinfo.h
4 participants