From df7605835f918b418e9a3dd2ad3eb129ba7a7e0c Mon Sep 17 00:00:00 2001 From: Kian Cossettini Date: Thu, 31 Jul 2025 07:59:41 -0400 Subject: [PATCH] fork-runtime-instrument ctest fix (#295) * Fix fork-runtime-instrument ctest failure by adding -fno-inline flag [ROCm/rocprofiler-systems commit: d1a2deba1f402999001263003be078f12f3e870c] --- projects/rocprofiler-systems/examples/fork/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/rocprofiler-systems/examples/fork/CMakeLists.txt b/projects/rocprofiler-systems/examples/fork/CMakeLists.txt index 3c8a989eb4..e52894c1d2 100644 --- a/projects/rocprofiler-systems/examples/fork/CMakeLists.txt +++ b/projects/rocprofiler-systems/examples/fork/CMakeLists.txt @@ -4,6 +4,7 @@ project(rocprofiler-systems-fork LANGUAGES CXX) set(CMAKE_BUILD_TYPE "RelWithDebInfo") string(REPLACE " " ";" _FLAGS "${CMAKE_CXX_FLAGS_DEBUG}") +list(APPEND _FLAGS -fno-inline) find_package(Threads REQUIRED) find_package(rocprofiler-systems REQUIRED COMPONENTS user)