blob: cdee9a089476bc2bc00204f57effc8045466df1a (
plain)
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
37
38
39
|
# Maintainer: George Sofianos <george at sofianos dot dev>
# Release notes https://github.com/Mesh-LLM/mesh-llm/releases/tag/v0.76.1
pkgname=mesh-llm-rocm
pkgdesc="Mesh LLM lets you pool spare GPU capacity across machines and expose the result as one OpenAI-compatible API."
pkgver=0.76.1
_pkgver=0.76.1
pkgrel=1
arch=('x86_64')
url='https://github.com/Mesh-LLM/mesh-llm'
license=('Apache-2.0')
makedepends=('just' 'cmake' 'lld' 'pnpm' 'cargo')
depends=('rocm-hip-sdk' 'patchelf')
provides=('mesh-llm' 'mesh-llm-rocm')
conflicts=('mesh-llm-cuda' 'mesh-llm-vulkan')
options=('!lto')
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/Mesh-LLM/mesh-llm/archive/refs/tags/v${_pkgver}.tar.gz"
)
sha256sums=(
'b1dd84e6ea0c0de245e90f38b8b68a2bdd9b41822f9f8604d3846ac83b40406f'
)
build() {
# export ROCM_PATH=/opt/rocm/core
# export HIP_PATH=/opt/rocm/core
# export CMAKE_PREFIX_PATH=/opt/rocm/core
export RUSTUP_TOOLCHAIN=stable
cd $srcdir/mesh-llm-${_pkgver}
just release-build-rocm
}
package() {
cd $srcdir/mesh-llm-${_pkgver}
install -Dm0755 target/release/mesh-llm "$pkgdir/usr/bin/mesh-llm"
# install -Dm0755 target/debug/mesh-llm "$pkgdir/usr/bin/mesh-llm"
}
|