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
16 changes: 7 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,13 @@ endif()
#Create header wrapper for backward compatibility
if(BUILD_FILE_REORG_BACKWARD_COMPATIBILITY)
rocm_wrap_header_dir(
${CMAKE_SOURCE_DIR}/thrust
PATTERNS "*.h"
PATTERNS "*.inl"
PATTERN "*.cuh"
PATTERN "*.hpp"
GUARDS SYMLINK WRAPPER
WRAPPER_LOCATIONS rocthrust/include/thrust
OUTPUT_LOCATIONS rocthrust/wrapper/include/thrust
)
${CMAKE_SOURCE_DIR}/thrust
PATTERNS "*.h" "*.inl" "*.cuh" "*.hpp"
HEADER_LOCATION include/thrust
GUARDS SYMLINK WRAPPER
WRAPPER_LOCATIONS rocthrust/include/thrust
OUTPUT_LOCATIONS rocthrust/wrapper/include/thrust
)
endif( )

set(THRUST_OPTIONS_DEBUG ${THRUST_OPTIONS_WARNINGS})
Expand Down
3 changes: 2 additions & 1 deletion thrust/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ configure_file(
if(BUILD_FILE_REORG_BACKWARD_COMPATIBILITY)
rocm_wrap_header_file(
"rocthrust_version.hpp"
HEADER_LOCATION include/thrust
WRAPPER_LOCATIONS rocthrust/include/thrust
OUTPUT_LOCATIONS rocthrust/wrapper/include/thrust
)
Expand Down Expand Up @@ -54,7 +55,7 @@ rocm_install(
DIRECTORY
"./"
"${PROJECT_BINARY_DIR}/thrust/include/"
DESTINATION include/rocthrust
DESTINATION include/thrust
FILES_MATCHING
PATTERN "*.h"
PATTERN "*.cuh"
Expand Down