mesa/src/asahi/meson.build
Alyssa Rosenzweig 65a5ff67e9 agx: add XML-based disassembler
autogenerate a disassembler from the XML. also add a simple pure Python
reference disassembler, since autogenerated C code can be annoying to work with
in various contexts (we might drop this down the line, TBD if it's useful to
port over the current non-Mesa consumers of dougallj/applegpu). both
disassemblers produce identical output, unit tested via Meson.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35189>
2025-06-05 18:57:42 +00:00

36 lines
738 B
Meson

# Copyright 2018 Rob Clark
# Copyright 2019 Collabora, Ltd.
# SPDX-License-Identifier: MIT
# This is used only for the r/e tooling on macOS
dep_iokit = dependency('IOKit', required : false)
inc_asahi = include_directories([
'.', 'layout', 'lib', 'genxml', 'compiler'
])
subdir('isa')
if with_gallium_asahi or with_asahi_vk or with_tools.contains('asahi')
subdir('genxml')
subdir('libagx')
subdir('compiler')
subdir('clc')
endif
if with_gallium_asahi or with_asahi_vk
subdir('layout')
subdir('lib')
elif dep_iokit.found()
# Just build enough for libwrap.dylib
subdir('genxml')
subdir('lib')
endif
if with_asahi_vk
subdir('vulkan')
endif
if with_tools.contains('drm-shim')
subdir('drm-shim')
endif