summaryrefslogtreecommitdiff
path: root/libs/rocm-hipblas-common/MAKEPKG
blob: ea9dd3414f67386559c6de5b48da02bb79e77af3 (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
#!/bin/mkpkg
# description: hipBLAS common headers and cmake config
# url: https://github.com/ROCm/hipBLAS-common

name=rocm-hipblas-common
_name=therock
version=10.0
release=1
depends=()
makedeps=(cmake ninja rocm-cmake)
source=(https://github.com/ROCm/rocm-libraries/releases/download/$_name-$version/hipblas-common.tar.gz)
renames=($name-$version.tar.gz)
sha256sums=(
    "1428438a1dca95d4a751ed6d22267e49c54ab08a80f31c07e3e077084bce9d0a"
)

build() {
    cmake -S hipblas-common -B build -G Ninja -Wno-dev \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_INSTALL_LIBDIR=lib \
        -DCMAKE_PREFIX_PATH=/usr \
        -DBUILD_TESTING=OFF

    ninja -C build
    DESTDIR=$PKG ninja -C build install
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh