Improve CMake and relocate tests
- Respect CMAKE_INSTALL_PREFIX and ignore RDC_CLIENT_INSTALL_PREFIX - Move example and rdctst from rocm/bin to rocm/share/rdc - Add README for examples Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com> Change-Id: I0b1d996d206327fd1b51ac6e82d548829bdb1570
This commit is contained in:
1 parent
2c171767b3
commit
f6efd7fbf6
15 files changed
+165
-88
No files matched your search
@@ -86,9 +86,9 @@ target_link_libraries(${RDCTST}
|
||||
PUBLIC pthread)
|
||||
|
||||
install(TARGETS ${RDCTST}
|
||||
DESTINATION ${RDC_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/rdctst_tests
|
||||
DESTINATION ${RDC_SHARE_INSTALL_PREFIX}/rdctst_tests
|
||||
COMPONENT ${TESTS_COMPONENT})
|
||||
|
||||
install(FILES ${RDCTST}.exclude
|
||||
DESTINATION ${RDC_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/rdctst_tests
|
||||
DESTINATION ${RDC_SHARE_INSTALL_PREFIX}/rdctst_tests
|
||||
COMPONENT ${TESTS_COMPONENT})
|
||||
Reference in new issue
Block a user