From 45b6c89365dc1edf709b7905e435d195fe233102 Mon Sep 17 00:00:00 2001 From: JD Date: Fri, 8 Dec 2023 16:51:09 -0600 Subject: [PATCH] [HotFix] KDB Files should not be in the runtime package (#2591) --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d718f0fb5a..1a94feeb22 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -906,7 +906,11 @@ else() file(GLOB PERF_DB_FILES kernels/*.db) file(GLOB KERN_DB_FILES kernels/*.kdb) list(APPEND FIND_DB_FILES ${PERF_DB_FILES}) +# Install the kdb files for the kdb sync test only, a better approach would be to +# install the kdb package instead +if(MIOPEN_TEST_DBSYNC) list(APPEND FIND_DB_FILES ${KERN_DB_FILES}) +endif() if(NOT MIOPEN_DISABLE_SYSDB) if( NOT ENABLE_ASAN_PACKAGING ) install(FILES