mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
Merge pull request #38256 from badone/wip-dont-build-io_uring.c-every-time
cmake: Stop 'configure' running every time Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
2e690bba7e
@ -11,8 +11,7 @@ function(build_uring)
|
||||
GIT_REPOSITORY https://git.kernel.dk/liburing
|
||||
GIT_TAG "liburing-0.7"
|
||||
GIT_SHALLOW TRUE
|
||||
GIT_CONFIG advice.detachedHead=false
|
||||
UPDATE_DISCONNECTED TRUE)
|
||||
GIT_CONFIG advice.detachedHead=false)
|
||||
endif()
|
||||
|
||||
include(ExternalProject)
|
||||
@ -22,7 +21,8 @@ function(build_uring)
|
||||
BUILD_COMMAND env CC=${CMAKE_C_COMPILER} "CFLAGS=${CMAKE_C_FLAGS} -fPIC" ${make_cmd} -C src -s
|
||||
BUILD_IN_SOURCE 1
|
||||
BUILD_BYPRODUCTS "<SOURCE_DIR>/src/liburing.a"
|
||||
INSTALL_COMMAND "")
|
||||
INSTALL_COMMAND ""
|
||||
UPDATE_COMMAND "")
|
||||
unset(make_cmd)
|
||||
|
||||
ExternalProject_Get_Property(liburing_ext source_dir)
|
||||
|
Loading…
Reference in New Issue
Block a user