Skip to content

Commit 5a4d55b

Browse files
committed
Add nuspec for OpenCL (CLBLAST)
1 parent d468df0 commit 5a4d55b

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

.github/prepare_release.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,11 @@ dotnet pack ./LLama.KernelMemory/LLamaSharp.KernelMemory.csproj -c Release -o ./
7171

7272
# pack the backends
7373
cd temp
74-
nuget pack LLamaSharp.Backend.Cpu.nuspec -version $updated_version
75-
nuget pack LLamaSharp.Backend.Cuda11.nuspec -version $updated_version
76-
nuget pack LLamaSharp.Backend.Cuda12.nuspec -version $updated_version
77-
74+
for nuspec in *.nuspec
75+
do
76+
echo "Packing $nuspec"
77+
nuget pack $nuspec -version $updated_version
78+
done
7879

7980
cd ..
8081
exit 0
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package >
3+
<metadata>
4+
<id>LLamaSharp.Backend.OpenCL</id>
5+
<version>$version$</version>
6+
<title>LLamaSharp.Backend.OpenCL - OpenCL Backend for LLamaSharp</title>
7+
<authors>llama.cpp Authors</authors>
8+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
9+
<license type="expression">MIT</license>
10+
<icon>icon512.png</icon>
11+
<projectUrl>https://github.com/SciSharp/LLamaSharp</projectUrl>
12+
<description>LLamaSharp.Backend.OpenCL is a backend for LLamaSharp to use with OpenCL.</description>
13+
<releaseNotes></releaseNotes>
14+
<copyright>Copyright 2023 The llama.cpp Authors. All rights reserved.</copyright>
15+
<tags>LLamaSharp LLama LLM GPT AI ChatBot SciSharp</tags>
16+
</metadata>
17+
18+
<files>
19+
<file src="LLamaSharpBackend.props" target="build/netstandard2.0/LLamaSharp.Backend.OpenCL.props" />
20+
21+
<file src="runtimes/deps/clblast/llama.dll" target="runtimes\win-x64\native\clblast\llama.dll" />
22+
<file src="runtimes/deps/clblast/libllama.so" target="runtimes\linux-x64\native\clblast\libllama.so" />
23+
<file src="runtimes/deps/clblast/clblast.dll" target="runtimes\win-x64\native\clblast\clblast.dll" />
24+
<file src="runtimes/deps/clblast/libclblast.so" target="runtimes\linux-x64\native\clblast\libclblast.so" />
25+
26+
<file src="icon512.png" target="icon512.png" />
27+
</files>
28+
</package>

0 commit comments

Comments
 (0)