2017-09-20 11:53:29 -07:00
|
|
|
# Copyright © 2017 Intel Corporation
|
2024-06-28 13:16:28 -07:00
|
|
|
# SPDX-License-Identifier: MIT
|
2017-09-20 11:53:29 -07:00
|
|
|
|
|
|
|
|
inc_amd = include_directories('.')
|
|
|
|
|
|
2025-11-18 14:46:21 +01:00
|
|
|
if with_tools.contains('drm-shim')
|
|
|
|
|
subdir('drm-shim')
|
|
|
|
|
endif
|
|
|
|
|
|
2022-05-03 08:17:57 +02:00
|
|
|
if with_amd_vk or with_gallium_radeonsi
|
|
|
|
|
subdir('addrlib')
|
|
|
|
|
subdir('common')
|
2024-04-29 10:52:25 -04:00
|
|
|
if amd_with_llvm
|
2022-05-03 08:17:57 +02:00
|
|
|
subdir('llvm')
|
|
|
|
|
else
|
|
|
|
|
libamd_common_llvm = []
|
|
|
|
|
endif
|
2023-04-05 19:44:19 +08:00
|
|
|
subdir('compiler')
|
2020-07-31 16:39:10 +02:00
|
|
|
endif
|
2023-04-05 19:44:19 +08:00
|
|
|
|
2017-09-20 11:53:29 -07:00
|
|
|
if with_amd_vk
|
|
|
|
|
subdir('vulkan')
|
2020-01-22 19:58:27 +00:00
|
|
|
if with_aco_tests
|
|
|
|
|
subdir('compiler/tests')
|
|
|
|
|
endif
|
2017-09-20 11:53:29 -07:00
|
|
|
endif
|
2022-01-29 20:27:01 -08:00
|
|
|
|
2023-10-12 14:04:31 +08:00
|
|
|
if with_gallium_radeonsi
|
|
|
|
|
subdir('vpelib')
|
2025-02-25 16:51:21 +08:00
|
|
|
subdir('gmlib')
|
2025-06-05 17:06:42 +08:00
|
|
|
subdir('lanczoslib')
|
2023-10-12 14:04:31 +08:00
|
|
|
endif
|