From 4ff5c7a26384b74abfe557a5f8ffe388ad85d0ff Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Mar 2025 18:41:55 +0000 Subject: [PATCH] build: Disable valgrind on Clang+ARM builds --- .../custom-modules/ns3-compiler-and-linker-support.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-support/custom-modules/ns3-compiler-and-linker-support.cmake b/build-support/custom-modules/ns3-compiler-and-linker-support.cmake index 5e4dd85b2..422444623 100644 --- a/build-support/custom-modules/ns3-compiler-and-linker-support.cmake +++ b/build-support/custom-modules/ns3-compiler-and-linker-support.cmake @@ -33,6 +33,10 @@ if(CLANG) if(${NS3_COLORED_OUTPUT} OR "$ENV{CLICOLOR}") add_definitions(-fcolor-diagnostics) # colorize clang++ output endif() + if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64") + # see https://gitlab.com/nsnam/ns-3-dev/-/issues/932 + add_compile_definitions(NVALGRIND) + endif() endif() set(GCC FALSE)