Skip to content
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

Swift: Updating Swift package for linux configuration #1990

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sombre-Osmoze
Copy link

  • We need to ignore Apple platforms frameworks (Accelerate and Metal) when building the project on Linux
  • We need to define _GNU_SOURCE for certains function declaration (in sched.h)

- We need to ignore Apple platforms frameworks (Accelerate and Metal) when building the project on Linux
- We need to define `_GNU_SOURCE` for certains function declaration (in `sched.h`)
@Sombre-Osmoze Sombre-Osmoze marked this pull request as draft March 24, 2024 02:24
@Sombre-Osmoze Sombre-Osmoze marked this pull request as ready for review March 24, 2024 02:33
@sindresorhus
Copy link
Contributor

The Package.swift here closely follows https://github.com/ggerganov/llama.cpp/blob/master/Package.swift, so this should be done there first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants