Reduce release packaging (#300)
* Bump version to 1.10.3 * Drop releases for ROCm < 5.3 - ROCm is no longer providing release for Ubuntu 18.04 starting with 5.3 so omnitrace is dropping support for Ubuntu 18.04 + ROCm - Dropping ROCm 5.2 releases for Ubuntu 20.04 - Dropping ROCm 5.2 releases for OpenSUSE 15.4 * Update redhat workflow - Test RedHat 9.1 + ROCm 5.5 - Test RedHat 9.1 + ROCm 5.6 * Update ubuntu-focal workflow - drop ROCm 5.2 testing - add ROCm 5.6 testing * Update Findroctracer.cmake - provide /opt/amdgpu to HINTS/PATHS for drm and drm_amdgpu libraries * Update Findrocprofiler.cmake - prefer librocprofiler64.so.1 * Update librocprofiler64.so to librocprofiler64.so.1 - search for the SOVERSION 1 library of librocprofiler64.so if ROCm > 5.5.0 * Update Findrocprofiler.cmake - link to libpciaccess for ROCm 5.5.0 * Update redhat CI workflow - install libpciaccess for rocm CI * Update cpack workflow - Remove all RHEL 9.0 packaging - Remove all packaging for ROCm 5.3 on OSes supporting where releases are provided for 5.4, 5.5, and 5.6 * Update ubuntu focal workflow - remove rocm 5.3 jobs
This commit is contained in:
committed by
GitHub
parent
70d6fc7631
commit
1216fd99a7
@@ -51,7 +51,8 @@ mark_as_advanced(rocprofiler_hsa_INCLUDE_DIR)
|
||||
|
||||
find_library(
|
||||
rocprofiler_LIBRARY
|
||||
NAMES rocprofiler64 rocprofiler
|
||||
NAMES ${CMAKE_SHARED_LIBRARY_PREFIX}rocprofiler64${CMAKE_SHARED_LIBRARY_SUFFIX}.1
|
||||
rocprofiler64 rocprofiler
|
||||
HINTS ${rocprofiler_ROOT_DIR}/rocprofiler ${rocprofiler_ROOT_DIR}
|
||||
${_ROCM_ROCPROFILER_PATHS}
|
||||
PATHS ${rocprofiler_ROOT_DIR}/rocprofiler ${rocprofiler_ROOT_DIR}
|
||||
@@ -73,6 +74,14 @@ endif()
|
||||
mark_as_advanced(rocprofiler_LIBRARY rocprofiler_hsa-runtime_LIBRARY)
|
||||
unset(_ROCM_ROCPROFILER_PATHS)
|
||||
|
||||
if(ROCmVersion_NUMERIC_VERSION EQUAL 50500)
|
||||
find_library(
|
||||
rocprofiler_pciaccess_LIBRARY
|
||||
NAMES pciaccess
|
||||
PATH_SUFFIXES lib lib64)
|
||||
mark_as_advanced(rocprofiler_pciaccess_LIBRARY)
|
||||
endif()
|
||||
|
||||
# ----------------------------------------------------------------------------------------#
|
||||
|
||||
find_package_handle_standard_args(
|
||||
@@ -86,8 +95,11 @@ if(rocprofiler_FOUND)
|
||||
add_library(rocprofiler::roctx INTERFACE IMPORTED)
|
||||
set(rocprofiler_INCLUDE_DIRS ${rocprofiler_INCLUDE_DIR}
|
||||
${rocprofiler_hsa_INCLUDE_DIR})
|
||||
set(rocprofiler_LIBRARIES ${rocprofiler_LIBRARY} ${rocprofiler_hsa-runtime_LIBRARY})
|
||||
set(rocprofiler_LIBRARY_DIRS ${rocprofiler_LIBRARY_DIR})
|
||||
set(rocprofiler_LIBRARIES ${rocprofiler_LIBRARY} ${rocprofiler_hsa-runtime_LIBRARY})
|
||||
if(rocprofiler_pciaccess_LIBRARY)
|
||||
list(APPEND rocprofiler_LIBRARIES ${rocprofiler_pciaccess_LIBRARY})
|
||||
endif()
|
||||
|
||||
target_include_directories(
|
||||
rocprofiler::rocprofiler INTERFACE ${rocprofiler_INCLUDE_DIR}
|
||||
|
||||
@@ -98,8 +98,8 @@ if(hsakmt_FOUND)
|
||||
find_library(
|
||||
hsakmt_${_LIB}_LIBRARY
|
||||
NAMES ${_LIB_NAMES}
|
||||
HINTS ${_ROCM_ROCTRACER_PATHS}
|
||||
PATHS ${_ROCM_ROCTRACER_PATHS}
|
||||
HINTS ${_ROCM_ROCTRACER_PATHS} /opt/amdgpu
|
||||
PATHS ${_ROCM_ROCTRACER_PATHS} /opt/amdgpu
|
||||
PATH_SUFFIXES ${CMAKE_INSTALL_LIBDIR} lib lib64)
|
||||
if(NOT hsakmt_${_LIB}_LIBRARY)
|
||||
set(hsakmt_FOUND_LIBS OFF)
|
||||
|
||||
Reference in New Issue
Block a user