From: Kefu Chai Date: Wed, 6 May 2026 02:08:20 +0000 (+0800) Subject: cmake/BuildISAL: build and install library targets only X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=625f6baeb039e44f8f6a606004e5625d5e32dd39;p=ceph.git cmake/BuildISAL: build and install library targets only Skip building the igzip executables; Ceph only needs libisal.la. This should speed up the build a little bit, as we don't build the executables previous built with "make" Signed-off-by: Kefu Chai --- diff --git a/cmake/modules/BuildISAL.cmake b/cmake/modules/BuildISAL.cmake index 676c45228a41..ab2a63b6703e 100644 --- a/cmake/modules/BuildISAL.cmake +++ b/cmake/modules/BuildISAL.cmake @@ -36,10 +36,12 @@ function(build_isal) ExternalProject_Add(isal_ext SOURCE_DIR "${PROJECT_SOURCE_DIR}/src/isa-l" CONFIGURE_COMMAND ./autogen.sh COMMAND ${configure_cmd} - BUILD_COMMAND ${NO_DESTDIR_COMMAND} make -j3 + BUILD_COMMAND ${NO_DESTDIR_COMMAND} make -j3 libisal.la BUILD_IN_SOURCE 1 BUILD_BYPRODUCTS ${isal_LIBRARY} - INSTALL_COMMAND ${NO_DESTDIR_COMMAND} make install + INSTALL_COMMAND ${NO_DESTDIR_COMMAND} make install-libLTLIBRARIES + install-pkgincludeHEADERS + install-nobase_includeHEADERS UPDATE_COMMAND "" LOG_CONFIGURE ON LOG_BUILD ON