ac/common: always build NIR translation
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Jul 2017 15:41:23 +0000 (17:41 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Jul 2017 15:59:10 +0000 (17:59 +0200)
radeonsi needs it now, and we require LLVM 3.9 anyway.

Fixes a build with radeonsi but not radv.

src/amd/Makefile.common.am

index dff461c35d4c31ecf1457235772276d43c31b6b9..d62e9d41cf4f1b0c875ac30d83edec2a498b2270 100644 (file)
@@ -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)