summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb
blob: 6cab99c29d64ec0136a833baaf73ee1b53541bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require opencl-clang.inc

SRCREV = "8fc6b059248dc6c9c40c7cbe5fedcc6ebb951983"

DEPENDS += " spirv-llvm-translator"

BRANCH = "ocl-open-120"

EXTRA_OECMAKE += "\
                  -DCMAKE_SKIP_RPATH=TRUE \
                  -DPREFERRED_LLVM_VERSION="12.0.0" \
                  "

do_install:append:class-native() {
        install -d ${D}${bindir}
        install -m 0755 ${B}/linux_linker/linux_resource_linker ${D}${bindir}/
}