mesa-clc set to 'system' requires the system tool 'mesa-clc' which gets
built as part of the mesa/host build.
The mesa/host build however depends on LLVM and others - hence we're
trying to avoid pulling this in where possible if target configuration
allows.
meson option 'mesa-clc' allows for 3 options: enabled, system, auto.
While 'auto' sounds like it will only automagically go for either
'enabled' or 'system', it will also disable CLC support entirely, if
only drivers are enabled which don't need it (resulting in
`with_clc=false`) - which is exactly what we want.
This relies on only drivers being selectable, which don't automatically
enable CLC - if LLVM support is disabled.
* Use JavaScript JIT only on supported platforms.
* Fix ARM Thumb2 detection to allow using JavaScript JIT on ARMv7.
* Add inline assembly implementation returning the current stack pointer
on PPC64 (or PPC).
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Clover only implements OpenCL API for nouveau, r600 and radeon-si GPUs.
Remove OpenCL library packages for targets which anyway implement 0% of
the API and are hence useless.
See also https://mesamatrix.net
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Define all CONFIG_PACKAGE_* symbols which may change build configuration
and only build broadcom drivers on ARM targets with FPU.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Previous attempts to prevent linking against libunwind were incomplete.
Simply don't call CheckLibUnwind macro.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Make sure build dependency to mesa/host is set for x86 and x86/64 builds,
add missing dependency on Python ply and make sure to always prefer LLVM
subproject to avoid picking up LLVM from the build host (which may not
match SPIR-V converter tool version).
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Configure build to never link against libunwind or valgrind.
Prevents accidental linkage against those libraries in case they are
present.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SDL2 links tests against libunwind if libunwind is detected by CMake.
This results in build failure due to undefined symbols.
Prevent building with libunwind for now.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add WPE WebKit HTML5 application runtime.
* libwpe: backend abstraction (Wayland or KMS/DRM)
* wpebackend-fdo: FreeDesktop Linux backend for WPE
* wpewebkit: official WebKit port
* cog: simple browser canvas application (best used with 'cage')
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Package SDL2 library with most commonly used audio, video and input
backends.
Tested on KMS/DRM and Wayland with OpenGLES 2.0, but OpenGL or Vulkan
should work just as well.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>