Skip to content

Commit

Permalink
mesa: build clover with native LLVM codegen support for freedreno
Browse files Browse the repository at this point in the history
(From OE-Core rev: fbd9d6643ff0b345fa0e3b369eabc0efefeac5e3)

Signed-off-by: Andrey Konovalov <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
  • Loading branch information
andrey-konovalov authored and rpurdie committed Sep 1, 2022
1 parent a1bdef5 commit b16ecb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meta/recipes-graphics/mesa/mesa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2
PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled"

# "opencl" requires libclc from meta-clang and spirv-tools from OE-Core
PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true,-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools"
OPENCL_NATIVE = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', '-Dopencl-native=true', '', d)}"
PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools"

PACKAGECONFIG[broadcom] = ""
PACKAGECONFIG[etnaviv] = ""
Expand Down

0 comments on commit b16ecb4

Please sign in to comment.