Skip to content

Fix for packages which use CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT and target is ARMv8

Adrian Perez de Castro buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1pkg-cmake.mk: Set CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT for ARMv8package/pkg-cmake.mk+2 -02 replies
1/1pkg-cmake.mk: Set CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT for ARMv8+0 -00 replies
1/1pkg-cmake.mk: Set CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT for ARMv8+0 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchArnout Vandecappelle (Essensium/Mind)
1/1R-b
1/1R-b
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/1] Fix for packages which use CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT and target is ARMv8

Hello again,

Earlier today I sent a patch to update WebKitGTK+ to version 2.16.5, which I tested by building for the RPi3 with a configuration which was incorrectly using ARMv6 as target. Then later I noticed the mistake and switched over to use ARMv8 as target, but then WebKitGTK+ wouldn't build and CMake would stop with the following error:

[...]
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:87 (message):
Unknown CPU 'l'

Applying this patch to pkg-cmake.mk fixes the issue above, which I suspect might affect other packages as well.

Cheers,

Adrian Perez de Castro (1):
pkg-cmake.mk: Set CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT for ARMv8

 package/pkg-cmake.mk | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
2.13.2