mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
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 <k.chai@proxmox.com>
This commit is contained in:
parent
4a55ea39f6
commit
625f6baeb0
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user