mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 09:32:11 +02:00
Fix build with musl (From OE-Core rev: a76700a47c227e76551d2f2c86db5841ad7f6e8f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
1.1 KiB
BlitzBasic
31 lines
1.1 KiB
BlitzBasic
SUMMARY = "a fast C/C++ compiler cache"
|
|
DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \
|
|
by caching the result of previous compilations and detecting when the \
|
|
same compilation is being done again. Supported languages are C, C\+\+, \
|
|
Objective-C and Objective-C++."
|
|
HOMEPAGE = "http://ccache.samba.org"
|
|
SECTION = "devel"
|
|
|
|
LICENSE = "GPL-3.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=7a19377a02749d8a1281ed608169b0ee"
|
|
|
|
DEPENDS = "zstd"
|
|
|
|
SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz \
|
|
file://0001-xxhash.h-Fix-build-with-gcc-12.patch \
|
|
file://0001-Include-time.h-for-time_t.patch \
|
|
file://0002-config-Include-sys-types.h-for-mode_t-defintion.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "6a746a9bed01585388b68e2d58af2e77741fc8d66bc360b5a0b4c41fc284dafe"
|
|
|
|
UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/"
|
|
|
|
inherit cmake
|
|
|
|
PATCHTOOL = "patch"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
PACKAGECONFIG[docs] = "-DENABLE_DOCUMENTATION=ON,-DENABLE_DOCUMENTATION=OFF,asciidoc"
|
|
PACKAGECONFIG[redis] = "-DREDIS_STORAGE_BACKEND=ON,-DREDIS_STORAGE_BACKEND=OFF,hiredis"
|