Skip to content

Commit

Permalink
Revert "[HIPIFY][SWDEV-405584][#713][install][fix] Make install clang…
Browse files Browse the repository at this point in the history
… version-independent"

This reverts commit 6c43bc2.

Change-Id: I8b93d6dd160cf1af2d1db8df1426fd6ccf8278cf
  • Loading branch information
kzhuravl committed Jul 7, 2023
1 parent 4b25141 commit 5a349b0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ install(
USE_SOURCE_PERMISSIONS
PATTERN "hipify-perl"
PATTERN "*.sh")
<<<<<<< HEAD

# Headers are already included in HIP SDK, so skip those if including
# HIPIFY in HIP SDK.
Expand All @@ -186,6 +187,21 @@ if(NOT HIPIFY_INCLUDE_IN_HIP_SDK)
PATTERN "ppc_wrappers" EXCLUDE
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)
>>>>>>> parent of 6c43bc2 ([HIPIFY][SWDEV-405584][#713][install][fix] Make install clang version-independent)

option(FILE_REORG_BACKWARD_COMPATIBILITY "Enable File Reorg with backward compatibility" ON)

Expand Down

0 comments on commit 5a349b0

Please sign in to comment.