Skip to content

Conversation

@asmaloney
Copy link
Contributor

@asmaloney asmaloney commented Dec 31, 2022

  • update from 3.0 (from 2014) to 3.19 (from 2020)
  • move some global setting onto the targets (through a cmake include)

Right now it's not possible to include whisper.cpp using add_subdirectory() because it modifies the global cmake state (C++ version, install paths, etc.).

This PR starts to move it towards a proper target-based approach.

I created a cmake include file to more easily set the defaults on the many examples, though it could just as well be copied into each file if you like.

I don't have a way to test the EMSCRIPTEN changes, but they mirror all the other examples.

- update from 3.0 (from 2014) to 3.19 (from 2020)
- move some global setting onto the targets (through a cmake include)
@ggerganov ggerganov merged commit 84c6b42 into ggml-org:master Jan 5, 2023
@asmaloney asmaloney deleted the cmake-update branch January 5, 2023 19:28
@djthorpe
Copy link
Contributor

djthorpe commented Jan 6, 2023

Debian Bullseye (the latest version) has CMake 3.18 by default, and this also affects Raspberry Pi's. So I recommend bumping the CMake version down to 3.18

ggerganov added a commit that referenced this pull request Jan 6, 2023
We increase the min version only when want to use particular
functionality that is available in the newer version
anandijain pushed a commit to anandijain/whisper.cpp that referenced this pull request Apr 28, 2023
- update from 3.0 (from 2014) to 3.19 (from 2020)
- move some global setting onto the targets (through a cmake include)
anandijain pushed a commit to anandijain/whisper.cpp that referenced this pull request Apr 28, 2023
We increase the min version only when want to use particular
functionality that is available in the newer version
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
- update from 3.0 (from 2014) to 3.19 (from 2020)
- move some global setting onto the targets (through a cmake include)
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
We increase the min version only when want to use particular
functionality that is available in the newer version
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