Skip to content

Commit

Permalink
try pack gmssl
Browse files Browse the repository at this point in the history
  • Loading branch information
lidezhu committed Oct 24, 2022
1 parent b2d5ffb commit 726b097
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions dbms/src/Server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,27 @@ if (ARCH_LINUX)
COMPONENT tiflash-release
DESTINATION "."
RUNTIME_DEPENDENCY_SET tiflash-release-dependency)
install (RUNTIME_DEPENDENCY_SET tiflash-release-dependency
COMPONENT tiflash-release
DESTINATION "."
PRE_EXCLUDE_REGEXES
if (USE_GM_SSL)
install (RUNTIME_DEPENDENCY_SET tiflash-release-dependency
COMPONENT tiflash-release
DESTINATION "."
PRE_EXCLUDE_REGEXES
"libdl.*"
"libc-.*"
"libc\\..*"
"libgcc_s.*"
"librt.*"
"libm.*"
"ld-linux-x86-64.*"
"ld-linux-aarch64.*"
"libpthread.*"# exclude libc dependencies
DIRECTORIES ${TIFLASH_DEPENDENCY_DIRECTORIES}
LIBRARIES gmssl)
else()
install (RUNTIME_DEPENDENCY_SET tiflash-release-dependency
COMPONENT tiflash-release
DESTINATION "."
PRE_EXCLUDE_REGEXES
"libdl.*"
"libc-.*"
"libc\\..*"
Expand All @@ -118,7 +135,8 @@ if (ARCH_LINUX)
"ld-linux-x86-64.*"
"ld-linux-aarch64.*"
"libpthread.*"# exclude libc dependencies
DIRECTORIES ${TIFLASH_DEPENDENCY_DIRECTORIES})
DIRECTORIES ${TIFLASH_DEPENDENCY_DIRECTORIES})
endif()

install (SCRIPT ${TiFlash_SOURCE_DIR}/cmake/tiflash_linux_post_install.cmake COMPONENT tiflash-release)
elseif(APPLE)
Expand Down

0 comments on commit 726b097

Please sign in to comment.