Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From ecb3bcc283ce740a34d6342cbcda569f3193ade9 Mon Sep 17 00:00:00 2001
|
||||
From: David Michael <fedora.dm0@gmail.com>
|
||||
Date: Mon, 1 May 2023 11:14:32 -0400
|
||||
Subject: [PATCH] Specifically check for NEON for ARMv8 CPUs.
|
||||
|
||||
The actual NEON implementation uses instructions that are not
|
||||
supported on 32-bit CPUs. Make the CMake test reflect this so that
|
||||
ARMv7 builds succeed again.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/google/snappy/pull/169]
|
||||
|
||||
Signed-off-by: David Michael <fedora.dm0@gmail.com>
|
||||
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 85afe58e..e8775859 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -207,9 +207,9 @@ int main() {
|
||||
check_cxx_source_compiles("
|
||||
#include <arm_neon.h>
|
||||
int main() {
|
||||
- uint8_t val = 3, dup[8];
|
||||
+ uint8_t val = 3;
|
||||
uint8x16_t v = vld1q_dup_u8(&val);
|
||||
- vst1q_u8(dup, v);
|
||||
+ val = vmaxvq_u8(v);
|
||||
return 0;
|
||||
}" SNAPPY_HAVE_NEON)
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Copyright (C) 2014 Wind River Systems, Inc.
|
||||
# Released under the BSD-3-Clause license (see COPYING.BSD-3 for the terms)
|
||||
#
|
||||
SUMMARY = "A compression/decompression library"
|
||||
DESCRIPTION = "Snappy is a fast data compression and decompression library \
|
||||
It was designed to be very fast and stable, but not to achieve a high \
|
||||
compression ratio."
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f62f3080324a97b3159a7a7e61812d0c"
|
||||
|
||||
SRC_URI = "gitsm://github.com/google/snappy.git;protocol=https;branch=main \
|
||||
file://fix-build-on-32bit-arm.patch"
|
||||
|
||||
SRCREV = "dc05e026488865bc69313a68bcc03ef2e4ea8e83"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake pkgconfig
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo,"
|
||||
TARGET_CFLAGS += "-fPIC"
|
||||
|
||||
EXTRA_OECMAKE += '-DBUILD_SHARED_LIBS="ON" -DSNAPPY_BUILD_TESTS="OFF" -DSNAPPY_BUILD_BENCHMARKS="OFF"'
|
||||
|
||||
CVE_PRODUCT = "google:snappy"
|
||||
Reference in New Issue
Block a user