aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-rocm/hsa/hsa.bb
blob: d80faa9c3e9f1588341ee2b60f9f8673320f8514 (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
SUMMARY = "AMD Heterogeneous System Architecture HSA"
DESCRIPTION = "This package includes the user-mode API \
               interfaces and libraries necessary for host \
               applications to launch compute kernels to \
               available HSA kernel agent."

LICENSE = "NCSA"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=abc754edcbe650f4f548eb4efc3cf8d5"

RDEPENDS_${PN} = "libhsakmt"

SRC_URI = "file://hsa.tar.gz"
SRC_URI[md5sum] = "e27a7b3821a6be61c510542840e865d2"

S = "${WORKDIR}/hsa"

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

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

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