From 84af8357d1505c1b52cada7e4cdd4ad6e79e2382 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 27 Nov 2023 10:42:06 -0500 Subject: cmake: WITH_QATLIB/ZIP disabled on aarch64 Signed-off-by: Casey Bodley --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b40a47d4c13..d70d471ab81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -307,10 +307,12 @@ endif() option(WITH_BLUEFS "libbluefs library" OFF) -option(WITH_QATLIB "Enable QAT with qatlib" ON) +CMAKE_DEPENDENT_OPTION(WITH_QATLIB "Enable QAT with qatlib" ON + "NOT CMAKE_SYSTEM_PROCESSOR MATCHES aarch64" OFF) option(WITH_SYSTEM_QATLIB "Use system packages for qatlib" OFF) option(WITH_QATDRV "Enable QAT with out-of-tree driver" OFF) -option(WITH_QATZIP "Enable QATzip" ON) +CMAKE_DEPENDENT_OPTION(WITH_QATZIP "Enable QATzip" ON + "NOT CMAKE_SYSTEM_PROCESSOR MATCHES aarch64" OFF) option(WITH_SYSTEM_QATZIP "Use system packages for QATzip" OFF) if(WITH_QATDRV) -- cgit v1.2.3