aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-rocm/hsa/libhsakmt.bb
blob: db535faf5093482c961b8ea1e3a147fbe94f73c9 (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
SUMMARY = "ROCt Library"
DESCRIPTION = "This package includes the user-mode API interfaces \
               used to interact with the ROCk driver. Currently \
               supported agents include only the AMD/ATI Fiji family \
               of discrete GPUs."

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=b1afa13daf74f4073c4813368bc1b1b0"

RDEPENDS_${PN} = "libpci numactl"

SRC_URI = "file://libhsakmt.tar.gz"
SRC_URI[md5sum] = "4fe4381a7ec30219f115a8915c85a97c"

S = "${WORKDIR}/libhsakmt"

# Skip configure and compile
do_configure[noexec] = "1"
do_compile[noexec] = "1"

INSANE_SKIP_${PN} += "already-stripped build-deps"

do_install () {
    # Install the binary components
    install -d ${D}${libdir}
    cp -r ${S}/lib/* ${D}${libdir}
    install -d ${D}${includedir}
    cp -r ${S}/include/* ${D}${includedir}
}