aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2021-04-30 11:06:01 +0200
committerTor Egge <Tor.Egge@online.no>2021-04-30 11:06:01 +0200
commit4675c21a617ed5deefafca12dfa3f698b3b2e281 (patch)
treed21661e36528713f8af3d8b0e34a93edd2fb3b04 /CMakeLists.txt
parent724ae768c90eefd08ffab79d6dafc520abeacc04 (diff)
Disable vespamalloc unless architecture is x86_64
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d42c24ed49b..7d36d4bba9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -145,7 +145,8 @@ add_subdirectory(vespajlib)
add_subdirectory(vespalib)
add_subdirectory(vespalog)
if(NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin" AND
- NOT DEFINED VESPA_USE_SANITIZER)
+ NOT DEFINED VESPA_USE_SANITIZER AND
+ CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
add_subdirectory(vespamalloc)
endif()
add_subdirectory(vsm)