public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] vulkan-samples: Disable on 32bit ARM
@ 2024-09-10  0:51 Khem Raj
  2024-09-10 12:22 ` [OE-core] " Ross Burton
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2024-09-10  0:51 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

vulkan-samples depend on atsc module and this module
only supports x86_64/arm64 as it seems, Neon support check does
not do a good job of detecting 64bit arm + neon to enable it
and it gets enabled for 32bit arm and it uses 64bit neon ISA
ending in build errors e.g.

astc/Source/astcenc_vecmathlib_neon_4.h:420:16: error: 'vaddvq_u32' was not declared in this scope; did you mean 'vaddq_u32'?

if upstream fixes the build for arm we can re-enable it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
index 93d4cdfdd9e..e1a2d13cdff 100644
--- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
@@ -37,3 +37,5 @@ EXTRA_OECMAKE += "-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON"
 EXTRA_OECMAKE += "-DVKB_WSI_SELECTION=D2D"
 
 COMPATIBLE_HOST:x86 = "null"
+COMPATIBLE_HOST:arm = "null"
+COMPATIBLE_HOST:armv7ve = "null"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] vulkan-samples: Disable on 32bit ARM
  2024-09-10  0:51 [PATCH] vulkan-samples: Disable on 32bit ARM Khem Raj
@ 2024-09-10 12:22 ` Ross Burton
  2024-09-10 13:57   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Ross Burton @ 2024-09-10 12:22 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core@lists.openembedded.org

On 10 Sep 2024, at 01:51, Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote:
> 
> vulkan-samples depend on atsc module and this module
> only supports x86_64/arm64 as it seems,

I’m wondering if we should reverse this logic and just list the platforms that vulkan-samples actually works on.

For example, it also fails on 32-bit ppc:

vulkan-samples/git/git/components/filesystem/src/std_filesystem.cpp:52:13: error: narrowing conversion of 'size' from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} [-Werror=narrowing]

Ross

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] vulkan-samples: Disable on 32bit ARM
  2024-09-10 12:22 ` [OE-core] " Ross Burton
@ 2024-09-10 13:57   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2024-09-10 13:57 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembedded-core@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

On Tue, Sep 10, 2024 at 5:22 AM Ross Burton <Ross.Burton@arm.com> wrote:

> On 10 Sep 2024, at 01:51, Khem Raj via lists.openembedded.org <raj.khem=
> gmail.com@lists.openembedded.org> wrote:
> >
> > vulkan-samples depend on atsc module and this module
> > only supports x86_64/arm64 as it seems,
>
> I’m wondering if we should reverse this logic and just list the platforms
> that vulkan-samples actually works on.


Yeah that would be arm64 and x86_64 AFAICT

>
>
> For example, it also fails on 32-bit ppc:
>
> vulkan-samples/git/git/components/filesystem/src/std_filesystem.cpp:52:13:
> error: narrowing conversion of 'size' from 'long long unsigned int' to
> 'size_t' {aka 'unsigned int'} [-Werror=narrowing]
>
> Ross

[-- Attachment #2: Type: text/html, Size: 1384 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-10 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-10  0:51 [PATCH] vulkan-samples: Disable on 32bit ARM Khem Raj
2024-09-10 12:22 ` [OE-core] " Ross Burton
2024-09-10 13:57   ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox