SWDEV-445072 - Disable rocprofiler register for static libs

Change-Id: I38f4cc31ea196156aad65ca743787b27c02823ac


[ROCm/clr commit: 7d901666b8]
This commit is contained in:
Ioannis Assiouras
2024-05-15 00:40:48 +01:00
committed by Maneesh Gupta
parent 60ba0874fa
commit b8af347e8e
+1 -1
View File
@@ -287,7 +287,7 @@ endif()
target_compile_definitions(amdhip64 PUBLIC USE_PROF_API=1)
if(WIN32)
if(WIN32 OR NOT BUILD_SHARED_LIBS)
# rocprofiler-register is not support on Windows
set(HIP_ENABLE_ROCPROFILER_REGISTER OFF)
else()