From 64d7f43c751a4e2cdcbadd467aaf47daf2c7a244 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Fri, 4 Sep 2026 11:47:26 -0700 Subject: [PATCH] Add in the simde find --- .../rocr-runtime/runtime/hsa-runtime/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/CMakeLists.txt b/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/CMakeLists.txt index 4bd32a1049..d3524be830 100644 --- a/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/CMakeLists.txt +++ b/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/CMakeLists.txt @@ -93,6 +93,12 @@ if(NOT LibElf_FOUND) find_package(LibElf REQUIRED) endif() +## Find simde but only for aarch64 linux +if (UNIX AND (CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|ARM64")) + find_package(simde REQUIRED) + target_link_libraries(hsa-runtime64 PRIVATE simde::simde) +endif() + ## Find AMD CUID library. set(AMDCUID_ROOT "/opt/amdcuid" CACHE PATH "Path to AMDCUID installation") find_library(AMDCUID_LIB