File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -307,10 +307,12 @@ endif()
307307
308308option (WITH_BLUEFS "libbluefs library" OFF )
309309
310- option (WITH_QATLIB "Enable QAT with qatlib" ON )
310+ CMAKE_DEPENDENT_OPTION(WITH_QATLIB "Enable QAT with qatlib" ON
311+ "NOT CMAKE_SYSTEM_PROCESSOR MATCHES aarch64" OFF )
311312option (WITH_SYSTEM_QATLIB "Use system packages for qatlib" OFF )
312313option (WITH_QATDRV "Enable QAT with out-of-tree driver" OFF )
313- option (WITH_QATZIP "Enable QATzip" ON )
314+ CMAKE_DEPENDENT_OPTION(WITH_QATZIP "Enable QATzip" ON
315+ "NOT CMAKE_SYSTEM_PROCESSOR MATCHES aarch64" OFF )
314316option (WITH_SYSTEM_QATZIP "Use system packages for QATzip" OFF )
315317
316318if (WITH_QATDRV)
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ function(build_qat)
1313 set (configure_cmd env CC=${CMAKE_C_COMPILER} ./configure --prefix =${QAT_INSTALL_DIR} )
1414 # disable systemd or 'make install' tries to write /usr/lib/systemd/system/qat.service
1515 list (APPEND configure_cmd --disable-systemd)
16- # samples don't build on arm64
17- list (APPEND configure_cmd --disable-samples)
1816 # build a static library with -fPIC that we can link into crypto/compressor plugins
1917 list (APPEND configure_cmd --with-pic --enable-static --disable-shared)
2018
You can’t perform that action at this time.
0 commit comments