diff options
author | Casey Bodley <cbodley@redhat.com> | 2023-11-27 16:42:06 +0100 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2024-02-07 17:13:21 +0100 |
commit | 84af8357d1505c1b52cada7e4cdd4ad6e79e2382 (patch) | |
tree | ac914eac13b0b0d773aa9ccdf7cc1f77d98d5851 /CMakeLists.txt | |
parent | compressor: move QatAccel out of common (diff) | |
download | ceph-84af8357d1505c1b52cada7e4cdd4ad6e79e2382.tar.xz ceph-84af8357d1505c1b52cada7e4cdd4ad6e79e2382.zip |
cmake: WITH_QATLIB/ZIP disabled on aarch64
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
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) |