From cb23f704ceba6b8a250da9e6ce5756c4937824c8 Mon Sep 17 00:00:00 2001 From: Lauren Wrubleski Date: Wed, 13 Mar 2024 10:34:04 -0600 Subject: [PATCH] install executables to bin/asan for ASAN builds --- share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake b/share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake index f21fc223..463c482c 100644 --- a/share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake +++ b/share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake @@ -137,7 +137,7 @@ function(rocm_install_targets) set(LIB_INSTALL_DIR ${PARSE_PREFIX}/${ROCM_INSTALL_LIBDIR}) set(INCLUDE_INSTALL_DIR ${PARSE_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}) elseif(ENABLE_ASAN_PACKAGING) - set(BIN_INSTALL_DIR ${CMAKE_INSTALL_BINDIR}) + set(BIN_INSTALL_DIR ${CMAKE_INSTALL_BINDIR}/asan) set(LIB_INSTALL_DIR ${ROCM_INSTALL_LIBDIR}/asan) set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR}) else() @@ -185,9 +185,6 @@ function(rocm_install_targets) set(export_arg EXPORT ${EXPORT_FILE}) if(T_TYPE STREQUAL "EXECUTABLE") unset(export_arg) - if(ENABLE_ASAN_PACKAGING) - continue() - endif() endif() install( TARGETS ${TARGET}