mirror of
https://github.com/openwrt/video.git
synced 2026-05-31 06:51:54 +08:00
1623b707b1
Apart from switching to a newer upstream version, also improve the build: * introduce build-variants for each kind of hardware * use LLVM * build more Gallium drivers * build Vulkan drivers * build Clover OpenCL library Signed-off-by: Daniel Golle <daniel@makrotopia.org>
20 lines
473 B
Plaintext
20 lines
473 B
Plaintext
project('llvm', ['cpp'])
|
|
|
|
cpp = meson.get_compiler('cpp')
|
|
|
|
_deps = []
|
|
_search = join_paths(meson.current_source_dir(), 'lib')
|
|
foreach d : [@LLVM_LIBS@]
|
|
_deps += cpp.find_library(d, dirs : _search)
|
|
endforeach
|
|
|
|
dep_llvm = declare_dependency(
|
|
include_directories : include_directories('include'),
|
|
dependencies : _deps,
|
|
version : '@LLVM_VERSION@',
|
|
)
|
|
|
|
libdir = join_paths(meson.current_source_dir(), 'lib')
|
|
has_rtti = true
|
|
irbuilder_h = files('include/llvm/IR/IRBuilder.h')
|