1*edff4923SAndrew GeisslerDESCRIPTION = "A microbenchmark support library"
2*edff4923SAndrew GeisslerHOMEPAGE = "https://github.com/google/benchmark"
3*edff4923SAndrew GeisslerSECTION = "libs"
4*edff4923SAndrew GeisslerLICENSE = "Apache-2.0"
5*edff4923SAndrew GeisslerLIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6*edff4923SAndrew Geissler
7*edff4923SAndrew GeisslerSRC_URI = "git://github.com/google/benchmark.git;protocol=https;branch=main \
8*edff4923SAndrew Geissler           file://0001-cycleclock-Fix-type-conversion-to-match-function-ret.patch \
9*edff4923SAndrew Geissler           file://0002-cycleclock-Fix-type-conversion-to-match-function-ret.patch"
10*edff4923SAndrew GeisslerSRCREV = "a4cf155615c63e019ae549e31703bf367df5b471"
11*edff4923SAndrew Geissler
12*edff4923SAndrew GeisslerS = "${WORKDIR}/git"
13*edff4923SAndrew Geissler
14*edff4923SAndrew GeisslerEXTRA_OECMAKE = " \
15*edff4923SAndrew Geissler    -DBUILD_SHARED_LIBS=yes \
16*edff4923SAndrew Geissler    -DBENCHMARK_ENABLE_TESTING=no \
17*edff4923SAndrew Geissler    -DCMAKE_BUILD_TYPE=Release \
18*edff4923SAndrew Geissler"
19*edff4923SAndrew Geissler
20*edff4923SAndrew Geisslerinherit cmake
21*edff4923SAndrew Geissler
22*edff4923SAndrew GeisslerFILES:${PN}-dev += "${libdir}/cmake"
23