Skip to content

Commit

Permalink
Merge tag 'rocm-6.0.0' into docs/6.0.0
Browse files Browse the repository at this point in the history
ROCm release v6.0.0
  • Loading branch information
samjwu committed Dec 18, 2023
2 parents b3513d3 + 528b655 commit 97294b1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,20 @@ if (NOT HIPIFY_CLANG_TESTS_ONLY)
PATTERN "openmp_wrappers" EXCLUDE)
endif()

# install all folders under clang/version/ in CMAKE_INSTALL_PREFIX path
install(
DIRECTORY ${LLVM_DIR}/../../clang/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/
DESTINATION .
COMPONENT clang-resource-headers
FILES_MATCHING
PATTERN "*.h"
PATTERN "*.modulemap"
PATTERN "algorithm"
PATTERN "complex"
PATTERN "new"
PATTERN "ppc_wrappers" EXCLUDE
PATTERN "openmp_wrappers" EXCLUDE)

if(UNIX)
# Get rid of any RPATH definations already.
set_target_properties(hipify-clang PROPERTIES INSTALL_RPATH "")
Expand Down

0 comments on commit 97294b1

Please sign in to comment.