-
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.5.4/ollama-linux-amd64-rocm.tgz",
"sha256": "94310c278104f47c8a539e9e3af77fd956a7f7e76adcd51cf35bedcd294d3412"
},
{
"type": "file",
"path": "com.jeffser.Alpaca.Plugins.AMD.metainfo.xml"
}
]
}
]
}