================ @@ -2,10 +2,18 @@ if( CMAKE_HOST_UNIX AND HAVE_LIBRT ) set(rt_lib rt) endif() +set(intel_jit_profiling ) +if( LLVM_USE_INTEL_JITEVENTS ) +set(intel_jit_profiling IntelJITProfiling) ---------------- yugier wrote: Fixed~ https://github.com/llvm/llvm-project/pull/83957