Last active
March 30, 2023 04:02
-
-
Save zhangw/06624e63baefda8523fb76b6003d2aa7 to your computer and use it in GitHub Desktop.
Building starrocks fe on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check the specific thrift version from fe-core, for 2.5.3 | |
ag THRIFT_DOWNLOAD thirdparty/vars.sh | |
## 90:THRIFT_DOWNLOAD="http://archive.apache.org/dist/thrift/0.13.0/thrift-0.13.0.tar.gz" | |
# install the specific thrift version, using brew which help to compile automatically | |
brew tap-new $USER/local-tap | |
brew extract --version='0.13.0' thrift $USER/local-tap | |
brew install [email protected] | |
## check the installation path, for me | |
/opt/homebrew/Cellar/[email protected]/0.13.0/bin/thrift --version | |
## Thrift version 0.13.0 | |
# change directory to fe | |
cd fe | |
# run maven, but also set the thrift execute path | |
mvn clean package -DskipTests=true -Dstarrocks.thrift=/opt/homebrew/Cellar/[email protected]/0.13.0/bin/thrift |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment