whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

Swift: Updating Swift package for linux configuration

Open Sombre-Osmoze opened this issue 1 year ago • 1 comments
trafficstars

  • 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 avatar Mar 24 '24 00:03 Sombre-Osmoze

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

sindresorhus avatar Mar 27 '24 02:03 sindresorhus