add obstack into obutils

This commit is contained in:
LINxiansheng 2024-07-09 04:54:34 +00:00 committed by ob-robot
parent 69d41517b1
commit fca8210dea
7 changed files with 19 additions and 12 deletions

View File

@ -353,24 +353,25 @@ if (NOT OB_BUILD_OPENSOURCE)
endif()
if(OB_BUILD_OPENSOURCE)
## oceanbase-libs
list(APPEND CPACK_COMPONENTS_ALL libs)
install(PROGRAMS
deps/3rd/usr/local/oceanbase/deps/devel/lib/libaio.so.1
deps/3rd/usr/local/oceanbase/deps/devel/lib/libaio.so.1.0.1
deps/3rd/usr/local/oceanbase/deps/devel/lib/libaio.so
deps/3rd/usr/local/oceanbase/deps/devel/lib/mariadb/libmariadb.so
deps/3rd/usr/local/oceanbase/deps/devel/lib/mariadb/libmariadb.so.3
DESTINATION lib
COMPONENT libs
)
if(OB_BUILD_OBADMIN)
## oceanbase-libs
list(APPEND CPACK_COMPONENTS_ALL libs)
install(PROGRAMS
deps/3rd/usr/local/oceanbase/deps/devel/lib/libaio.so.1
deps/3rd/usr/local/oceanbase/deps/devel/lib/libaio.so.1.0.1
deps/3rd/usr/local/oceanbase/deps/devel/lib/libaio.so
deps/3rd/usr/local/oceanbase/deps/devel/lib/mariadb/libmariadb.so
deps/3rd/usr/local/oceanbase/deps/devel/lib/mariadb/libmariadb.so.3
DESTINATION lib
COMPONENT libs
)
if(OB_BUILD_OBADMIN)
## oceanbase-utils
list(APPEND CPACK_COMPONENTS_ALL utils)
install(PROGRAMS
${CMAKE_BINARY_DIR}/tools/ob_admin/ob_admin
${CMAKE_BINARY_DIR}/tools/ob_error/src/ob_error
${CMAKE_BINARY_DIR}/src/logservice/logminer/oblogminer
${DEVTOOLS_DIR}/bin/obstack
DESTINATION /usr/bin
COMPONENT utils
)

View File

@ -46,6 +46,7 @@ obdevtools-llvm-11.0.1-312022092921.el7.aarch64.rpm
[tools-deps]
devdeps-oblogmsg-1.1-52024052811.el7.aarch64.rpm
devdeps-rocksdb-6.22.1.1-52022100420.el7.aarch64.rpm
obstack-2.0.4-172024070513.el7.aarch64.rpm
obshell-4.2.3.1-52024053020.el7.aarch64.rpm target=community
[test-utils]

View File

@ -49,6 +49,7 @@ obdevtools-llvm-11.0.1-312022092921.el7.x86_64.rpm
[tools-deps]
devdeps-oblogmsg-1.1-52024052811.el7.x86_64.rpm
devdeps-rocksdb-6.22.1.1-52022100420.el7.x86_64.rpm
obstack-2.0.4-172024070513.el7.x86_64.rpm
obshell-4.2.3.1-52024053020.el7.x86_64.rpm target=community
[test-utils]

View File

@ -46,6 +46,7 @@ obdevtools-llvm-11.0.1-312022092921.el8.aarch64.rpm
[tools-deps]
devdeps-oblogmsg-1.1-52024052811.el8.aarch64.rpm
devdeps-rocksdb-6.22.1.1-52022100420.el8.aarch64.rpm
obstack-2.0.4-172024070513.el8.aarch64.rpm
obshell-4.2.3.1-52024053020.el8.aarch64.rpm target=community
[test-utils]

View File

@ -48,6 +48,7 @@ obdevtools-llvm-11.0.1-312022092921.el8.x86_64.rpm
[tools-deps]
devdeps-oblogmsg-1.1-52024052811.el8.x86_64.rpm
devdeps-rocksdb-6.22.1.1-52022100420.el8.x86_64.rpm
obstack-2.0.4-172024070513.el8.x86_64.rpm
obshell-4.2.3.1-52024053020.el8.x86_64.rpm target=community
[test-utils]

View File

@ -53,6 +53,7 @@ obdevtools-llvm-11.0.1-312022092921.el8.aarch64.rpm
[tools-deps]
devdeps-oblogmsg-1.1-52024052811.el8.aarch64.rpm
devdeps-rocksdb-6.22.1.1-52022100420.el8.aarch64.rpm
obstack-2.0.4-172024070513.el8.aarch64.rpm
obshell-4.2.3.1-52024053020.el8.aarch64.rpm target=community
[test-utils]

View File

@ -55,6 +55,7 @@ obdevtools-llvm-11.0.1-312022092921.el8.x86_64.rpm
[tools-deps]
devdeps-oblogmsg-1.1-52024052811.el8.x86_64.rpm
devdeps-rocksdb-6.22.1.1-52022100420.el8.x86_64.rpm
obstack-2.0.4-172024070513.el8.x86_64.rpm
obshell-4.2.3.1-52024053020.el8.x86_64.rpm target=community
[test-utils]