我花了很久时间把nebula-graph编译好,也可以使用,想用package.sh打包,但看回显信息感觉又在编译,等了个把小时才3%(如下)。请教用package.sh打包需要重新编译吗?如果是,用什么方法跳过编译这一步?
[root@localhost package]# ./package.sh -v 3.8.0 -n ON -s FALSE -c ON
Configuration for this shell:
version: 3.8.0
strip_enable: FALSE
enablesanitizer: OFF
static_sanitizer: OFF
build_type: RelWithDebInfo
build_console: ON
branch:
enable_compressed_debug_info: OFF
dump_symbols: ON
/workspace/nebula3.8.0/pkg-build /workspace/nebula3.8.0/package
– The C compiler identification is GNU 9.3.0
– The CXX compiler identification is GNU 9.3.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/local/gcc/bin/gcc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/local/gcc/bin/g++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
Options of Nebula Graph <<<<
– ENABLE_ASAN : OFF (Build with AddressSanitizer)
– ENABLE_BREAKPAD : ON (Whether to enable breakpad)
– ENABLE_CCACHE : ON (Use ccache to speed up compiling)
– ENABLE_CLANG_TIDY : OFF (Enable clang-tidy if present)
– ENABLE_COMPRESSED_DEBUG_INFO : OFF (Compress debug info to reduce binary size)
– ENABLE_CONSOLE_COMPILATION : ON (Enable nebula-console compilation)
– ENABLE_COVERAGE : OFF (Build with coverage report)
– ENABLE_CREATE_GIT_HOOKS : ON (Enable create git hooks.)
– ENABLE_FRAME_POINTER : OFF (Build with frame pointer)
– ENABLE_FUZZY_TESTING : OFF (Enable Fuzzy tests)
– ENABLE_GDB_SCRIPT_SECTION : OFF (Add .debug_gdb_scripts section)
– ENABLE_INCLUDE_WHAT_YOU_USE : OFF (Enable include-what-you-use find nouse include files)
– ENABLE_JEMALLOC : ON (Use jemalloc as memory allocator)
– ENABLE_MEMORY_TRACKER : ON (Enable memory tracker)
– ENABLE_PACKAGE_TAR : OFF (Enable package artifacts to tar.)
– ENABLE_PACK_ONE : ON (Whether to package into one)
– ENABLE_PIC : OFF (Build with -fPIC)
– ENABLE_STANDALONE_VERSION : OFF (Enable standalone version build)
– ENABLE_STATIC_ASAN : OFF (Statically link against libasan)
– ENABLE_STATIC_UBSAN : OFF (Statically link against libubsan)
– ENABLE_STRICT_ALIASING : OFF (Build with -fstrict-aliasing)
– ENABLE_TESTING : OFF (Build unit tests)
– ENABLE_TSAN : OFF (Build with ThreadSanitizer)
– ENABLE_UBSAN : OFF (Build with UndefinedBehaviourSanitizer)
– ENABLE_VERBOSE_BISON : OFF (Enable Bison to report state)
– ENABLE_WERROR : ON (Regard warnings as errors)
– CMAKE_BUILD_TYPE : RelWithDebInfo (Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel …)
– CMAKE_INSTALL_PREFIX : /usr/local/nebula (Install path prefix, prepended onto install directories.)
– CMAKE_CXX_STANDARD : 17
– CMAKE_CXX_COMPILER : /usr/local/gcc/bin/g++ (CXX compiler)
– CMAKE_CXX_COMPILER_ID : GNU
– NEBULA_USE_LINKER : bfd (Linker to be used)
CMake Warning at cmake/nebula/CompilerLauncher.cmake:28 (message):
ccache is enabled but was not found. Not using it
Call Stack (most recent call first):
CMakeLists.txt:48 (include)
Configuring third party for ‘Nebula Graph’ <<<<
– NEBULA_THIRDPARTY_ROOT : /opt/vesoft/third-party/3.3
– Build info of nebula third party:
Package : Nebula Third Party
Version : 3.3
Date : Sat Jan 28 08:42:15 UTC 2023
glibc : 2.28
Arch : aarch64
Compiler : GCC 9.3.0
C++ ABI : 11
Vendor : VEsoft Inc.
– CMAKE_INCLUDE_PATH : /opt/vesoft/third-party/3.3/include
– CMAKE_LIBRARY_PATH : /opt/vesoft/third-party/3.3/lib64;/opt/vesoft/third-party/3.3/lib
– CMAKE_PROGRAM_PATH : /opt/vesoft/third-party/3.3/bin
– GLIBC_VERSION : 2.28
– Found ZLIB: /opt/vesoft/third-party/3.3/lib/libz.a (found version “1.2.11”)
– Looking for pthread.h
– Looking for pthread.h - found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Found OpenSSL: /opt/vesoft/third-party/3.3/lib/libcrypto.a (found version “1.1.1l”)
– Found Boost: /opt/vesoft/third-party/3.3/include (found version “1.76.0”)
– Found Libunwind: /opt/vesoft/third-party/3.3/lib/libunwind.a
– Found BISON: /opt/vesoft/third-party/3.3/bin/bison (found suitable version “3.7.6”, minimum required is “3.0.5”)
– Found FLEX: /opt/vesoft/third-party/3.3/bin/flex (found version “2.6.4”)
– Looking for lzma_auto_decoder in /opt/vesoft/third-party/3.3/lib/liblzma.a
– Looking for lzma_auto_decoder in /opt/vesoft/third-party/3.3/lib/liblzma.a - found
– Looking for lzma_easy_encoder in /opt/vesoft/third-party/3.3/lib/liblzma.a
– Looking for lzma_easy_encoder in /opt/vesoft/third-party/3.3/lib/liblzma.a - found
– Looking for lzma_lzma_preset in /opt/vesoft/third-party/3.3/lib/liblzma.a
– Looking for lzma_lzma_preset in /opt/vesoft/third-party/3.3/lib/liblzma.a - found
– Found LibLZMA: /opt/vesoft/third-party/3.3/lib/liblzma.a (found version “5.2.5”)
Configuring third party for ‘Nebula Graph’ done <<<<
– Found Git: /usr/bin/git (found version “2.27.0”)
– MemoryTracker is ENABLED
– NEBULA_BUILD_VERSION : 3.8.0
– HOST_SYSTEM_NAME : ;Authorized
– HOST_SYSTEM_VER : Authorizedonly.
– CPACK_GENERATOR :
– CMAKE_HOST_SYSTEM_PROCESSOR : mips64el
– Configuring done
– Generating done
– Build files have been written to: /workspace/nebula3.8.0/pkg-build
[ 0%] [FLEX][Scanner] Building scanner with flex 2.6.4
[ 0%] [BISON][Parser] Building parser with bison 3.7.6
[ 0%] Built target parser_target
[ 0%] [FLEX][Scanner] Building scanner with flex 2.6.4
[ 0%] [BISON][Parser] Building parser with bison 3.7.6
[ 0%] Built target datetime_parser_target
[ 0%] [FLEX][Scanner] Building scanner with flex 2.6.4
[ 0%] [BISON][Parser] Building parser with bison 3.7.6
[ 0%] Built target wkt_parser_target
[ 0%] Generating thrift files for graph
[ 0%] Built target graph_thrift_generator
[ 1%] Generating thrift files for raftex
[ 1%] Built target raftex_thrift_generator
[ 1%] Generating thrift files for storage
[ 1%] Built target storage_thrift_generator
[ 1%] Generating thrift files for common
[ 1%] Built target common_thrift_generator
[ 1%] Generating thrift files for meta
[ 1%] Built target meta_thrift_generator
[ 1%] Building CXX object src/clients/meta/CMakeFiles/file_based_cluster_id_man_obj.dir/FileBasedClusterIdMan.cpp.o
[ 1%] Built target file_based_cluster_id_man_obj
[ 1%] Building CXX object src/clients/meta/CMakeFiles/meta_client_obj.dir/MetaClient.cpp.o
[ 1%] Built target meta_client_obj
[ 1%] Building CXX object src/clients/meta/stats/CMakeFiles/meta_client_stats_obj.dir/MetaClientStats.cpp.o
[ 1%] Built target meta_client_stats_obj
[ 3%] Building CXX object src/clients/storage/CMakeFiles/storage_client_base_obj.dir/StorageClientBase.cpp.o
[ 3%] Built target storage_client_base_obj
[ 3%] Building CXX object src/clients/storage/CMakeFiles/internal_storage_client_obj.dir/InternalStorageClient.cpp.o
[ 3%] Built target internal_storage_client_obj
[ 3%] Building CXX object src/clients/storage/CMakeFiles/storage_client_obj.dir/StorageClient.cpp.o
…