mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-12 17:20:13 +00:00
ef64c35092
Fixes errors e.g. riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_store_8 >>> referenced by unique_lock.h:0 (/usr/include/c++/v1/__mutex/unique_lock.h:0) >>> retrace/eglretrace.lto.libretrace_common.a(retrace_main.cpp.o at 399912).o:(retrace::RelayRunner::runRace()) >>> referenced by retrace_main.cpp:1218 (retrace/retrace_main.cpp:1218) >>> retrace/eglretrace.lto.libretrace_common.a(retrace_main.cpp.o at 399912).o:(main) Signed-off-by: Khem Raj <raj.khem@gmail.com>
32 lines
1003 B
BlitzBasic
32 lines
1003 B
BlitzBasic
SUMMARY = "Tools for tracing OpenGL, Direct3D, and other graphics APIs"
|
|
HOMEPAGE = "http://apitrace.github.io/"
|
|
SECTION = "console/tools"
|
|
LICENSE = "MIT & BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \
|
|
file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c"
|
|
|
|
SRCREV = "ed44bd4c6cce224e2d64533d197bea6ca4fee266"
|
|
SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https"
|
|
|
|
DEPENDS += "zlib libpng python3-native"
|
|
|
|
inherit cmake
|
|
|
|
PACKAGECONFIG ??= " ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11', '', d)} "
|
|
PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF,libx11"
|
|
|
|
EXTRA_OECMAKE += "\
|
|
-DENABLE_GUI=OFF \
|
|
-DENABLE_STATIC_LIBGCC=OFF \
|
|
-DENABLE_STATIC_LIBSTDCXX=OFF \
|
|
-DPython3_ROOT_DIR=/usr/bin/python3-native \
|
|
"
|
|
|
|
# Use the bundled snappy library
|
|
EXTRA_OECMAKE += "\
|
|
-DENABLE_STATIC_SNAPPY=ON \
|
|
"
|
|
LDFLAGS:append:riscv32 = " -latomic"
|
|
|
|
SECURITY_CFLAGS:toolchain-clang = ""
|