-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.jeffser.Alpaca.Plugins.AMD.json
36 lines (36 loc) · 1.3 KB
/
com.jeffser.Alpaca.Plugins.AMD.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"id": "com.jeffser.Alpaca.Plugins.AMD",
"runtime": "com.jeffser.Alpaca",
"runtime-version": "stable",
"sdk": "org.gnome.Sdk//46",
"build-extension": true,
"cleanup": [
"*.a",
"*.la"
],
"modules": [
{
"name": "rocm",
"buildsystem": "simple",
"build-commands": [
"cp lib/ollama/rocblas/library/TensileLibrary_lazy_gfx1030.dat lib/ollama/rocblas/library/TensileLibrary_lazy_gfx1010.dat",
"cp -r --remove-destination * ${FLATPAK_DEST}"
],
"post-install": [
"rm ${FLATPAK_DEST}/com.jeffser.Alpaca.Plugins.AMD.metainfo.xml",
"install -Dm0644 com.jeffser.Alpaca.Plugins.AMD.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/ollama/ollama/releases/download/v0.4.2/ollama-linux-amd64-rocm.tgz",
"sha256": "28cf65a8d66bc1108070fb616f4d8649b750dd3f1bb924b6bbae03d485aea2d2"
},
{
"type": "file",
"path": "com.jeffser.Alpaca.Plugins.AMD.metainfo.xml"
}
]
}
]
}