Skip to content

Conversation

exprez135
Copy link
Contributor

Description

These two commits update whisper to its most recent published version and make significant updates to the Portfile to fix previously missing build dependencies/requirements.

This includes a patch to the underlying package for compatibility with certain older versions of OS X, for which there is probably more work to be done.

A lot of the discussion was done months back on this ticket https://trac.macports.org/ticket/72379.

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 26.0 25A354 arm64
Xcode 16.4 16F6

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL in commit message?
  • checked your Portfile with port lint?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

* GGML library requires C11 and C++17
* Now disables Metal build on incompatible platforms
* Adds tags to model sites to prevent warning
* Fixes build requirement for git
* Patches an upstream bug for older OS X versions regarding vDSP_v:
- See ggml-org/whisper.cpp#3072
- See https://trac.macports.org/ticket/72379
* Adds legacysupport for clock_gettime

Co-Authored-By: @barracuda156
Fixes: https://trac.macports.org/ticket/72379
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants