Skip to content

Commit

Permalink
ASAN build excluding additional files
Browse files Browse the repository at this point in the history
Co-authored-by: arvindcheru <[email protected]>
  • Loading branch information
feizheng10 and arvindcheru authored Jul 15, 2023
1 parent 772d08a commit 6e3d808
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions library/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,13 @@ if(WIN32)
else()
set(ROCFFT_KERNEL_CACHE_INSTALL_DIR ${ROCM_INSTALL_LIBDIR}/rocfft)
endif()
rocm_install(FILES ${ROCFFT_KERNEL_CACHE_PATH}
DESTINATION "${ROCFFT_KERNEL_CACHE_INSTALL_DIR}"
COMPONENT runtime
)

if( NOT ENABLE_ASAN_PACKAGING )
rocm_install(FILES ${ROCFFT_KERNEL_CACHE_PATH}
DESTINATION "${ROCFFT_KERNEL_CACHE_INSTALL_DIR}"
COMPONENT runtime
)
endif()

# rtc helper is an internal library executable on Linux, placed in a
# rocFFT subdirectory of the library directory. On Windows it goes
Expand All @@ -566,10 +569,13 @@ if(WIN32)
else()
set(ROCFFT_RTC_HELPER_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/rocfft )
endif()
rocm_install(PROGRAMS $<TARGET_FILE:rocfft_rtc_helper>
DESTINATION "${ROCFFT_RTC_HELPER_INSTALL_DIR}"
COMPONENT runtime
)

if( NOT ENABLE_ASAN_PACKAGING )
rocm_install(PROGRAMS $<TARGET_FILE:rocfft_rtc_helper>
DESTINATION "${ROCFFT_RTC_HELPER_INSTALL_DIR}"
COMPONENT runtime
)
endif()

rocm_export_targets(
TARGETS roc::rocfft
Expand Down

0 comments on commit 6e3d808

Please sign in to comment.