Skip to content

Commit

Permalink
[llvm] add GPU targets (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental authored Jan 24, 2025
1 parent 66d8592 commit dbb16f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_tools/cmake/llvm_cache.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 "")

Expand Down

0 comments on commit dbb16f6

Please sign in to comment.