From 1024e3dbdb7d21b410c428b86250b3452b95030b Mon Sep 17 00:00:00 2001 From: Lauren Wrubleski Date: Fri, 10 May 2024 11:37:17 -0600 Subject: [PATCH] install executables to bin/asan for ASAN builds (#178) --- 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}