Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrohanea committed Dec 21, 2024
1 parent a2b150f commit b824ab0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ project ("Whisper.net")
add_subdirectory ("whisper.cpp")

set_target_properties(ggml PROPERTIES OUTPUT_NAME "ggml-whisper")
set_target_properties(ggml-cpu PROPERTIES OUTPUT_NAME "ggml-cpu-whisper")
set_target_properties(ggml-base PROPERTIES OUTPUT_NAME "ggml-base-whisper")
set_target_properties(ggml-cuda PROPERTIES OUTPUT_NAME "ggml-cuda-whisper")
set_target_properties(ggml-vulkan PROPERTIES OUTPUT_NAME "ggml-vulkan-whisper")
set_target_properties(ggml-metal PROPERTIES OUTPUT_NAME "ggml-metal-whisper")

if (CMAKE_SYSTEM_NAME STREQUAL "Android")
# Set alignment to 16 KB. See https://developer.android.com/guide/practices/page-sizes#cmake
Expand Down
2 changes: 2 additions & 0 deletions windows-scripts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ function BuildWindows() {

Move-Item "$buildDirectory/bin/Release/whisper.dll" "$runtimePath/whisper.dll" -Force
Move-Item "$buildDirectory/bin/Release/ggml-whisper.dll" "$runtimePath/ggml-whisper.dll" -Force
Move-Item "$buildDirectory/bin/Release/ggml-base-whisper.dll" "$runtimePath/ggml-base-whisper.dll" -Force

}

function BuildWindowsArm([Parameter(Mandatory = $false)] [string]$Configuration = "Release") {
Expand Down

0 comments on commit b824ab0

Please sign in to comment.