Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Sep 22, 2023
1 parent 0d20a61 commit cf22b30
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -445,22 +445,18 @@ fi
# Assesmble FE modules
FE_MODULES=''
BUILD_DOCS='OFF'
modules=("")
modules=("fe-common")
if [[ "${BUILD_FE}" -eq 1 ]]; then
modules+=("fe-common")
modules+=("fe-core")
BUILD_DOCS='ON'
fi
if [[ "${BUILD_SPARK_DPP}" -eq 1 ]]; then
modules+=("fe-common")
modules+=("spark-dpp")
fi
if [[ "${BUILD_HIVE_UDF}" -eq 1 ]]; then
modules+=("fe-common")
modules+=("hive-udf")
fi
if [[ "${BUILD_BE_JAVA_EXTENSIONS}" -eq 1 ]]; then
modules+=("fe-common")
modules+=("be-java-extensions/hudi-scanner")
modules+=("be-java-extensions/java-common")
modules+=("be-java-extensions/java-udf")
Expand Down Expand Up @@ -617,6 +613,11 @@ if [[ "${BUILD_FE}" -eq 1 ]]; then
mkdir -p "${DORIS_OUTPUT}/fe/log"
mkdir -p "${DORIS_OUTPUT}/fe/doris-meta"
mkdir -p "${DORIS_OUTPUT}/fe/conf/ssl"

# make idea happy: start doris-fe from idea
mv "${DORIS_HOME}/fe/fe-core/target/generated-sources/annotations/*" "${DORIS_HOME}/fe/fe-core/target/generated-sources"
mv "${DORIS_HOME}/fe/fe-core/target/generated-sources/cup/*" "${DORIS_HOME}/fe/fe-core/target/generated-sources"
cp "${DORIS_OUTPUT}/fe/lib/help-resource.zip" "${DORIS_HOME}/fe/target/classes/"
fi

if [[ "${BUILD_SPARK_DPP}" -eq 1 ]]; then
Expand Down

0 comments on commit cf22b30

Please sign in to comment.