File tree Expand file tree Collapse file tree 9 files changed +34
-13
lines changed
Expand file tree Collapse file tree 9 files changed +34
-13
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ cmake_minimum_required(VERSION 3.19.2)
1919
2020project (doris CXX C)
2121
22+ add_compile_options (-Wno-error=attributes)
23+
2224# Write compile_commands.json
2325set (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)
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ add_thirdparty(arrow_flight_sql LIB64)
110110add_thirdparty(parquet LIB64)
111111add_thirdparty(brpc LIB64)
112112add_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
115115add_thirdparty(rdkafka_cpp LIBNAME "lib/librdkafka++.a" )
116116add_thirdparty(rdkafka)
@@ -156,11 +156,11 @@ add_thirdparty(idn LIB64)
156156add_thirdparty(xml2 LIB64)
157157add_thirdparty(lzma LIB64)
158158add_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" )
164164add_thirdparty(streamvbyte LIB64)
165165
166166if (OS_MACOSX)
Original file line number Diff line number Diff line change 1919
2020#include < glog/logging.h>
2121
22+ #include < bit>
2223#include < array>
2324#include < cstring>
2425#include < vector>
Original file line number Diff line number Diff line change 1818
1919set -eo pipefail
2020
21+ unset http_proxy
22+ unset https_proxy
23+ unset HTTP_PROXY
24+ unset HTTPS_PROXY
25+ unset ALL_PROXY
26+
2127curdir=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd) "
2228
2329MACHINE_OS=$( uname -s)
Original file line number Diff line number Diff line change 1818
1919set -eo pipefail
2020
21+ unset http_proxy
22+ unset https_proxy
23+ unset HTTP_PROXY
24+ unset HTTPS_PROXY
25+ unset ALL_PROXY
26+
2127curdir=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd) "
2228
2329if [[ " $( uname -s) " == ' Darwin' ]] && command -v brew & > /dev/null; then
Original file line number Diff line number Diff line change 151151
152152eval set -- " ${OPTS} "
153153
154- PARALLEL=" $(( $(nproc) / 4 + 1 )) "
154+ PARALLEL=" $(( $(nproc)) )"
155155BUILD_FE=0
156156BUILD_BE=0
157157BUILD_CLOUD=0
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1818# Any of FE host
1919export 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
2525export USER='root'
2626# Doris password
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments