mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-17 03:19:48 +00:00
Switch to standard ROCm packaging (#301)
* Switch to standard ROCm packaging
* Revert .gitignore changes
* install new rocm-cmake version
* update readme
Co-authored-by: illsilin <Illia.Silin@amd.com>
Co-authored-by: Chao Liu <chao.liu2@amd.com>
[ROCm/composable_kernel commit: b653c5eb2e]
This commit is contained in:
@@ -13,6 +13,7 @@ function(add_test_executable TEST_NAME)
|
||||
add_test(NAME ${TEST_NAME} COMMAND $<TARGET_FILE:${TEST_NAME}> )
|
||||
add_dependencies(tests ${TEST_NAME})
|
||||
add_dependencies(check ${TEST_NAME})
|
||||
rocm_install(TARGETS ${TEST_NAME} COMPONENT tests)
|
||||
endfunction(add_test_executable TEST_NAME)
|
||||
|
||||
include(GoogleTest)
|
||||
@@ -26,6 +27,7 @@ function(add_gtest_executable TEST_NAME)
|
||||
target_compile_options(${TEST_NAME} PRIVATE -Wno-global-constructors -Wno-undef)
|
||||
target_link_libraries(${TEST_NAME} PRIVATE gtest_main)
|
||||
gtest_discover_tests(${TEST_NAME})
|
||||
rocm_install(TARGETS ${TEST_NAME} COMPONENT tests)
|
||||
endfunction(add_gtest_executable TEST_NAME)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user