build: revise build informations.
This commit is contained in:
parent
856d6549de
commit
118d410d52
|
@ -8,7 +8,7 @@
|
|||
<Platforms>AnyCPU;x64</Platforms>
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
|
||||
<Version>0.1.0</Version>
|
||||
<Version>0.1.9</Version>
|
||||
<Authors>Yaohui Liu, Haiping Chen</Authors>
|
||||
<Company>SciSharp STACK</Company>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
|
@ -42,16 +42,10 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="./lib/llama.dll">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
<Pack>true</Pack>
|
||||
<PackagePath>lib\$(TargetFramework)</PackagePath>
|
||||
</Content>
|
||||
<Content Include="./lib/libllama.so">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
<Pack>true</Pack>
|
||||
<PackagePath>lib\$(TargetFramework)</PackagePath>
|
||||
</Content>
|
||||
<Content Include="runtimes\*"
|
||||
CopyToOutputDirectory="Always"
|
||||
Pack="true"
|
||||
PackagePath="runtimes\" />
|
||||
<!--<Content Include="llama.so">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
<PackageCopyToOutput>true</PackageCopyToOutput>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
|
@ -8,7 +9,11 @@ namespace LLama.Native
|
|||
using llama_token = Int32;
|
||||
internal unsafe partial class NativeApi
|
||||
{
|
||||
private const string libraryName = "lib/libllama";
|
||||
static NativeApi()
|
||||
{
|
||||
|
||||
}
|
||||
private const string libraryName = "libllama";
|
||||
|
||||
[DllImport(libraryName)]
|
||||
public static extern LLamaContextParams llama_context_default_params();
|
||||
|
|
Loading…
Reference in New Issue