![]() ![]() Then you can use IDEA to open fe folder directly, everything is ok. Just enter fe folder and run the command mvn install -DskipTests 。 IDE Setup FEįE development is simple because you can compile it in MacOS directly. You have to use gcc for the first compilation, currently, thirdparty can’t compile success in clang. The first time compile needs to compile thirdparty, it will require some time. Setup JAVA_HOME env export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64ĭo a compilation of StarRocks cd starrocks/ Install required tools for compilation: sudo apt update sudo apt install gcc g++ maven openjdk-11-jdk python3 python-is-python3 unzip cmake bzip2 ccache byacc ccache flex automake libtool bison binutils-dev libiberty-dev build-essential ninja-build OpenJDK 1.8 or 11 brew install comes with it, no installation is needed.Įxport PYTHON=/usr/bin/python3 Ubuntu22 server setup Just use the latest version v3 directly, because the latest version of Protobuf is compatible with the v2 version of the Protobuf protocol in StarRocks. There is no 0.13 version of Thrift in brew repository, you can use the following command: brew tap-new $USER/local-tapīrew extract -version='0.13.0' thrift $USER/local-tapīrew install can check whether Thrift is installed successfully with the following command: $ thrift -version The overall idea is to write code on the MacBook, then automatically synchronize the code to the server through the IDE, and use the server to compile and develop StarRocks. (Remote server uses Ubuntu 22, at least need 16GB RAM). I use a MacBook(M1) for local coding and a remote server for compiling & testing StarRocks. Clion can enable its analysis function normally.All variables in the IDE can be analyzed normally without red lines.Support one click to compile FE and BE.Some people want to become StarRocks contributor, but are troubled by the development environment, so here I write a tutorial about it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |