-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLASH-777] static compile for centos and ubuntu deploy #363
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
-Wno-dev | ||
|
||
make -j $NPROC | ||
|
||
cp -f "$build_dir/dbms/src/Server/theflash" "$install_dir/theflash" | ||
|
||
ldd "$build_dir/dbms/src/Server/theflash" | grep '/' | grep '=>' | \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not forget to copy tiflash proxy so
to $install_dir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's ganranteed by build-tiproxy
/run-integration-tests |
/run-integration-tests |
/run-integration-tests |
/run-integration-tests |
How to build
#prepare build enviroment make image_builer
#compile make build_release
The executable files are located in
tiflash
dir.Deploy Enviroument Requirements
Following OS are tested OK
NOTE CentOS 8 has newer
libnsl.so.2
. If we want to run on CentOS 8 , maybe we should copy old libnsl manually.Your system needs to install