mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
llvm,mesa: Drop MESA_LLVM_RELEASE
This was needed to use provide different llvm from meta-clang or other layers, seems unused since meta-clang has stopped providing a versioned llvm (From OE-Core rev: 7012aefb10a4101b2f3baf4dc20c64e3260b4cc8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -14,8 +14,6 @@ RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
|
|||||||
|
|
||||||
inherit cmake pkgconfig
|
inherit cmake pkgconfig
|
||||||
|
|
||||||
PROVIDES += "llvm${PV}"
|
|
||||||
|
|
||||||
PV = "16.0.3"
|
PV = "16.0.3"
|
||||||
|
|
||||||
MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
|
MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
|
||||||
|
|||||||
@@ -52,8 +52,6 @@ ANY_OF_DISTRO_FEATURES = "opengl vulkan"
|
|||||||
|
|
||||||
PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}"
|
PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}"
|
||||||
|
|
||||||
MESA_LLVM_RELEASE ?= ""
|
|
||||||
|
|
||||||
# set the MESA_BUILD_TYPE to either 'release' (default) or 'debug'
|
# set the MESA_BUILD_TYPE to either 'release' (default) or 'debug'
|
||||||
# by default the upstream mesa sources build a debug release
|
# by default the upstream mesa sources build a debug release
|
||||||
# here we assume the user will want a release build by default
|
# here we assume the user will want a release build by default
|
||||||
@@ -178,8 +176,7 @@ GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',r600',
|
|||||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', ',virgl', '', d)}"
|
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', ',virgl', '', d)}"
|
||||||
|
|
||||||
PACKAGECONFIG[gallium] = "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, -Dgallium-drivers='', libdrm"
|
PACKAGECONFIG[gallium] = "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, -Dgallium-drivers='', libdrm"
|
||||||
PACKAGECONFIG[gallium-llvm] = "-Dllvm=enabled -Dshared-llvm=enabled, -Dllvm=disabled, llvm${MESA_LLVM_RELEASE} llvm-native \
|
PACKAGECONFIG[gallium-llvm] = "-Dllvm=enabled -Dshared-llvm=enabled, -Dllvm=disabled, llvm llvm-native elfutils"
|
||||||
elfutils"
|
|
||||||
PACKAGECONFIG[xa] = "-Dgallium-xa=enabled, -Dgallium-xa=disabled"
|
PACKAGECONFIG[xa] = "-Dgallium-xa=enabled, -Dgallium-xa=disabled"
|
||||||
PACKAGECONFIG[va] = "-Dgallium-va=enabled,-Dgallium-va=disabled,libva-initial"
|
PACKAGECONFIG[va] = "-Dgallium-va=enabled,-Dgallium-va=disabled,libva-initial"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user