On 4/26/23 18:17, Andrew Davis wrote:
On 4/26/23 4:32 PM, [email protected] wrote:
From: Randolph Sapp <[email protected]>

Drop the explicit removal of x11 as the new PVR Vulkan libs have runtime
dependencies on libx11.

Add vulkan as a distro feature.

Signed-off-by: Randolph Sapp <[email protected]>
---
  meta-arago-distro/conf/distro/arago.conf | 4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index 094e67da..58841051 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -45,12 +45,10 @@ TMPDIR .= "${TCMODEAPPEND}"
  # Start with default set of distro features
  DISTRO_FEATURES = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}"
-# Remove some unwanted features
-DISTRO_FEATURES:remove = "x11"

This is probably fine, but to get it to work on our SGX platforms
I also needed:

PACKAGECONFIG:remove:pn-xserver-xorg = "dri3"
PACKAGECONFIG:remove:pn-xserver-xorg = "xshmfence"
PACKAGECONFIG:remove:pn-xserver-xorg = "glx"
PACKAGECONFIG:remove:pn-cairo = "opengl"
PACKAGECONFIG:remove:pn-libepoxy = "x11"
PACKAGECONFIG:remove:pn-mesa-demos = "gbm"
PACKAGECONFIG:remove:pn-mesa-demos = "wayland"
PACKAGECONFIG:remove:pn-mesa-demos = "glew"
PACKAGECONFIG:remove:pn-mesa-demos = "glu"

To prevent any of these trying to build against desktop OpenGL or GLESv3.

-
  # Add additional distro features
  DISTRO_FEATURES:append = " pam wayland opengl"
  #DISTRO_FEATURES:append = " opencl"
+DISTRO_FEATURES:append = " vulkan"

You going to add Vulkan support to SGX? You do remember we have
to turn that back on at some point...

Ideally, like "opengl", these should become machine features, not distro.

Andrew

  DISTRO_FEATURES:append = " opencv"
  DISTRO_FEATURES:append = " openmp"

Invalid arg. Enabling vulkan doesn't have the same effect is enabling opengl. It changes compilation flags but right now all userspace tools that we care about are capable of switching backends at runtime. SGX doesn't have a vulkan driver so it should fail-over to gl automatically.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14362): 
https://lists.yoctoproject.org/g/meta-arago/message/14362
Mute This Topic: https://lists.yoctoproject.org/mt/98524820/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to