Skip to content

Commit

Permalink
Fix for old version rocm include/lib folders not removed on upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindcheru authored Oct 26, 2022
1 parent 4d35fd9 commit b6d43dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ if( ROCM_FOUND )

set( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md" )

set( CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "\${CPACK_PACKAGING_INSTALL_PREFIX}" "\${CPACK_PACKAGING_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}" "\${CPACK_PACKAGING_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" )
set( CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "\${CPACK_PACKAGING_INSTALL_PREFIX}" )

# Give hipfft compiled for CUDA backend a different name
if( BUILD_WITH_LIB STREQUAL "ROCM" )
Expand Down

0 comments on commit b6d43dd

Please sign in to comment.