]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake/BuildISAL: build and install library targets only 68758/head
authorKefu Chai <k.chai@proxmox.com>
Wed, 6 May 2026 02:08:20 +0000 (10:08 +0800)
committerKefu Chai <k.chai@proxmox.com>
Sun, 17 May 2026 12:13:00 +0000 (20:13 +0800)
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 <k.chai@proxmox.com>
cmake/modules/BuildISAL.cmake

index 676c45228a4122b0d4d1a87be109cc688d7c7dfa..ab2a63b6703e0bab378c60a2ee289a6887413940 100644 (file)
@@ -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