Skip to content

Commit 36dc0c5

Browse files
author
bingtao.yin
committed
update
1 parent 9276c0b commit 36dc0c5

File tree

9 files changed

+34
-13
lines changed

9 files changed

+34
-13
lines changed

be/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ cmake_minimum_required(VERSION 3.19.2)
1919

2020
project(doris CXX C)
2121

22+
add_compile_options(-Wno-error=attributes)
23+
2224
# Write compile_commands.json
2325
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
2426
# set platforms
@@ -472,7 +474,8 @@ else()
472474
jvm
473475
)
474476
add_library(jvm SHARED IMPORTED)
475-
set_target_properties(jvm PROPERTIES IMPORTED_LOCATION ${LIB_JVM})
477+
# set_target_properties(jvm PROPERTIES IMPORTED_LOCATION ${LIB_JVM})
478+
set_target_properties(jvm PROPERTIES IMPORTED_LOCATION /lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so)
476479
include_directories(${DORIS_JAVA_HOME}/include)
477480
if (NOT OS_MACOSX)
478481
include_directories(${DORIS_JAVA_HOME}/include/linux)

be/cmake/thirdparty.cmake

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ add_thirdparty(arrow_flight_sql LIB64)
110110
add_thirdparty(parquet LIB64)
111111
add_thirdparty(brpc LIB64)
112112
add_thirdparty(rocksdb)
113-
add_thirdparty(cyrus-sasl LIBNAME "lib/libsasl2.a")
113+
add_thirdparty(cyrus-sasl WHOLELIBPATH "/lib/x86_64-linux-gnu/libsasl2.so")
114114
# put this after lz4 to avoid using lz4 lib in librdkafka
115115
add_thirdparty(rdkafka_cpp LIBNAME "lib/librdkafka++.a")
116116
add_thirdparty(rdkafka)
@@ -156,11 +156,11 @@ add_thirdparty(idn LIB64)
156156
add_thirdparty(xml2 LIB64)
157157
add_thirdparty(lzma LIB64)
158158
add_thirdparty(gsasl)
159-
add_thirdparty(krb5support)
160-
add_thirdparty(krb5)
161-
add_thirdparty(com_err)
162-
add_thirdparty(k5crypto)
163-
add_thirdparty(gssapi_krb5)
159+
add_thirdparty(krb5support WHOLELIBPATH "/lib/x86_64-linux-gnu/libkrb5support.so")
160+
add_thirdparty(krb5 WHOLELIBPATH "/lib/x86_64-linux-gnu/libkrb5.so")
161+
add_thirdparty(com_err WHOLELIBPATH "/lib/x86_64-linux-gnu/libcom_err.so")
162+
add_thirdparty(k5crypto WHOLELIBPATH "/lib/x86_64-linux-gnu/libk5crypto.so")
163+
add_thirdparty(gssapi_krb5 WHOLELIBPATH "/lib/x86_64-linux-gnu/libgssapi_krb5.so")
164164
add_thirdparty(streamvbyte LIB64)
165165

166166
if (OS_MACOSX)

be/src/util/byte_stream_split.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include <glog/logging.h>
2121

22+
#include <bit>
2223
#include <array>
2324
#include <cstring>
2425
#include <vector>

bin/start_be.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818

1919
set -eo pipefail
2020

21+
unset http_proxy
22+
unset https_proxy
23+
unset HTTP_PROXY
24+
unset HTTPS_PROXY
25+
unset ALL_PROXY
26+
2127
curdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
2228

2329
MACHINE_OS=$(uname -s)

bin/start_fe.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818

1919
set -eo pipefail
2020

21+
unset http_proxy
22+
unset https_proxy
23+
unset HTTP_PROXY
24+
unset HTTPS_PROXY
25+
unset ALL_PROXY
26+
2127
curdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
2228

2329
if [[ "$(uname -s)" == 'Darwin' ]] && command -v brew &>/dev/null; then

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ fi
151151

152152
eval set -- "${OPTS}"
153153

154-
PARALLEL="$(($(nproc) / 4 + 1))"
154+
PARALLEL="$(($(nproc)))"
155155
BUILD_FE=0
156156
BUILD_BE=0
157157
BUILD_CLOUD=0

thirdparty/build-thirdparty.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -900,10 +900,14 @@ build_librdkafka() {
900900
# As a result, we use a patch to hard code "--static" into PKG_CONFIG instead.
901901
# PKG_CONFIG="pkg-config --static"
902902

903+
# CPPFLAGS="-I${TP_INCLUDE_DIR}" \
904+
# LDFLAGS="-L${TP_LIB_DIR} -lssl -lcrypto -lzstd -lz -lsasl2 \
905+
# -lgssapi_krb5 -lkrb5 -lkrb5support -lk5crypto -lcom_err -lresolv" \
906+
# ./configure --prefix="${TP_INSTALL_DIR}" --enable-static --enable-sasl --disable-c11threads
903907
CPPFLAGS="-I${TP_INCLUDE_DIR}" \
904-
LDFLAGS="-L${TP_LIB_DIR} -lssl -lcrypto -lzstd -lz -lsasl2 \
905-
-lgssapi_krb5 -lkrb5 -lkrb5support -lk5crypto -lcom_err -lresolv" \
906-
./configure --prefix="${TP_INSTALL_DIR}" --enable-static --enable-sasl --disable-c11threads
908+
LDFLAGS="-L${TP_LIB_DIR} -lssl -lcrypto -lzstd -lz \
909+
-lcom_err -lresolv" \
910+
./configure --prefix="${TP_INSTALL_DIR}" --enable-static
907911

908912
make -j "${PARALLEL}"
909913
make install

tools/ssb-tools/conf/doris-cluster.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
# Any of FE host
1919
export FE_HOST='127.0.0.1'
2020
# http_port in fe.conf
21-
export FE_HTTP_PORT=8030
21+
export FE_HTTP_PORT=18030
2222
# query_port in fe.conf
23-
export FE_QUERY_PORT=9030
23+
export FE_QUERY_PORT=19030
2424
# Doris username
2525
export USER='root'
2626
# Doris password

ui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"react": "^16.13.1",
4040
"react-codemirror2": "^7.1.0",
4141
"react-dom": "^16.13.1",
42+
"react-draggable": "^4.4.5",
4243
"react-i18next": "^11.7.2",
4344
"react-resizable": "^1.10.1",
4445
"react-router": "^5.2.0",

0 commit comments

Comments
 (0)