diff --git a/build_tools/cmake/llvm_cache.cmake b/build_tools/cmake/llvm_cache.cmake index 573eb394..2e64b58e 100644 --- a/build_tools/cmake/llvm_cache.cmake +++ b/build_tools/cmake/llvm_cache.cmake @@ -29,6 +29,7 @@ set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "") set(LLVM_ENABLE_WARNINGS ON CACHE BOOL "") set(LLVM_FORCE_ENABLE_STATS ON CACHE BOOL "") # because AMD target td files are insane... +set(LLVM_TARGETS_TO_BUILD "host;NVPTX;AMDGPU" CACHE STRING "") set(LLVM_OPTIMIZED_TABLEGEN ON CACHE BOOL "") set(LLVM_ENABLE_RTTI ON CACHE BOOL "")