mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
ac/common: always build NIR translation
radeonsi needs it now, and we require LLVM 3.9 anyway. Fixes a build with radeonsi but not radv.
This commit is contained in:
parent
be5773fa8d
commit
86d4b46d66
1 changed files with 2 additions and 7 deletions
|
|
@ -58,13 +58,8 @@ common_libamd_common_la_SOURCES = \
|
|||
$(AMD_COMMON_FILES) \
|
||||
$(AMD_COMPILER_FILES) \
|
||||
$(AMD_DEBUG_FILES) \
|
||||
$(AMD_GENERATED_FILES)
|
||||
|
||||
# nir_to_llvm requires LLVM 3.9, which is only required as a minimum when
|
||||
# radv is built.
|
||||
if HAVE_RADEON_VULKAN
|
||||
common_libamd_common_la_SOURCES += $(AMD_NIR_FILES)
|
||||
endif
|
||||
$(AMD_GENERATED_FILES) \
|
||||
$(AMD_NIR_FILES)
|
||||
endif
|
||||
|
||||
common_libamd_common_la_LIBADD = $(LIBELF_LIBS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue