Skip to content

Commit

Permalink
862 Bite Add proxygen to build
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Feb 26, 2025
1 parent ab353b9 commit a4cb9f5
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 46 deletions.
12 changes: 0 additions & 12 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 64 additions & 34 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions deps/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ setup_variable WITH_LEVELDB "yes"

setup_variable WITH_FMT "yes"
setup_variable WITH_DOUBLE_CONVERSION "yes"
setup_variable WITH_GFLAGS "yes"
setup_variable WITH_FOLLY "yes"
setup_variable WITH_PROXYGEN "yes"
setup_variable WITH_GOOGLE_LOG "yes"
Expand Down Expand Up @@ -631,6 +632,7 @@ echo -e "${COLOR_VAR_NAME}WITH_GOOGLE_LOG${COLOR_DOTS}........${COLOR_VAR_DESC}L
echo -e "${COLOR_VAR_NAME}WITH_WANGLE${COLOR_DOTS}............${COLOR_VAR_DESC}LibWangle${COLOR_DOTS}..............................${COLOR_VAR_VAL}$WITH_WANGLE${COLOR_RESET}"
echo -e "${COLOR_VAR_NAME}WITH_FIZZ${COLOR_DOTS}..............${COLOR_VAR_DESC}LibFIZZ${COLOR_DOTS}................................${COLOR_VAR_VAL}$WITH_FIZZ${COLOR_RESET}"
echo -e "${COLOR_VAR_NAME}WITH_ZSTD${COLOR_DOTS}..............${COLOR_VAR_DESC}LibZSTD${COLOR_DOTS}................................${COLOR_VAR_VAL}$WITH_ZSTD${COLOR_RESET}"
echo -e "${COLOR_VAR_NAME}WITH_GFLAGS${COLOR_DOTS}............${COLOR_VAR_DESC}LibGFLAGS${COLOR_DOTS}..............................${COLOR_VAR_VAL}$WITH_GFLAGS${COLOR_RESET}"

cd "$SOURCES_ROOT"

Expand Down Expand Up @@ -2710,6 +2712,42 @@ then
fi
fi


#https://github.com/gflags/gflags
#[email protected]:gflags/gflags.git
#https://github.com/gflags/gflags.git
if [ "$WITH_GFLAGS" = "yes" ];
then
echo -e "${COLOR_SEPARATOR}==================== ${COLOR_PROJECT_NAME}libGFLAGS${COLOR_SEPARATOR} ====================================${COLOR_RESET}"
if [ ! -f "$INSTALL_ROOT/lib/libgflags${DEBUG__DEBUG}.a" ];
then
env_restore
cd "$SOURCES_ROOT"
if [ ! -d "gflags" ];
then
echo -e "${COLOR_INFO}unpacking it${COLOR_DOTS}...${COLOR_RESET}"
eval unzip -o "$PREDOWNLOADED_ROOT/gflags-master.zip"
echo -e "${COLOR_INFO}configuring it${COLOR_DOTS}...${COLOR_RESET}"
cd gflags-master
eval mkdir -p build
cd build
eval "$CMAKE" "${CMAKE_CROSSCOMPILING_OPTS}" -DCMAKE_INSTALL_PREFIX="$INSTALL_ROOT" -DCMAKE_BUILD_TYPE="$TOP_CMAKE_BUILD_TYPE" \
-DBUILD_SHARED_LIBS=OFF \
..
cd ..
else
cd gflags-master
fi
echo -e "${COLOR_INFO}building it${COLOR_DOTS}...${COLOR_RESET}"
cd build
eval "$MAKE" "${PARALLEL_MAKE_OPTIONS}"
eval "$MAKE" "${PARALLEL_MAKE_OPTIONS}" install
cd "$SOURCES_ROOT"
else
echo -e "${COLOR_SUCCESS}SKIPPED${COLOR_RESET}"
fi
fi

#https://github.com/facebook/folly
#[email protected]:facebook/folly.git
#https://github.com/facebook/folly.git
Expand Down

0 comments on commit a4cb9f5

Please sign in to comment.