Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions projects/hipfft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ message(STATUS "BUILD_WITH_COMPILER = " ${BUILD_WITH_COMPILER})
# Version
set( VERSION_STRING "1.0.22" )
set( hipfft_SOVERSION 0.1 )
set( hipfftw_SOVERSION 0.1 )

if( ROCmCMakeBuildTools_FOUND )
rocm_setup_version( VERSION ${VERSION_STRING} )
Expand Down
5 changes: 5 additions & 0 deletions projects/hipfft/library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ endif()
# nvcc can not recognize shared library file name with suffix other than *.so when linking.
if (NOT BUILD_WITH_COMPILER STREQUAL "HIP-NVCC")
rocm_set_soversion(hipfft ${hipfft_SOVERSION})
get_target_property(aliased_hipfftw_name hipfftw ALIASED_TARGET)
if (aliased_hipfftw_name STREQUAL "")
# hipfftw is not an alias
rocm_set_soversion(hipfftw ${hipfftw_SOVERSION})
endif()
endif()

# Generate export header
Expand Down