Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions compiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ if(THEROCK_ENABLE_COMPILER)
-DLLVM_INCLUDE_EXAMPLES=${THEROCK_ENABLE_LLVM_TESTS}
-DLLVM_TOOL_LLVM_JITLINK_BUILD=${THEROCK_ENABLE_LLVM_TESTS}

# Coverage tools (needed for code coverage builds)
-DLLVM_TOOL_LLVM_COV_BUILD=ON
-DLLVM_TOOL_LLVM_PROFDATA_BUILD=ON

# Clang features.
-DCLANG_ENABLE_ARCMT=OFF
-DCLANG_ENABLE_STATIC_ANALYZER=OFF
Expand Down
3 changes: 3 additions & 0 deletions compiler/pre_hook_amd-llvm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,15 @@ if(NOT THEROCK_BUILD_LLVM_TESTS AND NOT THEROCK_BUILD_LLVM_TOOLS)
LLVM_AR
LLVM_AS
LLVM_CONFIG
LLVM_COV
LLVM_CXXFILT
LLVM_DIS
LLVM_DWARFDUMP
LLVM_LINK
LLVM_MC
LLVM_NM
LLVM_OFFLOAD_BINARY
LLVM_PROFDATA
Comment on lines +154 to +162

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be working, see

LLVM_SHLIB
LLVM_OBJCOPY
LLVM_OBJDUMP
Expand Down
Loading