mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 08:11:12 +00:00
- Dropped patch because already fixed in the newer version. Changelog: - We fixed a very old issue of data corruption when compressed size exceeds 4GB. This can happen when you compress data close to 4GB and it's incompressible, for example, random data. - Started to use minimum CMake 3.10 because older ones are not planned to be supported. - Various other small fixes - We restored old functions/symbols after reports of ABI incompatibility apache/arrow#41058 conda-forge/snappy-feedstock#35 #183 - Level API was added with level 2 support. Compresses 5-10% denser and decompresses 5-10% faster. The compression speed drop is about 20-30% - Minor fixes Fix: | CMake Error at CMakeLists.txt:29 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | to tell CMake that the project requires at least <min> but has been updated | to work with policies introduced by <max> or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 lines
840 B
BlitzBasic
25 lines
840 B
BlitzBasic
#
|
|
# 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"
|
|
SRCREV = "6af9287fbdb913f0794d0148c6aa43b58e63c8e3"
|
|
|
|
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"
|