Skip to content

Conversation

@przemoc
Copy link
Contributor

@przemoc przemoc commented Jun 28, 2023

whisper.cpp CI does not do all available make targets, so it has been overlooked. Follow up to #1027.

przemoc added 2 commits June 28, 2023 10:09
sed -i 's,\<madvise\>,posix_&,g;s,\<MADV_,POSIX_&,g' examples/talk-llama/llama-util.h
This is an attempt at fixing macOS build error coming from the fact that
RLIMIT_MEMLOCK define is not available there without Darwin extensions.
@przemoc
Copy link
Contributor Author

przemoc commented Jun 28, 2023

@jasontitus, thanks for reporting issue with talk-llama, but you did it in the unrelated PR.
Please try this PR to see if the issue is fixed for you here.

@edwios
Copy link

edwios commented Jun 28, 2023

Thanks! This really helped!

@ggerganov ggerganov merged commit 85ed71a into ggml-org:master Jun 28, 2023
@przemoc przemoc deleted the fix-talk-llama-build-on-macos branch July 1, 2023 13:27
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
* talk-llama : use posix_madvise() instead of madvise() derived from BSD

sed -i 's,\<madvise\>,posix_&,g;s,\<MADV_,POSIX_&,g' examples/talk-llama/llama-util.h

* make : enable Darwin extensions for macOS builds

This is an attempt at fixing macOS build error coming from the fact that
RLIMIT_MEMLOCK define is not available there without Darwin extensions.
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
* talk-llama : use posix_madvise() instead of madvise() derived from BSD

sed -i 's,\<madvise\>,posix_&,g;s,\<MADV_,POSIX_&,g' examples/talk-llama/llama-util.h

* make : enable Darwin extensions for macOS builds

This is an attempt at fixing macOS build error coming from the fact that
RLIMIT_MEMLOCK define is not available there without Darwin extensions.
landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
* talk-llama : use posix_madvise() instead of madvise() derived from BSD

sed -i 's,\<madvise\>,posix_&,g;s,\<MADV_,POSIX_&,g' examples/talk-llama/llama-util.h

* make : enable Darwin extensions for macOS builds

This is an attempt at fixing macOS build error coming from the fact that
RLIMIT_MEMLOCK define is not available there without Darwin extensions.
iThalay pushed a commit to iThalay/whisper.cpp that referenced this pull request Sep 23, 2024
* talk-llama : use posix_madvise() instead of madvise() derived from BSD

sed -i 's,\<madvise\>,posix_&,g;s,\<MADV_,POSIX_&,g' examples/talk-llama/llama-util.h

* make : enable Darwin extensions for macOS builds

This is an attempt at fixing macOS build error coming from the fact that
RLIMIT_MEMLOCK define is not available there without Darwin extensions.
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.

3 participants