-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80345e1
commit 315190b
Showing
17 changed files
with
253 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<package> | ||
<metadata> | ||
<id>Whisper.net.Runtime.CoreML</id> | ||
<title>Whisper.Net.Runtime.CoreML</title> | ||
<version>1.4.3</version> | ||
<authors>Sandro Hanea</authors> | ||
<owners>Sandro Hanea</owners> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<summary>Cross-platform dotnet runtimes for Whisper, built with CoreML support.</summary> | ||
<description>Whisper.net.Runtime.CoreML contains the native, CoreML enabled, runtime libraries to enable Whisper on .NET apps with Whisper.Net.</description> | ||
<tags>whisper;ios;macos;cross-platform</tags> | ||
<projectUrl>https://github.com/sandrohanea/whisper.net</projectUrl> | ||
<license type="expression">MIT</license> | ||
</metadata> | ||
<files> | ||
<file src="Whisper.net.Runtime.CoreML\**" target="build"/> | ||
</files> | ||
</package> |
114 changes: 114 additions & 0 deletions
114
Whisper.net.Runtime.CoreML/Whisper.net.Runtime.CoreML.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<Project ToolsVersion="4.0" | ||
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Condition="(('$(Platform)' == 'iPhoneSimulator') OR $(RuntimeIdentifier.StartsWith('iossimulator')))"> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)ios-simulator\libwhisper.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.dylib</TargetPath> | ||
</None> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)ios-simulator\libwhisper.coreml.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.coreml.dylib</TargetPath> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup Condition="(('$(Platform)' == 'iPhone') OR ('$(RuntimeIdentifier)' == 'ios') OR $(RuntimeIdentifier.StartsWith('ios-')) OR $(RuntimeIdentifier.StartsWith('ios.')))"> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)ios-device\libwhisper.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.dylib</TargetPath> | ||
</None> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)ios-device\libwhisper.coreml.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.coreml.dylib</TargetPath> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(TargetFramework.Contains('-maccatalyst')) == true "> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)maccatalyst\libwhisper.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>runtimes/maccatalyst/libwhisper.dylib</TargetPath> | ||
</None> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)maccatalyst\libwhisper.coreml.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.coreml.dylib</TargetPath> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(TargetFramework.Contains('-macos')) == true "> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)macos\libwhisper.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>runtimes/maccatalyst/libwhisper.dylib</TargetPath> | ||
</None> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)macos\libwhisper.coreml.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.coreml.dylib</TargetPath> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('tvos-'))"> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)tvos-device\libwhisper.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.dylib</TargetPath> | ||
</None> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)tvos-device\libwhisper.coreml.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.coreml.dylib</TargetPath> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('tvossimulator-'))"> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)tvos-simulator\libwhisper.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.dylib</TargetPath> | ||
</None> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)tvos-simulator\libwhisper.coreml.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>libwhisper.coreml.dylib</TargetPath> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(TargetFramework.Contains('-')) == false "> | ||
<!-- If using default runtime, include the split macOS libs rather that the lipoed version --> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)macos\libwhisper.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>runtimes/osx-x64/whisper.dylib</TargetPath> | ||
</None> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)macos\libwhisper.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>runtimes/osx-arm64/whisper.dylib</TargetPath> | ||
</None> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)macos\libwhisper.coreml.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>runtimes/osx-arm64/libwhisper.coreml.dylib</TargetPath> | ||
</None> | ||
<None Visible="false" Include="$(MSBuildThisFileDirectory)macos\libwhisper.coreml.dylib"> | ||
<Pack>true</Pack> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<TargetPath>runtimes/osx-x64/libwhisper.coreml.dylib</TargetPath> | ||
</None> | ||
</ItemGroup> | ||
</Project> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters