Skip to content

Commit 785c225

Browse files
committed
Copy bin to build
Change-Id: I7986867e36308c82c7ce38168a24763535b36a09
1 parent f9121fc commit 785c225

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

amd/hipcc/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ if(NOT WIN32)
5050
target_link_libraries(${HIPCONFIG_BIN} ${ADDITIONAL_SHARED_LIBRARIES_TO_LINK})
5151
endif()
5252

53+
# Copy scripts and batch files to build directory.
54+
file(COPY ${CMAKE_SOURCE_DIR}/bin/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
55+
5356
set(CPACK_GENERATOR "DEB;RPM;ZIP" CACHE STRING "Default packaging generators")
5457
set(CPACK_PACKAGE_CONTACT "ROCm Compiler Support <[email protected]>")
5558
set(CPACK_PACKAGE_DESCRIPTION "HIP Compiler Driver")

0 commit comments

Comments
 (0)