Skip to content

Commit

Permalink
Changing library SO_VERSION (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
saadrahim authored Jan 8, 2020
1 parent 1fe52e6 commit 7bb341b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ endfunction( )
# ########################################################################

# This is incremented when the ABI to the library changes
set( rocsolver_SOVERSION 0 )
set( rocsolver_SOVERSION 0.1 )

list( APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake )

Expand Down
7 changes: 4 additions & 3 deletions library/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ########################################################################
# Copyright 2016 Advanced Micro Devices, Inc.
# Copyright 2016-2019 Advanced Micro Devices, Inc.
# ########################################################################

# ########################################################################
Expand Down Expand Up @@ -94,9 +94,10 @@ target_include_directories( rocsolver
$<BUILD_INTERFACE:${Tensile_INC}>
$<INSTALL_INTERFACE:include>
)

set_target_properties( rocsolver PROPERTIES VERSION ${rocsolver_VERSION} SOVERSION ${rocsolver_SOVERSION} CXX_EXTENSIONS NO )
set_target_properties( rocsolver PROPERTIES CXX_EXTENSIONS NO )
set_target_properties( rocsolver PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging" )
rocm_set_soversion(rocsolver ${rocsolver_SOVERSION})


# Package that helps me set visibility for function names exported from shared library
include( GenerateExportHeader )
Expand Down

0 comments on commit 7bb341b

Please sign in to comment.