SWDEV-438711 compilation fix for clang issues

Change-Id: I361c188345108ada2174ef92080989360267a5bf


[ROCm/rocprofiler commit: c866b19923]
Этот коммит содержится в:
gobhardw
2024-01-04 06:36:45 +00:00
коммит произвёл Gopesh Bhardwaj
родитель 6b53685fa1
Коммит bc450e3702
3 изменённых файлов: 16 добавлений и 0 удалений
+1
Просмотреть файл
@@ -314,6 +314,7 @@ Example for file plugin output:
- ATT: Continuous mode. The input file now has a DISPATCH_RANGE=begin,end that specifies continuous ATT collection during the application run.
- ATT: Ability to dump raw codeobjects as .out files with ISA_CAPTURE_MODE=[0,1,2]
- Updated README and CMakeLists.txt for rocm-llvm-dev dependency.
### Removed
+14
Просмотреть файл
@@ -130,6 +130,20 @@ find_package(
HINTS ${CMAKE_INSTALL_PREFIX}
PATHS ${ROCM_PATH})
find_package(
Clang CONFIG
PATHS "${ROCM_PATH}"
PATH_SUFFIXES "llvm/lib/cmake/clang")
if(NOT Clang_FOUND)
message(
FATAL_ERROR
"\
The \"rocm-llvm-dev\" package is not installed. \
Please install it for your OS distribution. e.g: for Ubuntu: \"sudo apt-get install rocm-llvm-dev\".\
")
endif()
find_library(NUMA NAME numa REQUIRED)
link_libraries(${NUMA})
+1
Просмотреть файл
@@ -119,6 +119,7 @@ Note: ROCProfilerV2 is currently considered a beta version and is subject to cha
### Requirements
- rocm-llvm-dev
- makecache
- Gtest Development Package (Ubuntu: libgtest-dev)
- libsystemd-dev, libelf-dev, libnuma-dev, libpciaccess-dev on ubuntu or their corresponding packages on any other OS