From b466137e3bf55f1685a80c13e49943dc0b054c1e Mon Sep 17 00:00:00 2001 From: lihuiba Date: Fri, 31 May 2024 23:33:39 +0800 Subject: [PATCH] fix --- .github/workflows/ci.linux.compiler.yml | 16 ++++++++-------- CMake/build-from-src.cmake | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.linux.compiler.yml b/.github/workflows/ci.linux.compiler.yml index 7c5a5895..480d8b6a 100644 --- a/.github/workflows/ci.linux.compiler.yml +++ b/.github/workflows/ci.linux.compiler.yml @@ -20,14 +20,14 @@ jobs: -D PHOTON_ENABLE_FUSE=ON \ -D PHOTON_ENABLE_URING=ON \ -D PHOTON_ENABLE_EXTFS=ON \ - # -D PHOTON_BUILD_DEPENDENCIES=ON \ - # -D PHOTON_AIO_SOURCE="" \ - # -D PHOTON_ZLIB_SOURCE="" \ - # -D PHOTON_CURL_SOURCE="" \ - # -D PHOTON_OPENSSL_SOURCE="" \ - # -D PHOTON_GFLAGS_SOURCE="" \ - # -D PHOTON_GOOGLETEST_SOURCE="" \ - # -D PHOTON_URING_SOURCE=https://github.com/axboe/liburing/archive/refs/tags/liburing-2.3.tar.gz + -D PHOTON_BUILD_DEPENDENCIES=ON \ + -D PHOTON_AIO_SOURCE="" \ + -D PHOTON_ZLIB_SOURCE="" \ + -D PHOTON_CURL_SOURCE="" \ + -D PHOTON_OPENSSL_SOURCE="" \ + -D PHOTON_GFLAGS_SOURCE="" \ + -D PHOTON_GOOGLETEST_SOURCE="" \ + -D PHOTON_URING_SOURCE=https://github.com/axboe/liburing/archive/refs/tags/liburing-2.3.tar.gz cmake --build build -j $(nproc) --clean-first -- VERBOSE=1 ln -f common/checksum/test/checksum.in build/output/ diff --git a/CMake/build-from-src.cmake b/CMake/build-from-src.cmake index c7bc59d7..d31b657a 100644 --- a/CMake/build-from-src.cmake +++ b/CMake/build-from-src.cmake @@ -44,7 +44,7 @@ function(build_from_src [dep]) BUILD_IN_SOURCE ON CONFIGURE_COMMAND ./configure --prefix=${BINARY_DIR} BUILD_COMMAND sh -c "V=1 CFLAGS=\"-fPIC -O3 -Wall -Wextra -fno-stack-protector\" $(MAKE) -C src" - INSTALL_COMMAND $(MAKE) install + # INSTALL_COMMAND $(MAKE) install ) set(URING_INCLUDE_DIRS ${BINARY_DIR}/include PARENT_SCOPE) set(URING_LIBRARIES ${BINARY_DIR}/lib/liburing.a PARENT_SCOPE)