From 9156cf7be3d454a05e1c55d313f1b43b866c5bde Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 20 May 2020 10:42:38 -0400 Subject: [PATCH] Don't search ROCclr_DIR for prof_protocol.h This points to the cmake directory where the find module was found, not a prefix for where it was found. Based on the search below looking in roctracer, searching in ROCclr for the header doesn't make much sense. The header should be either provided by ROCclr xor roctracer. Having it possibly be provided by two different dependencies is confusing, and a potential source of version mismatch problems. Change-Id: Ic2f6ec03f9a7b86225cf7e5c43f39a1360318a34 [ROCm/hip commit: d6aad8ae91c9cc3d4ad887964edd678d7544ca12] --- projects/hip/rocclr/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/hip/rocclr/CMakeLists.txt b/projects/hip/rocclr/CMakeLists.txt index 9d05de586d..a6f918705a 100644 --- a/projects/hip/rocclr/CMakeLists.txt +++ b/projects/hip/rocclr/CMakeLists.txt @@ -58,7 +58,6 @@ if (NOT ROCclr_FOUND) include(${LIBROCclr_STATIC_DIR}/amdrocclr_staticTargets.cmake) endif() -set(PROF_API_HEADER_PATH ${ROCclr_DIR}/platform) ############################# # Profiling API support #############################