Skip to content

Commit 4ff5c7a

Browse files
build: Disable valgrind on Clang+ARM builds
1 parent b08e755 commit 4ff5c7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-support/custom-modules/ns3-compiler-and-linker-support.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ if(CLANG)
3333
if(${NS3_COLORED_OUTPUT} OR "$ENV{CLICOLOR}")
3434
add_definitions(-fcolor-diagnostics) # colorize clang++ output
3535
endif()
36+
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64")
37+
# see https://gitlab.com/nsnam/ns-3-dev/-/issues/932
38+
add_compile_definitions(NVALGRIND)
39+
endif()
3640
endif()
3741

3842
set(GCC FALSE)

0 commit comments

Comments
 (0)